llama.cpp on the AMD RX 7900 XTX
On the AMD RX 7900 XTX, llama.cpp runs Qwen3.8 27B at 4-bit at a median 38.5 tokens per second for generation, from 4 plain runs (32K to 64K context, 2 not stated).
Speed by model on the AMD RX 7900 XTX
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 | 38.5 t/smedian of 4, 32K to 64K context, 2 not stated | Ollama 34.4 t/sone report, 64K context |
| Gemma 4 26B · 4B active 4-bit | 142.8 t/sone report, context not stated | no other engine reported |
| Gemma 4 31B 4-bit | 30.1 t/sone report, 32K context | no other engine reported |
| Qwen3.6 35B · 3B active 4-bit | 125.5 t/sone report, context not stated | no other engine reported |
28 llama.cpp reports on the AMD RX 7900 XTX
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.
- Qwen3.8 27B · Q4_K_M140.0 t/s(speculative decoding)
- Qwen3.8 27B · Q4_K_M40.0 t/s
- Qwen3.8 27B · UD-Q4_K_M87.4 t/s(speculative decoding)
- Qwen3.6 35B · 3B active · Q4_K_M125.5 t/s
- Qwen3.8 27B · Q4_K_M69.6 t/s(speculative decoding)
- Qwen3.8 27B · UD-Q4_K_XL37.1 t/s
- Qwen3.8 27B · Q4_K_M78.5 t/s(speculative decoding)
- Qwen3.6 27B · IQ4_XS41.7 t/s(speculative decoding)
- Model not identified · Q4_0172.9 t/s
- Qwen3.8 27B · Q4_K_M31.0 t/s
- Qwen3.8 27B · UD-Q4_K_XL47.9 t/s
- GLM-5.3 · IQ2_XXS16.0 t/s(part in system RAM)
- Qwen3.8 125B · 6B active · UD_Q3_XXLPP 920.0 t/s(2 cards, speculative decoding, part in system RAM)
- Qwen3.8 27B · Q877.0 t/s(4 cards, speculative decoding)
- Qwen3.8 27B · IQ3_S44.5 t/s(speculative decoding)
- Qwen3.8 27B · IQ3_S68.9 t/s(speculative decoding)
- Qwen3.8 27B23.8 t/s
- Qwen3.8 · IU423.7 t/s(2 cards, speculative decoding)
- Model not identified · Q4_0126.1 t/s
- Gemma 4 26B · 4B active · Q4_0142.8 t/s
- Gemma 4 31B · Q4_K_XL30.1 t/s
- Qwen3.8 · Q3_K_XL24.0 t/s(2 cards, speculative decoding, part in system RAM)
- DeepSeek V4 Flash 284B · 13B active · UD-IQ3_XXS12.0 t/s(4 cards)
- Qwen3.8 27B · Q4_K_M72.1 t/s
- Qwen3.8 27B · Q4_K_M25.0 t/s(speculative decoding)
- Qwen3.8 27B · Q6_K_XL27.0 t/s(2 cards, speculative decoding)
- Qwen3.8 125B · 6B active · UD-Q4_K_XL14.4 t/s(part in system RAM)
- Qwen3.811.0 t/s
Frequently asked
How fast is llama.cpp on the AMD RX 7900 XTX?
On the AMD RX 7900 XTX, llama.cpp runs Qwen3.8 27B at 4-bit at a median 38.5 tokens per second for generation, from 4 plain runs (32K to 64K context, 2 not stated).
Is llama.cpp faster than other engines on the AMD RX 7900 XTX?
Same card, same model size and bit class, plain runs only: Qwen3.8 27B at 4-bit gives llama.cpp 38.5 t/s (4 runs) and Ollama 34.4 t/s (1). Context length and engine build differ between the runs, so treat it as a lead, not a benchmark.