Benchmarks › RTX 4060

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.

ModelFilepp512tg128pp512 @ d4096tg128 @ d4096VRAM peak
Llama 3.1 8B InstructQ4_K_Mbartowski/Meta-Llama-3.1-8B-Instruct-GGUFMeta-Llama-3.1-8B-Instruct-Q4_K_M.gguf2531.39 ± 21.1850.21 ± 0.162196.32 ± 21.3943.55 ± 1.746,427 / 1,090 MiB
Qwen2.5 7B InstructQ4_K_Mbartowski/Qwen2.5-7B-Instruct-GGUFQwen2.5-7B-Instruct-Q4_K_M.gguf2800.10 ± 12.2653.29 ± 0.072437.63 ± 36.3049.59 ± 0.085,950 / 1,100 MiB
Qwen3 8BQ4_K_Munsloth/Qwen3-8B-GGUFQwen3-8B-Q4_K_M.gguf2557.96 ± 5.4149.82 ± 0.012143.50 ± 33.9344.14 ± 0.086,570 / 1,079 MiB
Mistral 7B Instruct v0.3Q4_K_Mbartowski/Mistral-7B-Instruct-v0.3-GGUFMistral-7B-Instruct-v0.3-Q4_K_M.gguf2571.16 ± 18.6353.46 ± 0.352171.61 ± 29.5347.24 ± 0.775,970 / 1,058 MiB
DeepSeek-R1-Distill-Qwen 7BQ4_K_Munsloth/DeepSeek-R1-Distill-Qwen-7B-GGUFDeepSeek-R1-Distill-Qwen-7B-Q4_K_M.gguf2775.82 ± 31.5152.61 ± 0.772413.49 ± 27.0549.42 ± 0.145,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

GPUNVIDIA GeForce RTX 4060 8GB (8188 MiB), driver 610.88
CPU / RAM / OSIntel Core i7-14700F, 128 GB DDR5, Windows 11
llama.cppb12957 (commit c1d374661), official Windows CUDA 12.4 build
Commandllama-bench -m <file> -ngl 99 -p 512 -n 128 -d 0,4096 -r 3 -t 4 -o json
Quant and cacheQ4_K_M GGUF files, FP16 (llama-bench default), flash attention auto (llama-bench default)
WhenDecember 3, 2026, 7:59–8:17 a.m. Pacific Time
Other loadARK 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.

Command Prompts window titled LLAMA-BENCH-WIN showing the llama-bench markdown results table for Llama 3.1 8B Instruct Q4_K_M, build c1d374661 (12957)
llama-bench table from the 8:21 a.m. PT repeat of Llama 3.1 8B Instruct Q4_K_M: pp512 2561.55 ± 6.56, tg128 50.84 ± 0.06, pp512 @ d4096 2190.16 ± 46.21, tg128 @ d4096 45.69 ± 0.05 tokens/s, -ngl 99, 4 threads, build c1d374661 (12957). Official numbers for this model are the 7:59 a.m. JSON run in the table above.
Command Prompt window running nvidia-smi during the 8:21 a.m. repeat: RTX 4060, driver 610.88, 99% GPU utilization, 6467 of 8188 MiB used, 50 °C
nvidia-smi during the 8:21 a.m. PT repeat, first mid-run sample: GeForce RTX 4060, driver 610.88, 99% GPU utilization, 6,467 of 8,188 MiB used, 50 °C. Power draw shows [N/A] because this driver did not report it. The window title includes a one-second ping delay used to refresh the display.
nvidia-smi during the same 8:21 a.m. repeat: 99% GPU utilization, 6410 of 8188 MiB used, 51 °C
A second mid-run nvidia-smi sample from the same 8:21 a.m. PT repeat: 99% GPU utilization, 6,410 of 8,188 MiB, 51 °C.
nvidia-smi after llama-bench exited: 2% GPU utilization and 1117 of 8188 MiB used
After llama-bench exited, at 8:22 a.m. PT: 2% GPU utilization and 1,117 MiB used. The model was unloaded.

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

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.