Measured · 2026-12-03
Measured on a real RTX 4060
We measured five popular 7B–8B models at Q4_K_M on our own test PC — an GeForce RTX 4060 8GB, Intel Core i7-14700F and 128 GB of DDR5, running Windows 11 — with llama.cpp. Every number on this page comes from those runs. We have not invented any of them.
The card is a current, ordinary 8 GB GeForce. If you're shopping for one, you can check RTX 4060 cards on Amazon.
Affiliate link. As an Amazon Associate, we earn from qualifying purchases. You won't pay more. Disclosure.
How to read the table
Prompt processing (pp) is the model reading the text you already typed — here, 512 tokens. It's usually much faster than writing, because the GPU can chew through the prompt in batches. Text generation (tg) is the model writing new tokens — here, 128 of them after that prompt. That's the tokens-per-second figure people mean when they ask how fast a card feels in a chat.
We also ran the same tests with a 4,096-token prefilled context (written as @ d4096). That is closer to a mid-length chat: the model already has a long history in memory, so each new token has more cache to read and generation slows a little. These are not 8K-context speeds, and we don't pretend they are.
Results
Mean tokens/s ± standard deviation over 3 repetitions. All five models ran fully on the GPU (-ngl 99). ARK game servers were running in the background on the same PC.
| Model | File | pp512 | tg128 | pp512 @ d4096 | tg128 @ d4096 | VRAM peak |
|---|---|---|---|---|---|---|
| Llama 3.1 8B InstructQ4_K_M | bartowski/Meta-Llama-3.1-8B-Instruct-GGUFMeta-Llama-3.1-8B-Instruct-Q4_K_M.gguf | 2531.39 ± 21.18 | 50.21 ± 0.16 | 2196.32 ± 21.39 | 43.55 ± 1.74 | 6,427 / 1,090 MiB |
| Qwen2.5 7B InstructQ4_K_M | bartowski/Qwen2.5-7B-Instruct-GGUFQwen2.5-7B-Instruct-Q4_K_M.gguf | 2800.10 ± 12.26 | 53.29 ± 0.07 | 2437.63 ± 36.30 | 49.59 ± 0.08 | 5,950 / 1,100 MiB |
| Qwen3 8BQ4_K_M | unsloth/Qwen3-8B-GGUFQwen3-8B-Q4_K_M.gguf | 2557.96 ± 5.41 | 49.82 ± 0.01 | 2143.50 ± 33.93 | 44.14 ± 0.08 | 6,570 / 1,079 MiB |
| Mistral 7B Instruct v0.3Q4_K_M | bartowski/Mistral-7B-Instruct-v0.3-GGUFMistral-7B-Instruct-v0.3-Q4_K_M.gguf | 2571.16 ± 18.63 | 53.46 ± 0.35 | 2171.61 ± 29.53 | 47.24 ± 0.77 | 5,970 / 1,058 MiB |
| DeepSeek-R1-Distill-Qwen 7BQ4_K_M | unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUFDeepSeek-R1-Distill-Qwen-7B-Q4_K_M.gguf | 2775.82 ± 31.51 | 52.61 ± 0.77 | 2413.49 ± 27.05 | 49.42 ± 0.14 | 5,975 / 1,082 MiB |
VRAM peak is the highest nvidia-smi reading we sampled about every 4 seconds during the run, so it is a lower bound, shown against the VRAM already in use before the run (around 1.1 GB for the desktop and other apps). The jump over that baseline was larger than each model file, which is how we confirmed the weights were fully on the GPU. After each run the process exited and VRAM returned to about 1.1 GB.
Download the same table: CSV or JSON.
Test conditions
| GPU | NVIDIA GeForce RTX 4060 8GB (8188 MiB), driver 610.88 |
|---|---|
| CPU / RAM / OS | Intel Core i7-14700F, 128 GB DDR5, Windows 11 |
| llama.cpp | b12957 (commit c1d374661), official Windows CUDA 12.4 build |
| Command | llama-bench -m <file> -ngl 99 -p 512 -n 128 -d 0,4096 -r 3 -t 4 -o json |
| Quant and cache | Q4_K_M GGUF files, FP16 (llama-bench default), flash attention auto (llama-bench default) |
| When | December 3, 2026, 7:59–8:17 a.m. Pacific Time |
| Other load | ARK game servers were running in the background. llama-bench used 4 threads at below-normal priority. CPU peaked at 27–40%. |
Screenshots
These four shots are from a separate repeat of Llama 3.1 8B Instruct Q4_K_M, started at 8:21 a.m. Pacific Time on December 3, 2026, with the same command as the table (markdown output this time, so the tokens/s table would be visible). The tokens/s in the screenshot are from that repeat, so they differ slightly from the official row above, which comes from the earlier JSON run at 7:59 a.m. Game servers were still running. The windows were captured by their own bounds; we cropped a few stray desktop pixels at the edges.




Coming next
These models are queued for the next run on the same PC. We do not have measured numbers for them yet, so we are not showing any.
- Llama 3.1 8B Instruct Q8_0 (partial offload: the 8.5 GB file does not fit fully in 8 GB of VRAM)
- Gemma 3 12B Instruct Q4_K_M
- Qwen3 14B Q4_K_M (partial offload)
- DeepSeek-R1-Distill-Qwen 14B Q4_K_M (partial offload)
- Qwen3 32B Q4_K_M (partial offload)
Methodology
Each file was downloaded from the Hugging Face repo listed above (bartowski or unsloth GGUF builds) and checked against a known byte size before the run. We used the official llama.cpp Windows CUDA 12.4 build b12957 (commit c1d374661) and the matching CUDA runtime zip. The driver was NVIDIA 610.88.
The command was llama-bench -m <file> -ngl 99 -p 512 -n 128 -d 0,4096 -r 3 -t 4 -o json. -ngl 99 means every layer is placed on the GPU; we did not use llama-bench's memory-fit flags. KV cache stayed at the default FP16, and flash attention was left on auto. We recorded the raw JSON and the standard error log for each model.
We sampled CPU use and nvidia-smi memory during each run and would have stopped if CPU had stayed above about 70%, so the game servers would not be starved. It never was. After the last JSON run, the GPU was idle again, with no llama-bench process left running.
What this page does not claim: we did not measure quality, perplexity, or any other GPU. We did not measure Llama 3.1 8B at Q8_0, or any 12B, 14B or 32B model — those need partial offload on 8 GB, and we are leaving them for a later window. We did not measure Ollama or LM Studio. Two of the five files, Qwen2.5 7B Instruct and DeepSeek-R1-Distill-Qwen 7B, are not yet in our model catalog, so they appear here and not on a model page.
The site's estimated speeds, including on the RTX 4060 GPU page for every other model, still use the published formulas and stay labelled as estimates.
Related
- What the RTX 4060 can run — memory fit for every model we track, with these measured speeds marked where they apply.
- VRAM calculator — how much memory a model needs at a given quant and context.
- Best local LLMs by VRAM and best GPU by budget.
- Ollama vs LM Studio vs llama.cpp — we used llama.cpp's llama-bench for these runs.
- Run DeepSeek locally — includes the Distill-Qwen 7B result above.
Frequently asked questions
What do pp and tg mean?
Prompt processing (pp) is how fast the model reads the text you already typed, measured here as 512 tokens. Text generation (tg) is how fast it writes new tokens, measured here as 128 tokens after that prompt. Chat speed, the number people usually mean by tokens per second, is the generation figure.
Were the game servers running?
Yes. ARK servers were running on the same PC during every run on this page. CPU use peaked between 27% and 40%, and llama-bench used 4 threads at below-normal priority so those servers were not starved. Later runs on a quiet machine may differ; we will label those separately if we publish them.
Why is this different from the estimate on the GPU page?
The estimate is a formula from memory bandwidth and an 8K context. These measurements used a 512-token prompt and 128 generated tokens, and a second pass with a 4,096-token prefilled context. We show the measured generation speed in tables for these models on the RTX 4060, marked measured, and leave every other speed as an estimate.