llamaperf

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.

Modelllama.cppOther engines
Qwen3.8 27B 4-bit84.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-bit215.6 t/smedian of 2, 125K context, 1 not statedno other engine reported
Gemma 4 26B · 4B active 4-bit243.9 t/sone report, context not stated
vLLM 267.4 t/sone report, context not stated
Inkling 2 Mini 26B · 3.4B active 6-bit101.0 t/sone report, context not statedno other engine reported
LFM2.5 8B · 1B active 8-bit563.1 t/sone report, context not statedno other engine reported
Qwen3.5 27B 4-bit30.1 t/sone report, 1K contextno other engine reported
Qwen3.5 35B · 3B active 4-bit194.0 t/sone report, context not statedno other engine reported
Qwen3.6 35B · 3B active 4-bit215.1 t/sone report, context not statedno other engine reported
Qwen3.8 27B 6-bit58.1 t/sone report, 32K contextno 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.

Filter these reports on the homepage

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.