What can AMD Radeon RX 7900 XTX run for coding?

Build: AMD Radeon RX 7900 XTX + — + 32 GB RAM (windows)

Memory: 24 GB VRAM + 32 GB system RAM
Runner: llama.cpp (Vulkan)

Runs comfortably
84 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: 8.9 GBHeadroom: 15.1 GBTTFT: fast
ollama run codegemma:7b
102
tok/s
Estimated
Weights
4.20 GB
KV cache
3.50 GB
Activations
0.22 GB
Runtime
1.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: 19.0 GBHeadroom: 5.0 GBTTFT: fast
ollama run deepseek-coder-v2:16b
45
tok/s
Estimated
Weights
9.50 GB
KV cache
8.00 GB
Activations
0.48 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~334 ms (fast)
#3Codestral 22B
22B
mistral
Quant: Q4_K_MContext: 2,048VRAM: 17.4 GBHeadroom: 6.6 GBTTFT: fast
ollama run codestral:22b
33
tok/s
Estimated
Weights
13.00 GB
KV cache
2.75 GB
Activations
0.65 GB
Runtime
1.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: 16.8 GBHeadroom: 7.2 GBTTFT: fast
ollama run qwen3:14b
51
tok/s
Estimated
Weights
8.40 GB
KV cache
7.00 GB
Activations
0.43 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~292 ms (fast)
#5Qwen 2.5 14B Instruct
14B
qwen
Commercial OK
Quant: Q5_K_MContext: 8,192VRAM: 19.0 GBHeadroom: 5.0 GBTTFT: fast
ollama run qwen2.5:14b
45
tok/s
Estimated
Weights
10.50 GB
KV cache
7.00 GB
Activations
0.53 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~292 ms (fast)
#6Qwen 2.5 7B Instruct
7B
qwen
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 10.0 GBHeadroom: 14.0 GBTTFT: fast
ollama run qwen2.5:7b
58
tok/s
Estimated
Weights
8.10 GB
KV cache
0.47 GB
Activations
0.41 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~146 ms (fast)
#7Qwen 3 8B
8B
qwen
Commercial OK
Quant: Q8_0Context: 8,192VRAM: 13.6 GBHeadroom: 10.4 GBTTFT: fast
ollama run qwen3:8b
51
tok/s
Estimated
Weights
8.20 GB
KV cache
4.00 GB
Activations
0.42 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~167 ms (fast)
#8Mistral Small 3 24B
24B
mistral
Commercial OK
Quant: Q4_K_MContext: 2,048VRAM: 18.7 GBHeadroom: 5.3 GBTTFT: noticeable
ollama run mistral-small:24b
30
tok/s
Estimated
Weights
14.00 GB
KV cache
3.00 GB
Activations
0.70 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~500 ms (noticeable)
#9Llama 3.1 8B Instruct
8B
llama
Commercial OK
Quant: FP16Context: 8,192VRAM: 19.0 GBHeadroom: 5.0 GBTTFT: fast
ollama run llama3.1:8b
27
tok/s
Estimated
Weights
16.10 GB
KV cache
1.07 GB
Activations
0.81 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~167 ms (fast)
#10Qwen 2.5 Coder 3B
3B
qwen
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 4.5 GBHeadroom: 19.5 GBTTFT: instant
239
tok/s
Estimated
Weights
1.90 GB
KV cache
1.50 GB
Activations
0.10 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~63 ms (instant)
#11StarCoder 2 3B
3B
other
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 4.6 GBHeadroom: 19.4 GBTTFT: instant
239
tok/s
Estimated
Weights
2.00 GB
KV cache
1.50 GB
Activations
0.11 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~63 ms (instant)
#12Codestral Mamba 7B
7B
mistral
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 8.9 GBHeadroom: 15.1 GBTTFT: fast
102
tok/s
Estimated
Weights
4.20 GB
KV cache
3.50 GB
Activations
0.22 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~146 ms (fast)

Runs with tradeoffs
24 models

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

Qwen 2.5 Coder 32B Instruct
32B
qwen
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 23.1 GBHeadroom: 0.9 GBTTFT: noticeable
  • • Tight VRAM fit — only 0.9 GB headroom left for context growth
ollama run qwen2.5-coder:32b
22
tok/s
Estimated
Weights
19.00 GB
KV cache
2.15 GB
Activations
0.96 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~667 ms (noticeable)
Qwen 3 30B-A3B
30B
qwen
Commercial OK
Quant: Q4_K_MContext: 2,048VRAM: 23.7 GBHeadroom: 0.3 GBTTFT: noticeable
  • • Tight VRAM fit — only 0.3 GB headroom left for context growth
ollama run qwen3:30b
24
tok/s
Estimated
Weights
18.00 GB
KV cache
3.75 GB
Activations
0.90 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~625 ms (noticeable)
Gemma 4 31B Dense
31B
gemma
Commercial OK
Quant: Q4_K_MContext: 2,048VRAM: 23.8 GBHeadroom: 0.2 GBTTFT: noticeable
  • • Tight VRAM fit — only 0.2 GB headroom left for context growth
ollama run gemma4:31b
23
tok/s
Estimated
Weights
18.00 GB
KV cache
3.88 GB
Activations
0.90 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~646 ms (noticeable)
Qwen 2.5 32B Instruct
32B
qwen
Commercial OK
Quant: Q4_K_MContext: 8,192VRAM: 37.0 GBHeadroom: 6.2 GBTTFT: noticeable
  • • Partial CPU offload: ~35% of layers run on CPU
ollama run qwen2.5:32b
22
tok/s
Estimated
Weights
19.00 GB
KV cache
16.00 GB
Activations
0.96 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~667 ms (noticeable)
Qwen 3 32B
32B
qwen
Commercial OK
Quant: Q5_K_MContext: 8,192VRAM: 40.1 GBHeadroom: 3.1 GBTTFT: noticeable
  • • Partial CPU offload: ~40% of layers run on CPU
ollama run qwen3:32b
20
tok/s
Estimated
Weights
22.00 GB
KV cache
16.00 GB
Activations
1.11 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~667 ms (noticeable)
Qwen3.8 27B
27B
qwen
Commercial OK
Quant: Q4_K_MContext: 2,048VRAM: 21.7 GBHeadroom: 2.3 GBTTFT: noticeable
  • • Tight VRAM fit — only 2.3 GB headroom left for context growth
ollama run qwen3.8:27b
27
tok/s
Estimated
Weights
16.50 GB
KV cache
3.38 GB
Activations
0.83 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~563 ms (noticeable)
Jamba 1.5 Mini
52B
other
Commercial OK
Quant: Q4_K_MContext: 2,048VRAM: 39.0 GBHeadroom: 4.2 GBTTFT: fast
  • • Partial CPU offload: ~38% of layers run on CPU
60
tok/s
Estimated
Weights
30.00 GB
KV cache
6.50 GB
Activations
1.50 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~250 ms (fast)
Quant: Q4_K_MContext: 2,048VRAM: 22.8 GBHeadroom: 1.2 GBTTFT: noticeable
  • • Tight VRAM fit — only 1.2 GB headroom left for context growth
23
tok/s
Estimated
Weights
17.10 GB
KV cache
3.88 GB
Activations
0.86 GB
Runtime
1.00 GB
Time to first token (prefill, 512-token prompt): ~646 ms (noticeable)

What if you upgraded?

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

+32 GB system RAM

Check the current price

Adds 32 GB to your CPU-offload working set. Helps when models don't quite fit in VRAM.

Unlocks: 28 new comfortable, 36 new tradeoff

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

Upgrade to AMD Instinct MI210

Launch MSRP $8,500 (2022). Check the current price.

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

Unlocks: 62 new comfortable

  • • Qwen 3 0.6B
  • • Qwen 3 30B-A3B
  • • Llama 3.3 70B Instruct
  • • Qwen 2.5 Coder 32B Instruct

Add a second AMD Radeon RX 7900 XTX

Launch MSRP $999 (2022). Check the current price.

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: 50 new comfortable

  • • Qwen 3 0.6B
  • • Qwen 3 30B-A3B
  • • Qwen 2.5 Coder 32B Instruct
  • • Qwen 3 32B

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 (19 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 (19 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 (19 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 (19 GB) combined.

—
DeepSeek V4 Flash (284B MoE)
284B
deepseek
Commercial OK

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

—
Cloud GPU rental

Not enough VRAM for these models? Rent a GPU by the hour

The models above need more memory than 24 GB VRAM + 32 GB system RAM. You can rent a GPU with enough VRAM by the hour to run one of them, or to test it before you buy hardware. For daily use, owning a card usually costs less over time.

RunPod

billed per GPU-hour

Hourly GPU pods, in community-cloud and secure-cloud tiers.

The two tiers run on different hosts and terms. Check which tier a pod is on before a long job.

Rent on RunPod

Vast.ai

billed per GPU-hour

Marketplace of host-listed GPUs; price and reliability vary by host.

Host quality varies. Filter for verified hosts and check the host's reliability before a long run.

Rent on Vast.ai

Referral links: RunLocalAI may earn a commission or account credits if you sign up and rent, at no extra cost to you. Hourly rates and which GPUs are listed change all the time, so check the provider's page before you start. Editorial opinions are independent of the referral relationship; see how we make money.

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.