llama.cpp on the NVIDIA RTX 5090
On the NVIDIA RTX 5090, llama.cpp runs Qwen3.8 27B at 4-bit at a median 84.2 tokens per second for generation, from 3 plain runs (40K to 120K context, 1 not stated).
Speed by model on the NVIDIA RTX 5090
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.
| Model | llama.cpp | Other engines |
|---|---|---|
| Qwen3.8 27B 4-bit | 84.2 t/smedian of 3, 40K to 120K context, 1 not stated | TensorSharp 80.0 t/sone report, 40K context vLLM 73.2 t/sone report, context not stated |
| Qwen3 30B · 3B active 4-bit | 215.6 t/smedian of 2, 125K context, 1 not stated | no other engine reported |
| Gemma 4 26B · 4B active 4-bit | 243.9 t/sone report, context not stated | vLLM 267.4 t/sone report, context not stated |
| Inkling 2 Mini 26B · 3.4B active 6-bit | 101.0 t/sone report, context not stated | no other engine reported |
| LFM2.5 8B · 1B active 8-bit | 563.1 t/sone report, context not stated | no other engine reported |
| Qwen3.5 27B 4-bit | 30.1 t/sone report, 1K context | no other engine reported |
| Qwen3.5 35B · 3B active 4-bit | 194.0 t/sone report, context not stated | no other engine reported |
| Qwen3.6 35B · 3B active 4-bit | 215.1 t/sone report, context not stated | no other engine reported |
| Qwen3.8 27B 6-bit | 58.1 t/sone report, 32K context | no other engine reported |
46 llama.cpp reports on the NVIDIA RTX 5090
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. Prompt processing is how fast the input is read, not how long you wait for the first word. How to measure time to first token.
- Inkling 2 Mini 26B · 3.4B active · AD-Q6_K101.0 t/s
- Qwen3 30B · 3B active · Q4_K_M79.2 t/s
- Model not identified · 1.8-bit565.0 t/s
- Qwen3.8 27B · Q4_K_M170.7 t/s(speculative decoding)
- Qwen3.8 27B · NVFP484.2 t/s
- Qwen3.8 27B · Q6_K100.0 t/s(speculative decoding)
- Nemotron 3.5 74B · 9B active · IQ2_XXS343.0 t/s(speculative decoding)
- Qwen3.5 27B · Q4_K_M30.1 t/s
- Qwen3.8 27B · Q4_K_M136.7 t/s
- Qwen3.8 27B · UD-Q4_K_XL701.2 t/s(speculative decoding)
- LFM2.5 8B · 1B active · Q8_0563.1 t/s
- Qwen3 30B · 3B active · Q4_K_M352.1 t/s
- Qwen3.8 27B · IQ4_XS94.0 t/s
- GLM-5.3 320B · 18B active · IQ4_XS22.0 t/s(2 cards, speculative decoding, part in system RAM)
- Qwen3.8 27B · NVFP4148.0 t/s(speculative decoding)
- Qwen3.8 27B · Q4_K_M68.0 t/s
- Qwen3.8 27B · Q6_K143.0 t/s
- Qwen3.8 125B · 6B active · UD-Q2_K_XL48.0 t/s(part in system RAM)
- Qwen3.8 27B · UD-Q6_K_XL98.0 t/s(speculative decoding)
- DeepSeek V4.1 Flash 552B · 16B active · MXFP45.1 t/s(part in system RAM)
- Qwen3.5 35B · 3B active · Q4_K_XL194.0 t/s
- Qwen3.8 125B · 6B active · UD-Q4_K_XL20.0 t/s(part in system RAM)
- Qwen3.8 125B · 6B active · Q4_K_M40.0 t/s(part in system RAM)
- Qwen3.8 27B · Q6_K97.9 t/s(speculative decoding)
- Qwen3.8 125B · 6B active · Q2PP 3000.0 t/s(2 cards)
- Muse 30B · UD-Q5_K_M253.0 t/s(speculative decoding)
- DeepSeek V4 Flash 284B · 13B active · mixed Q8/Q4/Q213.7 t/s(part in system RAM)
- DeepSeek V4 Flash 284B · 13B active · Q2_K21.3 t/s(part in system RAM)
- DeepSeek V4 Flash 284B · 13B active · Q8_K_XL17.0 t/s(part in system RAM)
- Qwen3.8 2400B · 95B active · UD-Q1_00.3 t/s(5 cards, part in system RAM)
Frequently asked
How fast is llama.cpp on the NVIDIA RTX 5090?
On the NVIDIA RTX 5090, llama.cpp runs Qwen3.8 27B at 4-bit at a median 84.2 tokens per second for generation, from 3 plain runs (40K to 120K context, 1 not stated).
Is llama.cpp faster than other engines on the NVIDIA RTX 5090?
Same card, same model size and bit class, plain runs only: Qwen3.8 27B at 4-bit gives llama.cpp 84.2 t/s (3 runs) and TensorSharp 80.0 t/s (1), vLLM 73.2 t/s (1). Context length and engine build differ between the runs, so treat it as a lead, not a benchmark.