The steps are based on Hugging Face's and llama.cpp's official documentation, read on 25 November 2026.
Downloading a local AI model only to find it won't fit on your graphics card wastes time and bandwidth: a single model file can run to 16GB or more. Hugging Face, the site most local AI apps download their models from, has a Hardware setting that fixes this. Tell it which GPU, CPU or Apple Silicon chip you own, and model pages with GGUF or MLX files show a Hardware compatibility panel that estimates whether each version of the model will run on your setup.
This guide shows you how to set it up, how to read it and how to double-check the answer. If you're new to downloading models, start with our guide to downloading models from Hugging Face.
What you need
A free Hugging Face account.
The model and memory size of your graphics card. If you're not sure, our guide to checking VRAM usage in Windows shows where to find it.
How much system RAM you have, if you also want to add your CPU.
Step 1: Add your hardware to Hugging Face
Sign in to Hugging Face and open your Hardware settings at huggingface.co/settings/hardware.
Pick a type: GPU, CPU or Apple Silicon.
Choose the provider and model, for example NVIDIA RTX 4090.
Set the memory (VRAM for a graphics card, RAM for a CPU, or unified memory for Apple Silicon) and the number of units you have. Enter 2 if you run two identical cards.
Repeat for anything else you own. If you add several items, mark one as your primary hardware so it appears first on model pages.
Privacy note: Hugging Face makes your hardware public by default, and it appears on your public profile. Turn off the Publicly Visible toggle if you'd rather keep it private. While your hardware is public, Hugging Face also shows a TFLOPS badge on your profile, summarising its estimate of your total compute power.
Step 2: Open a model page and read the panel
Search for the model you want and open a repository that offers GGUF files (the format used by llama.cpp, Ollama, LM Studio and Jan) or MLX files (for Apple Silicon Macs). Our GGUF vs Safetensors explainer covers the difference between formats.
On those pages, the Hardware compatibility panel lists the model's quantisations and estimates whether each one will run on your saved hardware. Quantisations are the smaller, compressed versions of a model, with names such as Q4_K_M or Q8_0. Our GGUF quantisation explainer explains what those labels mean.
A sensible way to use it:
Pick the largest quantisation that fits comfortably. Higher-bit versions are generally closer in quality to the original model, but use more memory.
Don't automatically pick the biggest one that only just fits. You also need room for the model's context, as explained below.
If nothing fits on your GPU, try a smaller model, or see our guide to running MoE models on low VRAM with llama.cpp, which uses system RAM to help.
Step 3: Sanity-check with the file sizes
Hugging Face describes the panel as an estimate, so it's worth a quick check of your own. Open the repository's Files tab and look at the size of the file you plan to use. As an example, Unsloth's Qwen3-8B GGUF repository lists these sizes:
File | Size on Hugging Face |
|---|
Qwen3-8B-Q4_K_M.gguf | 5.03GB |
Qwen3-8B-Q6_K.gguf | 6.73GB |
Qwen3-8B-Q8_0.gguf | 8.71GB |
Qwen3-8B-BF16.gguf | 16.39GB |
Our rule of thumb: the file should be noticeably smaller than your VRAM, not just smaller. The model needs extra memory for its context (the KV cache), which grows as conversations get longer, and the app itself and Windows use some VRAM too. On a 12GB card, for example, the 8.71GB Q8_0 file leaves roughly 3GB for context, the app and Windows to share, while the 16.39GB BF16 file can't fit at all. Our guide to how context length uses VRAM explains how much room you need.
Step 4: Download it with your app
Hugging Face's Local Apps feature turns the result into a download in a couple of clicks. Enable the apps you use in your Local Apps settings, then open the Use this model menu on the model page. Hugging Face only shows an app in that menu when the model is compatible with it, for example a GGUF model for llama.cpp or Ollama. Supported apps include llama.cpp, LM Studio, Jan, Ollama, vLLM and Lemonade, and for llama.cpp the menu gives you a command to copy and run.
If you use LM Studio, our guide to choosing models in LM Studio covers its built-in model browser, which is an alternative route.
If you use llama.cpp directly, it can check the fit against the memory that's actually free on your card. llama.cpp's binaries can automatically fit a model's projected memory use to the free device memory at runtime, using the options that start with --fit. According to llama.cpp's server documentation, --fit is on by default: it adjusts settings you haven't set yourself, aims to leave a margin of 1024MiB free on each device, and won't go below a context size of 4,096 tokens.
To see what it would do without loading the model into a chat, run the llama-fit-params tool on the downloaded file:
llama-fit-params --model Qwen3-8B-Q8_0.gguf
It prints the projected memory use against the free memory on your card, then the command-line settings it would use, such as the context size (-c) and the number of layers on the GPU (-ngl). If those settings only work with a small context or with layers moved to the CPU, try the next quantisation down. Our guide to running llama.cpp on Windows covers installing it.
Our verdict
Adding your graphics card in Hugging Face's Hardware settings takes a couple of minutes and gives you a Hardware compatibility panel on GGUF and MLX model pages that estimates which quantisations will run on your PC. Treat it as a first check: leave room for context on top of the file size, and if you use llama.cpp, run llama-fit-params on the file for a second opinion. Remember to switch off the Publicly Visible toggle if you don't want your hardware shown on your profile.