RigPerDollar

Best local LLM for 8GB VRAM: what fits and how fast

Which local LLMs fit an 8GB VRAM card like the RTX 5060 or RTX 4060, how much context each one gets, their estimated speeds, and when 8 GB is too small.

Updated · By RigPerDollar

As an Amazon Associate I earn from qualifying purchases. Some links on this page are affiliate links.

Short answer

With 8GB VRAM, an RTX 5060, RTX 5060 Ti 8GB or RTX 4060 runs models with Q4 files up to about 6 GB entirely on the card, such as Qwen3.5-9B, Gemma 4 E4B, Granite 4.2 8B and LFM2.5-8B-A1B. For models that size, 8 GB is enough. Bigger ones need more: under our fit rule Gemma 4 12B needs 8.7 GB, phi-4 10.6 GB and gpt-oss-20b 13.2 GB.

What the numbers mean

VRAM is the memory on your graphics card. The model file and its working memory both have to fit there. Context is how much text the model can hold at once, counted in tokens (pieces of words). Tok/s means tokens per second, or how fast the model writes. Every speed here is a RigPerDollar estimate for llama.cpp (a popular open-source program for running models locally) at short context. Our target is to land within about 15% either way of a measured result. We rank models by fit, context and estimated speed, and cards by estimated speed per dollar. We don’t test how good a model’s answers are.

Models that fit an 8 GB card

File sizes are Q4 GGUF files unless noted. Q4 is a compressed format that shrinks a model so it needs less memory. By our fit rule, a model fits when its file plus 1.5 GB of headroom fits in VRAM, and at least 4K tokens of context with an 8-bit cache still fit after that. Context numbers assume 1 GB is kept back for the runtime.

Each context cell shows two numbers. The first uses the default FP16 cache. The second uses an 8-bit (q8_0) cache, which stores the model’s working memory in a smaller format, so more context fits. The RTX 5060 and the RTX 5060 Ti 8GB both have 448 GB/s of memory bandwidth, so their estimates are the same and share one column.

ModelQ4 fileContext on 8 GB (FP16 / 8-bit)Est. tok/s, RTX 5060 or 5060 Ti 8GBEst. tok/s, RTX 4060
NVIDIA Nemotron 3.5 Bolt E4B6.18 GB46K / full 64K5937
Qwen3.5-9B6.17 GB24K / 46K5234
Ternary Bonsai 2 27B5.95 GB15K / 29K5335
Xiaomi MiMo-V2.6-Distill-Qwen-9B5.84 GB34K / 65K5436
ZoomGain-9B5.63 GB40K / 76K5637
K2-Horizon-7B5.59 GB9K / 17K6541
IBM Granite 4.2 8B5.35 GB9K / 18K6842
LFM2.5-8B-A1B5.16 GBfull 128K / full 128K156126
Gemma 4 E4B4.98 GB117K / full 128K7245

Some notes on the list:

  • Nemotron 3.5 Bolt E4B is NVIDIA’s model built on Gemma 4 E4B. It takes text, images and audio. NVIDIA’s Q4_K_M file comes from a repo named “4GB”, but the file itself is 6.18 GB. The fit leaves out the separate vision file, which adds up to 0.99 GB if you send images.
  • LFM2.5-8B-A1B is a mixture-of-experts (MoE) model. An MoE model has many parts, and only a few of them run for each token. It has 8.3B parameters in total and 1.5B active, per its model card, which is why its estimate is so high.
  • Ternary Bonsai 2 27B is PrismML’s ternary version of Qwen3.8-27B, at 1.75 bits per weight. No Q4 build exists, so the size is its own file. It needs PrismML’s fork of llama.cpp, because stock llama.cpp rejects these files.
  • MiMo-V2.6-Distill-Qwen-9B is a fine-tune of Qwen3.5-9B. Its fit leaves out a 0.92 GB vision file.
  • ZoomGain-9B is inclusionAI’s vision-language model, trained from Qwen3.5-9B for fine-grained image detail. Its fit leaves out a 0.92 GB vision file. Its model page notes that Hugging Face states no license for its weights.
  • Gemma 4 E4B has 4.5B effective parameters (8B with embeddings), per its model card.
  • Microsoft Fara1.5 9B (5.91 GB) also fits. It is a computer-use agent for web browsers, so we left it out of the table.

The RTX 4060 has 272 GB/s, about 60% of the 5060’s bandwidth. Its estimates trail most on dense models, where every token reads the whole file. On LFM2.5-8B-A1B, which reads a small share of its file per token, the gap shrinks to 126 against 156 tok/s.

Smaller models fit with lots of context too: Spark-X2.6-4B (3.54 GB), Gemma 4 E2B (3.46 GB), Qwen3.5-4B (3.01 GB), NVIDIA Nemotron 3 Nano 4B (2.9 GB), Granite 4.2 3B (2.24 GB), Ternary Bonsai 2 9B (2 GB, also on PrismML’s fork), LFM3-1.7B (1.1 GB) and MiniCPM-V 4.7 1B (0.67 GB). KRAFTON’s Raon-1 nano (2.08 GB) fits on its weights, but only KRAFTON’s own llama.cpp fork can load it for now, and its context is unknown because we have no KV cache data for it. Some older models the site now marks as superseded also fit, such as Qwen3-8B (5.03 GB, 13K / 24K), Llama-3.1-8B-Instruct (4.92 GB, 15K / 29K) and Qwen2.5-Coder-7B-Instruct (4.68 GB, full 32K).

Why context varies so much on 8 GB

Of the 8 GB, about 1 GB goes to the runtime and the model file takes its share. The KV cache gets what is left. The KV cache is the notes a model keeps on every token it has read, so it can refer back to them. It grows with every token of context, and how many bytes each token costs depends on the model’s design. These figures come from each model’s config.json, at FP16:

ModelKV cache per tokenQ4 fileContext at FP16 on 8 GB
IBM Granite 4.2 8B163,840 bytes5.35 GB9K
K2-Horizon-7B147,456 bytes5.59 GB9K
NVIDIA Nemotron 3.5 Bolt E4B16,384 bytes (global layers)6.18 GB46K
Gemma 4 E4B16,384 bytes (global layers)4.98 GB117K
LFM2.5-8B-A1B12,288 bytes5.16 GBfull 128K

Granite 4.2 8B keeps a full cache on all 40 of its layers, and K2-Horizon-7B on all 36. Of Gemma 4 E4B’s 42 layers, only 4 global layers keep a cache that grows with context. Its 20 sliding-window layers only remember the last 512 tokens, and the other 18 reuse caches from earlier layers. LFM2.5-8B-A1B is a hybrid in which only 6 attention layers keep a KV cache.

Nemotron 3.5 Bolt E4B shares Gemma 4 E4B’s layout, so each token costs the same. Its file is 1.2 GB bigger, though, and on an 8 GB card that leaves far less room, so it gets 46K to Gemma’s 117K. On a small card, both the file size and the per-token cost decide how much context you get.

Larger models that don’t fit 8 GB

These need more than 8 GB under the fit rule. The last column shows how far short they fall.

ModelQ4 fileShort by
Gemma 4 12B7.12 GB0.7 GB
JetBrains Mellum2.1 12B-A2.5B Thinking8.07 GB1.6 GB
Microsoft phi-49.05 GB2.6 GB
gpt-oss-20b11.67 GB5.2 GB
Mistral Small 3.2 24B / Devstral Small14.33 GB7.9 GB
Qwen3.6-35B-A3B22.29 GB15.8 GB

Gemma 4 12B is the closest miss. Its file is smaller than 8 GB, but with the 1.5 GB of headroom and room for 4K tokens of context, it needs 8.7 GB under our fit rule. Among older models, NVIDIA-Nemotron-Nano-9B-v2 (6.53 GB) misses by just 0.1 GB. The site marks it as superseded by Nemotron 3 Nano 4B, which fits.

You can push part of a model into system RAM. That runs much slower than on the card. My Rig shows which models could run that way once you enter your RAM, but the site doesn’t estimate that speed yet.

Which 8 GB card to buy

The site’s speed estimates start from memory bandwidth, which is how fast the card can read its own memory. The table uses Qwen3.5-9B as the test model, since it fits all three cards.

CardPrice (Nov 2, 2026)BandwidthEst. tok/s, Qwen3.5-9B$ per est. tok/s
RTX 5060$410 new448 GB/s52$7.88
RTX 5060 Ti 8GB$450 new448 GB/s52$8.65
RTX 4060we have no price272 GB/s34n/a

Both prices are the lowest in-stock Newegg listings on Nov 2, 2026, from picksbycard’s daily read. The average listings that day were $550 for the RTX 5060 and $809 for the RTX 5060 Ti 8GB.

The RTX 5060 gives the most estimated speed per dollar of the two cards we have prices for. The RTX 5060 Ti 8GB costs $40 more, with the same memory and the same bandwidth, so our estimates are the same on every model. The RTX 4060 fits the same models with less bandwidth. Our price data has no listing for it.

The 8 GB card with the highest speed estimate in our catalog is the RTX 3070 Ti, with 608 GB/s and an estimated 66 tok/s on Qwen3.5-9B. Our price data has no listing for it either.

You can see every model’s fit, context and estimated speed on one card with the My Rig page set to an RTX 5060.

When 8 GB stops being enough

Eight GB stops being enough when you want a 12B or bigger model at Q4, gpt-oss-20b, or long context on a dense 8B model like Granite 4.2 8B, which gets 9K by default.

The RTX 5060 Ti 16GB was $780 new on Nov 2, 2026, against $450 for the 8 GB version. That is $330 more for twice the memory. Both have 448 GB/s, so on a model that fits both, the estimate is the same: 52 tok/s on Qwen3.5-9B. The extra memory adds room for bigger models and longer context. On 16 GB:

Model on RTX 5060 Ti 16GBContext (FP16 / 8-bit)Est. tok/s
gpt-oss-20bfull 128K / full 128K147
JetBrains Mellum2.1 12B-A2.5B Thinkingfull 128K / full 128K169
Gemma 4 12Bfull 256K / full 256K52
Microsoft phi-4full 16K / full 16K41
Qwen3.5-9Bfull 256K / full 256K52

Mistral Small 3.2 and Devstral Small also fit 16 GB, but only just, with 3K / 7K of context. The cheapest 16 GB card we price is the AMD Radeon RX 9070 at $570 new on the same date, with 640 GB/s and an estimated 154 tok/s on gpt-oss-20b. Our 16GB vs 24GB vs 32GB guide covers the bigger sizes.

The cheaper step is a used RTX 3060 12GB. On Nov 2, 2026, gpusold.com tracked 295 completed US eBay sales over 14 days, with a typical range of $305 to $349 and a median of $330. That puts its low end below the $410 RTX 5060. It has less bandwidth (360 GB/s), so it estimates 43 tok/s on Qwen3.5-9B against the 5060’s 52. But it fits Gemma 4 12B (201K / full 256K, 42 tok/s), Mellum2.1 (full 128K, 144 tok/s) and phi-4 (9K / full 16K, 34 tok/s). Our 12 GB guide has the full list.

A measured run at this bandwidth

Our calibration data holds one published llama.cpp result at this bandwidth. On the llama.cpp CUDA scoreboard, a GitHub discussion, a result dated Aug 2, 2025 measured 90.94 tok/s writing on an RTX 5060 Ti (448 GB/s, the same bandwidth as the RTX 5060). It used Llama 2 7B at Q4_0, a 3.82 GB file, with flash attention turned off, per our calibration notes.

This is someone else’s measurement, and it is one of the results we used to tune our speed estimates, so it isn’t an independent check. Llama 2 7B is also an older model that isn’t in the table above.

What we haven’t verified

  • Every speed in this guide is an estimate. Our speed constants are fitted to published llama.cpp results. One of them is from an RTX 5060 Ti (448 GB/s), and our data doesn’t record whether it was the 8 GB or 16 GB card. None is from an RTX 5060 or RTX 4060.
  • The estimates are for short context. Speeds fall as the context fills, often by 20% or more by 8K tokens, as our methodology explains.
  • We have no price for the RTX 4060 or the RTX 3070 Ti.
  • Prices are a single day’s listings and sales. They change often.
  • The fits leave out vision files for models that take images, such as Nemotron 3.5 Bolt E4B and MiMo-V2.6-Distill-Qwen-9B.
  • We have not run the Ternary Bonsai models on PrismML’s fork.
  • We don’t test answer quality, so this list doesn’t say which model gives better answers.