Your rig

Radeon RX 7900 XTX · 24 GB

128 GB system RAM · RDNA 3 · 960 GB/s · 22.4 GB usable VRAM
Edit hardware Export as JSON

Context length

KV cache at f16, 4K tokens

Quality floor
Q8_0 — near-lossless Q6_K Q5_K_M Q4_K_M — recommended Q3_K_M Q2_K — damaged
KV cache type
System RAM (GB)
Runtime
Ollamallama.cppLM StudiovLLM

4 of 5 runtimes drive this device.

Allow CPU offload Include partial-offload fits

Offloaded layers run at 60 GB/s host bandwidth — expect single-digit tokens per second.

Which one should I actually run?

Best models for your Radeon RX 7900 XTX

Updated 21 Aug 2026 5 new this week, 14 this month

What do you want to do? Each row is the best-ranked model on that use case's shortlist that fits at Q5_K_M and 4K. The ordering is editorial; the sizes and speeds are computed. How the shortlists work.

RecommendationModelWhyQuant · totalTok/s est.
Best overall Qwen3.8 27B New this week
Alibaba · Apache 2.0
Best capability per gigabyte: a current-generation dense 27B with vision and 262K context. Q5_K_M · 19.2 GB 32 Tight fit
Best for coding Qwen3.8 27B New this week
Alibaba · Apache 2.0
Terminal-Bench 73, DeepSWE 42 — a generation ahead of anything else that fits 24 GB. Q5_K_M · 19.2 GB 32 Tight fit
Best reasoning Qwen3.8 27B New this week
Alibaba · Apache 2.0
Thinking mode plus the best agentic reasoning at 24 GB. Q5_K_M · 19.2 GB 32 Tight fit
Best for writing Gemma 4 26B-A4B
Google · Apache 2.0
Gemma 4 prose at MoE speed, with room for a long draft in context. Q5_K_M · 18.4 GB 89 Runs great
Best vision Qwen3.8 27B New this week
Alibaba · Apache 2.0
Image and video in, OSWorld 84 — the strongest local vision-language model at 24 GB. Q5_K_M · 19.2 GB 32 Tight fit
Best for agents Qwen3.8 27B New this week
Alibaba · Apache 2.0
Computer use and tool calling are what 3.8 was trained for (OSWorld 84). Q5_K_M · 19.2 GB 32 Tight fit
Best translation Qwen3.8 27B New this week
Alibaba · Apache 2.0
119 languages, and Qwen translations read as idiomatic rather than literal. Q5_K_M · 19.2 GB 32 Tight fit
Fastest good model Gemma 4 26B-A4B
Google · Apache 2.0
3.8B active and a small file — the quickest Gemma 4 with vision. Q5_K_M · 18.4 GB 89 Runs great
Best long context Nemotron 3.5 Lightning 30B-A3B New
NVIDIA · OpenMDW-1.1
262K, and a Mamba hybrid whose cache barely grows. Q5_K_M · 22.2 GB
at 128K context
106 Tight fit

Everything that fits

Runs great

41 of 76 · fits with headroom for a longer prompt
ModelParamsQuantWeights +KV 4KTotal VRAM headroom Tok/sRuntime
Gemma 4 26B-A4B 26.5B MoE / 3.8B act Q5_K_M 17.5 GB 0.35 GB 18.4 GB
4.0 GB free
89 Ollama Run
Devstral Small 2 24B 24B Q5_K_M 15.8 GB 0.63 GB 17.1 GB
5.3 GB free
37 llama.cpp Run
Mistral Small 3.2 24B 23.6B Q5_K_M 15.6 GB 0.63 GB 16.8 GB
5.6 GB free
37 Ollama Run
gpt-oss 20B 20.9B MoE / 3.6B act MXFP4 10.8 GB 0.10 GB 11.5 GB
10.9 GB free
120 Ollama Run
Qwen3 14B 14.8B Q5_K_M 9.8 GB 0.63 GB 11.0 GB
11.4 GB free
59 Ollama Run
DeepSeek-R1-Distill-Qwen 14B 14.8B Q5_K_M 9.8 GB 0.75 GB 11.1 GB
11.3 GB free
59 Ollama Run
Qwen2.5-Coder 14B 14.8B Q5_K_M 9.8 GB 0.75 GB 11.1 GB
11.3 GB free
59 Ollama Run
Phi-4 14B 14.7B Q5_K_M 9.7 GB 0.78 GB 11.1 GB
11.3 GB free
60 Ollama Run
Ministral 3 14B 13.9B Q5_K_M 9.2 GB 0.63 GB 10.4 GB
12.0 GB free
63 Ollama Run
Gemma 3 12B 12.2B Q5_K_M 8.1 GB 0.56 GB 9.2 GB
13.2 GB free
72 Ollama Run
Mistral NeMo 12B 12.2B Q5_K_M 8.1 GB 0.63 GB 9.3 GB
13.1 GB free
72 Ollama Run
Gemma 4 12B 12B Q5_K_M 7.9 GB 0.56 GB 9.1 GB
13.3 GB free
73 Ollama Run
Qwen3.5 9B 9.65B Q5_K_M 6.4 GB 0.13 GB 7.1 GB
15.3 GB free
91 Ollama Run
Ornith 1.5 9B New this week 9.41B Q5_K_M 6.2 GB 0.13 GB 6.9 GB
15.5 GB free
94 Ollama Run
Ministral 3 8B 8.92B Q5_K_M 5.9 GB 0.53 GB 7.0 GB
15.4 GB free
99 Ollama Run
Granite 4.1 8B 8.79B Q5_K_M 5.8 GB 0.63 GB 7.0 GB
15.4 GB free
100 Ollama Run
LFM2.5 8B-A1B 8.47B MoE / 1.5B act Q5_K_M 5.6 GB 0.05 GB 6.2 GB
16.2 GB free
226 Ollama Run
Fara 7B 8.29B Q5_K_M 5.5 GB 0.22 GB 6.3 GB
16.1 GB free
106 llama.cpp Run
Qwen3 8B 8.19B Q5_K_M 5.4 GB 0.56 GB 6.6 GB
15.8 GB free
107 Ollama Run
Llama 3.1 8B Instruct 8.03B Q5_K_M 5.3 GB 0.50 GB 6.4 GB
16.0 GB free
110 Ollama Run
Gemma 4 E4B 8.0B Q5_K_M 5.3 GB 0.09 GB 6.0 GB
16.4 GB free
110 Ollama Run
Ling 3.0 Tiny 7.9B-A1.3B New 7.9B MoE / 1.3B act Q5_K_M 5.2 GB 0.03 GB 5.8 GB
16.6 GB free
260 llama.cpp Run
DeepSeek-R1-Distill-Qwen 7B 7.62B Q5_K_M 5.0 GB 0.22 GB 5.8 GB
16.6 GB free
116 Ollama Run
Qwen2.5-Coder 7B 7.62B Q5_K_M 5.0 GB 0.22 GB 5.8 GB
16.6 GB free
116 Ollama Run
Olmo 3 7B Instruct 7.3B Q5_K_M 4.8 GB 2.00 GB 7.4 GB
15.0 GB free
121 Ollama Run
Mistral 7B Instruct v0.3 7.25B Q5_K_M 4.8 GB 0.50 GB 5.9 GB
16.5 GB free
121 Ollama Run
Gemma 4 E2B 5.1B Q5_K_M 3.4 GB 0.04 GB 4.0 GB
18.4 GB free
173 Ollama Run
Qwen3.5 4B 4.66B Q5_K_M 3.1 GB 0.13 GB 3.8 GB
18.6 GB free
189 Ollama Run
Gemma 3 4B 4.3B Q5_K_M 2.8 GB 0.20 GB 3.6 GB
18.8 GB free
205 Ollama Run
Qwen3 4B 4.02B Q5_K_M 2.7 GB 0.56 GB 3.8 GB
18.6 GB free
219 Ollama Run
Ministral 3 3B 3.85B Q5_K_M 2.5 GB 0.41 GB 3.5 GB
18.9 GB free
229 Ollama Run
Phi-4-mini 3.8B 3.84B Q5_K_M 2.5 GB 0.50 GB 3.6 GB
18.8 GB free
229 Ollama Run
Granite 4.1 3B 3.4B Q5_K_M 2.2 GB 0.31 GB 3.2 GB
19.2 GB free
259 Ollama Run
Llama 3.2 3B Instruct 3.21B Q5_K_M 2.1 GB 0.44 GB 3.2 GB
19.2 GB free
274 Ollama Run
LFM2.5 2.6B New 2.7B Q5_K_M 1.8 GB 0.06 GB 2.4 GB
20.0 GB free
326 llama.cpp Run
Qwen3.5 2B 2.27B Q5_K_M 1.5 GB 0.05 GB 2.1 GB
20.3 GB free
388 Ollama Run
Qwen3 1.7B 1.72B Q5_K_M 1.1 GB 0.44 GB 2.2 GB
20.2 GB free
512 Ollama Run
Llama 3.2 1B Instruct 1.24B Q5_K_M 0.8 GB 0.13 GB 1.5 GB
20.9 GB free
710 Ollama Run
Gemma 3 1B 1.0B Q5_K_M 0.7 GB 0.03 GB 1.3 GB
21.1 GB free
880 Ollama Run
Qwen3.5 0.8B 0.87B Q5_K_M 0.6 GB 0.05 GB 1.2 GB
21.2 GB free
1012 Ollama Run
Qwen3 0.6B 0.6B Q5_K_M 0.4 GB 0.44 GB 1.4 GB
21.0 GB free
1467 Ollama Run

Runs — tight

9 models · fits at 4K, drop context or quant to go longer
ModelParamsQuantWeights +KV 4KTotal VRAM headroom Tok/sRuntime
Nemotron 3.5 Lightning 30B-A3B New 31.6B MoE / 3.2B act Q5_K_M 20.9 GB 0.02 GB 21.5 GB
0.9 GB free
106 llama.cpp Run
GLM-4.7-Flash 30B-A3B 31.2B MoE / 3B act Q5_K_M 20.6 GB 0.21 GB 21.4 GB
1.0 GB free
113 llama.cpp Run
Qwen3 30B-A3B 30.5B MoE / 3.3B act Q5_K_M 20.1 GB 0.38 GB 21.1 GB
1.3 GB free
103 llama.cpp Run
Qwen3 Coder 30B-A3B 30.5B MoE / 3.3B act Q5_K_M 20.1 GB 0.38 GB 21.1 GB
1.3 GB free
103 llama.cpp Run
Muse Glimmer 30B New 29.8B Q5_K_M 19.7 GB 0.13 GB 20.4 GB
2.0 GB free
30 llama.cpp Run
Granite 4.1 30B 28.9B Q5_K_M 19.1 GB 1.00 GB 20.7 GB
1.7 GB free
30 llama.cpp Run
Qwen3.8 27B New this week 27.8B Q5_K_M 18.4 GB 0.25 GB 19.2 GB
3.2 GB free
32 llama.cpp Run
Qwen3.6 27B 27.8B Q5_K_M 18.4 GB 0.25 GB 19.2 GB
3.2 GB free
32 llama.cpp Run
Gemma 3 27B 27.4B Q5_K_M 18.1 GB 0.72 GB 19.4 GB
3.0 GB free
32 llama.cpp Run

Won't fit in VRAM

26 models · some are possible with CPU offload
ModelParamsQuantWeights +KV 4KTotal Over budget Tok/sRuntime
Qwen3.5 122B-A10B 125B MoE / 10B act Q5_K_M 82.5 GB 0.09 GB 83.2 GB +60.8 GB ~2.8 llama.cpp Why
Nemotron 3 Super 120B-A12B 124B MoE / 12B act Q5_K_M 81.8 GB 0.03 GB 82.5 GB +60.1 GB ~2.3 llama.cpp Why
Ling 3.0 Flash 124B-A5B New 124B MoE / 5.1B act Q5_K_M 81.8 GB 0.03 GB 82.5 GB +60.1 GB ~5.5 llama.cpp Why
Mistral Small 4 119B-A6B 119B MoE / 6.5B act Q5_K_M 78.5 GB 0.09 GB 79.2 GB +56.8 GB ~4.4 llama.cpp Why
gpt-oss 120B 117B MoE / 5.1B act MXFP4 60.5 GB 0.15 GB 61.3 GB +38.9 GB ~8.0 llama.cpp Why
Llama 4 Scout 109B-A17B 109B MoE / 17B act Q5_K_M 71.9 GB 0.75 GB 73.3 GB +50.9 GB ~1.7 llama.cpp Why
Llama 3.3 70B Instruct 70.6B Q5_K_M 46.6 GB 1.25 GB 48.5 GB +26.1 GB ~1.3 llama.cpp Why
DeepSeek-R1-Distill-Llama 70B 70.6B Q5_K_M 46.6 GB 1.25 GB 48.5 GB +26.1 GB ~1.3 llama.cpp Why
Qwen3.6 35B-A3B 35.9B MoE / 3.3B act Q5_K_M 23.7 GB 0.08 GB 24.4 GB +2.0 GB ~46 llama.cpp Why
Ornith 1.5 35B-A3B New this week 35.9B MoE / 3.3B act Q5_K_M 23.7 GB 0.08 GB 24.4 GB +2.0 GB ~46 llama.cpp Why
LLM-jp 4 33B Thinking New this week 33.2B Q5_K_M 21.9 GB 1.00 GB 23.5 GB +1.1 GB ~15 llama.cpp Why
Qwen3 32B 32.8B Q5_K_M 21.7 GB 1.00 GB 23.3 GB +0.9 GB ~17 llama.cpp Why
DeepSeek-R1-Distill-Qwen 32B 32.8B Q5_K_M 21.7 GB 1.00 GB 23.3 GB +0.9 GB ~17 llama.cpp Why
Qwen2.5-Coder 32B 32.8B Q5_K_M 21.7 GB 1.00 GB 23.3 GB +0.9 GB ~17 llama.cpp Why
Olmo 3.1 32B Instruct 32.2B Q5_K_M 21.3 GB 1.00 GB 22.9 GB +0.5 GB ~21 llama.cpp Why
Gemma 4 31B 31.3B Q5_K_M 20.7 GB 1.41 GB 22.7 GB +0.3 GB ~24 llama.cpp Why
Kimi K3 2.8T-A104B New 2780B MoE / 104B act Q5_K_M 1835.0 GB 0.11 GB 1835.7 GB +1813.3 GB ~0.2 llama.cpp Why
Qwen3.8 2.4T-A95B New 2446B MoE / 95B act Q5_K_M 1614.5 GB 0.36 GB 1615.5 GB +1593.1 GB ~0.2 llama.cpp Why
DeepSeek V4 Pro 1.6T-A49B New 1650B MoE / 49B act Q5_K_M 1089.1 GB 0.27 GB 1090.0 GB +1067.6 GB ~0.4 llama.cpp Why
Kimi K2.6 1T-A32B 1027B MoE / 32B act Q5_K_M 677.9 GB 0.27 GB 678.8 GB +656.4 GB ~0.7 llama.cpp Why
GLM-5.2 744B-A40B 753B MoE / 40B act Q5_K_M 497.0 GB 0.34 GB 498.0 GB +475.6 GB ~0.6 llama.cpp Why
DeepSeek-R1 671B 671B MoE / 37B act Q5_K_M 442.9 GB 0.27 GB 443.8 GB +421.4 GB ~0.6 llama.cpp Why
Qwen3.5 397B-A17B 403B MoE / 17B act Q5_K_M 266.0 GB 0.12 GB 266.7 GB +244.3 GB ~1.3 llama.cpp Why
Ornith 1.5 397B-A17B New this week 397B MoE / 17B act Q5_K_M 262.0 GB 0.12 GB 262.8 GB +240.4 GB ~1.3 llama.cpp Why
DeepSeek V4 Flash 284B-A13B New 284B MoE / 13B act Q5_K_M 187.5 GB 0.19 GB 188.3 GB +165.9 GB ~1.8 llama.cpp Why
Qwen3 235B-A22B 235B MoE / 22B act Q5_K_M 155.1 GB 0.73 GB 156.5 GB +134.1 GB ~1.1 llama.cpp Why

Totals = quantised weights + f16 KV cache at 4K tokens + 0.6 GB runtime overhead, against 22.4 GB usable VRAM (24 GB less display and driver reserve). Tokens per second are estimated from 960 GB/s peak memory bandwidth at batch 1 — not measured. Read the method.