What can AMD Radeon RX 7900 XTX run for coding?

Build: RX 7900 XTX + Ryzen 9 7950X + 64GB DDR5 (Linux/ROCm)

Memory: 24 GB VRAM + 64 GB system RAM
Runner: llama.cpp (ROCm)

Runs comfortably
142 models

Ranked by fit for coding use case + predicted speed. Click a row for VRAM breakdown.

#1CodeGemma 7B
7B
gemma
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 9.9 GBHeadroom: 14.1 GBTTFT: fast
ollama run codegemma:7b
125
tok/s
Estimated
Weights
4.20 GB
KV cache
3.50 GB
Activations
0.22 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~146 ms (fast)
#2DeepSeek Coder V2 Lite (16B)
16B
deepseek
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 20.0 GBHeadroom: 4.0 GBTTFT: fast
ollama run deepseek-coder-v2:16b
55
tok/s
Estimated
Weights
9.50 GB
KV cache
8.00 GB
Activations
0.48 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~334 ms (fast)
#3Codestral 22B
22B
mistral
Quant: Q4_K_MContext: 2,048VRAM: 18.4 GBHeadroom: 5.6 GBTTFT: fast
ollama run codestral:22b
40
tok/s
Estimated
Weights
13.00 GB
KV cache
2.75 GB
Activations
0.65 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~459 ms (fast)
#4Qwen 3 14B
14B
qwen
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 17.8 GBHeadroom: 6.2 GBTTFT: fast
ollama run qwen3:14b
62
tok/s
Estimated
Weights
8.40 GB
KV cache
7.00 GB
Activations
0.43 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~292 ms (fast)
#5Qwen 2.5 7B Instruct
7B
qwen
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 11.0 GBHeadroom: 13.0 GBTTFT: fast
ollama run qwen2.5:7b
71
tok/s
Estimated
Weights
8.10 GB
KV cache
0.47 GB
Activations
0.41 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~146 ms (fast)
#6Qwen 3 8B
8B
qwen
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 14.6 GBHeadroom: 9.4 GBTTFT: fast
ollama run qwen3:8b
62
tok/s
Estimated
Weights
8.20 GB
KV cache
4.00 GB
Activations
0.42 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~167 ms (fast)
#7Mistral Small 3 24B
24B
mistral
Commercial OK
Quant: Q4_K_MContext: 2,048VRAM: 19.7 GBHeadroom: 4.3 GBTTFT: noticeable
ollama run mistral-small:24b
36
tok/s
Estimated
Weights
14.00 GB
KV cache
3.00 GB
Activations
0.70 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~500 ms (noticeable)
#8Llama 3.1 8B Instruct
8B
llama
Commercial OK
Quant: FP16Context: 8,192VRAM: 20.0 GBHeadroom: 4.0 GBTTFT: fast
ollama run llama3.1:8b
33
tok/s
Estimated
Weights
16.10 GB
KV cache
1.07 GB
Activations
0.81 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~167 ms (fast)
#9StarCoder 2 7B
7B
other
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 10.1 GBHeadroom: 13.9 GBTTFT: fast
125
tok/s
Estimated
Weights
4.40 GB
KV cache
3.50 GB
Activations
0.23 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~146 ms (fast)
#10StarCoder 2 3B
3B
other
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 5.6 GBHeadroom: 18.4 GBTTFT: instant
292
tok/s
Estimated
Weights
2.00 GB
KV cache
1.50 GB
Activations
0.11 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~63 ms (instant)
#11Codestral Mamba 7B
7B
mistral
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 9.9 GBHeadroom: 14.1 GBTTFT: fast
125
tok/s
Estimated
Weights
4.20 GB
KV cache
3.50 GB
Activations
0.22 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~146 ms (fast)
#12Qwen 2.5 Coder 3B
3B
qwen
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 5.5 GBHeadroom: 18.5 GBTTFT: instant
292
tok/s
Estimated
Weights
1.90 GB
KV cache
1.50 GB
Activations
0.10 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~63 ms (instant)

Runs with tradeoffs
74 models

Tight VRAM, partial CPU offload, or context-limited.

Qwen 2.5 Coder 32B Instruct
32B
qwen
Commercial OK
Quant: Q4_K_MContext: 2,048VRAM: 22.5 GBHeadroom: 1.5 GBTTFT: noticeable
  • Tight VRAM fit — only 1.5 GB headroom left for context growth
ollama run qwen2.5-coder:32b
27
tok/s
Estimated
Weights
19.00 GB
KV cache
0.54 GB
Activations
0.95 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~667 ms (noticeable)
Qwen 2.5 14B Instruct
14B
qwen
Commercial OK
Quant: Q5_K_MContext: 8,192VRAM: 20.0 GBHeadroom: 4.0 GBTTFT: fast
  • Tight VRAM fit — only 4.0 GB headroom left for context growth
ollama run qwen2.5:14b
55
tok/s
Estimated
Weights
10.50 GB
KV cache
7.00 GB
Activations
0.53 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~292 ms (fast)
Muse Glimmer 30B
30B
other
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 20.6 GBHeadroom: 3.4 GBTTFT: noticeable
  • Tight VRAM fit — only 3.4 GB headroom left for context growth
ollama run muse-glimmer
29
tok/s
Estimated
Weights
17.00 GB
KV cache
0.71 GB
Activations
0.86 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~625 ms (noticeable)
Qwen 3 30B-A3B
30B
qwen
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 50.6 GBHeadroom: 11.8 GBTTFT: noticeable
  • Partial CPU offload: ~53% of layers run on CPU
  • CPU is the bottleneck — upgrading RAM bandwidth helps more than VRAM here
ollama run qwen3:30b
2
tok/s
Estimated
Weights
32.00 GB
KV cache
15.00 GB
Activations
1.61 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~625 ms (noticeable)
Gemma 4 31B Dense
31B
gemma
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 52.2 GBHeadroom: 10.2 GBTTFT: noticeable
  • Partial CPU offload: ~54% of layers run on CPU
  • CPU is the bottleneck — upgrading RAM bandwidth helps more than VRAM here
ollama run gemma4:31b
2
tok/s
Estimated
Weights
33.00 GB
KV cache
15.50 GB
Activations
1.66 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~646 ms (noticeable)
Qwen 3 32B
32B
qwen
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 53.7 GBHeadroom: 8.7 GBTTFT: noticeable
  • Partial CPU offload: ~55% of layers run on CPU
  • CPU is the bottleneck — upgrading RAM bandwidth helps more than VRAM here
ollama run qwen3:32b
2
tok/s
Estimated
Weights
34.00 GB
KV cache
16.00 GB
Activations
1.71 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~667 ms (noticeable)
Qwen 2.5 32B Instruct
32B
qwen
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 53.7 GBHeadroom: 8.7 GBTTFT: noticeable
  • Partial CPU offload: ~55% of layers run on CPU
  • CPU is the bottleneck — upgrading RAM bandwidth helps more than VRAM here
ollama run qwen2.5:32b
2
tok/s
Estimated
Weights
34.00 GB
KV cache
16.00 GB
Activations
1.71 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~667 ms (noticeable)
Llama 3.1 70B Instruct
70B
llama
Commercial OK
Quant: Q4_K_MContext: 2,048VRAM: 52.8 GBHeadroom: 9.6 GBTTFT: noticeable
  • Partial CPU offload: ~55% of layers run on CPU
  • CPU is the bottleneck — upgrading RAM bandwidth helps more than VRAM here
ollama run llama3.1:70b
1
tok/s
Estimated
Weights
40.00 GB
KV cache
8.75 GB
Activations
2.00 GB
Runtime
2.00 GB
Time to first token (prefill, 512-token prompt): ~1459 ms (noticeable)

What if you upgraded?

Hypothetical scenarios. We re-ran the compatibility engine for each.

+32 GB system RAM

~$80–150

Doubles your CPU-offload working set. Helps when models don't quite fit in VRAM.

Unlocks: 41 new comfortable, 80 new tradeoff

  • Qwen 3 0.6B
  • Qwen 3 1.7B
  • Gemma 3 270M
  • SmolLM2 135M Instruct

Upgrade to AMD Instinct MI210

see current pricing

64 GB VRAM (vs your 24 GB) plus a bandwidth jump from ~960 GB/s to ~1638 GB/s.

Unlocks: 112 new comfortable

  • Qwen 3 0.6B
  • Qwen 3 30B-A3B
  • Qwen 2.5 Coder 32B Instruct
  • Qwen3.6 27B

Add a second AMD Radeon RX 7900 XTX

~$899

Tensor parallelism splits the model across both cards, effectively doubling VRAM. Bandwidth doesn't double — runs ~1.5× the single-card speed in practice.

Unlocks: 94 new comfortable

  • Qwen 3 0.6B
  • Qwen 3 30B-A3B
  • Qwen 2.5 Coder 32B Instruct
  • Qwen3.6 27B

Some links above are affiliate links. We may earn a commission at no extra cost to you. How we make money.

Won't run
top 5 popular models

Need more memory than you have. Shown for orientation.

DeepSeek V4 Pro (1.6T MoE)
1600B
deepseek
Commercial OK

Even with CPU offload, needs more memory than your VRAM (24 GB) + 60% of system RAM (38 GB) combined.

Qwen 3.5 235B-A17B (MoE)
397B
qwen
Commercial OK

Even with CPU offload, needs more memory than your VRAM (24 GB) + 60% of system RAM (38 GB) combined.

Qwen 3 235B-A22B
235B
qwen
Commercial OK

Even with CPU offload, needs more memory than your VRAM (24 GB) + 60% of system RAM (38 GB) combined.

DeepSeek R1 (671B reasoning)
671B
deepseek
Commercial OK

Even with CPU offload, needs more memory than your VRAM (24 GB) + 60% of system RAM (38 GB) combined.

Llama 4 Scout
109B
llama
Commercial OK

Even with CPU offload, needs more memory than your VRAM (24 GB) + 60% of system RAM (38 GB) combined.

How to read these numbers

Measured here
Measured here - RunLocalAI ran this exact combo on owner hardware with public evidence.

Source-backed
Source-backed / community - a reproduced public source supports the speed, but it is not labeled as owner-measured.

Extrapolated
Extrapolated - predicted from a measured benchmark on similar-bandwidth hardware.

Estimated
Estimated - formula based on VRAM bandwidth and model architecture; not a benchmark row.

RunLocalAI Will-It-Run Framework →

Want a specific benchmark we don't have? Email Contact support and we'll prioritize it.