llamaperf

llama.cpp on the NVIDIA RTX 4090

On the NVIDIA RTX 4090, llama.cpp runs Qwen3.8 27B at 4-bit at a median 31.5 tokens per second for generation, from 2 plain runs (128K to 194K context).

Speed by model on the NVIDIA RTX 4090

Plain runs only: one device, one request, no speculative decoding, the whole model in memory. Each row is one model size at one bit class, with the other engines' plain runs of the same model on this card beside it. Context length and build still differ between runs, and each side shows its own.

Modelllama.cppOther engines
Qwen3.8 27B 4-bit31.5 t/smedian of 2, 128K to 194K contextno other engine reported
Gemma 4 26B · 4B active 5-bit129.0 t/sone report, 256K contextno other engine reported
Qwen2.5 7B 4-bit158.9 t/sone report, context not statedno other engine reported

14 llama.cpp reports on the NVIDIA RTX 4090

Newest first. A run on several cards, with speculative decoding, with part of the model in system RAM or with batched requests says so, since each describes a different setup.

Filter these reports on the homepage

Frequently asked

How fast is llama.cpp on the NVIDIA RTX 4090?

On the NVIDIA RTX 4090, llama.cpp runs Qwen3.8 27B at 4-bit at a median 31.5 tokens per second for generation, from 2 plain runs (128K to 194K context).