Best Local AI Models for AMD RX 7900 XT (20GB)

The RX 7900 XT sits in a capacity gap NVIDIA does not serve: 20GB of VRAM, more than any 16GB card and cheaper than any 24GB one. That extra 4GB over a 5070 Ti lets 27B-class models load fully in VRAM at Q4, and 800 GB/s of bandwidth keeps generation quick. Like the XTX, it runs Ollama and llama.cpp through ROCm with a Vulkan fallback.

20GB VRAM
Quick answer

The best local LLM for the RX 7900 XT is GPT-OSS 20B at ~62 tok/s on its 20GB VRAM. It uses ~13.8GB of VRAM; the RX 7900 XT handles up to 27b parameter models at Q4. A 14B model runs at ~46 tok/s.

$ollama run gpt-oss:20b
TOP PICK
GPT-OSS 20B
EST. SPEED
~62 tok/s
VRAM NEEDED
~13.8 GB

Speeds are ModelFit estimates from memory bandwidth and model size, not measured benchmarks.

VRAM20 GB GDDR6
Speed (8B Q4)74 tok/s
Bandwidth800 GB/s
ArchitectureRDNA 3
Price$550*
Max model sizeUp to 27B parameter models
Compatibility10 excellent, 0 workable

*Used market price

RX 7900 XT Estimated Tokens/sec by Model Size

Q4_K_M · ModelFit estimate
Model SizeEst. SpeedFit on 20GB
7B~83 tok/sFits in VRAM
14B~46 tok/sFits in VRAM
20B MoE (3.6B active)~70 tok/sFits in VRAM
32B~5 tok/sCPU offload (slow)
35B MoE (3B active)~45 tok/sCPU offload (slow)
70B~1 tok/sCPU offload (slow)
120B MoE (5.1B active)~10 tok/sCPU offload (slow)

ModelFit estimates, not measured benchmarks: anchored to an 8B-class Q4_K_M model at 16K context on the RX 7900 XT's 800 GB/s bandwidth, then scaled by model size. MoE rows scale by active parameters (decode reads only the active experts), so a 35B MoE runs far faster than a dense 32B. "CPU offload" sizes exceed the 20GB VRAM; dense models slow to a crawl there, MoE models degrade less because hot experts stay GPU-resident.

Context costs VRAM too. GPT-OSS 20B loads ~13.8 GB of weights; at 16k context the KV cache adds ~4.0 GB (still fits the ~18 GB usable VRAM), and at 64k it adds ~16.0 GB (exceeds the budget, use a smaller quant or a q8_0 KV cache).

KV-cache figures assume an fp16 cache, the llama.cpp/Ollama default. Standard GQA models use a size-class estimate (8 KV heads x 128 head dim class); hybrid linear-attention models (Qwen3.5/3.6, Qwen3-Next) use the exact per-token cost from their published config, since only their sparse full-attention layers cache KV. A q8_0 KV cache roughly halves either figure. Estimates, not measurements.

Where to Buy the RX 7900 XT

≈ $550 street · Used market price
Storage & accessories for your model library

ModelFit may earn a commission on purchases through these links, at no extra cost to you. Prices shown are approximate street references.

RX 7900 XT VRAM for AI: What Actually Fits?

20GB GDDR6 at 800 GB/s is a unique spot in the lineup: 16GB cards top out at 14B-class dense models, while the 7900 XT fits a 27B at Q4 (~18GB) right at its usable budget, with the KV cache limiting context length. It cannot hold 32B Q4 (~20GB), so treat 27B as the practical ceiling. RDNA 3 is on the official ROCm support list, so Ollama, llama.cpp, and LM Studio all run it without CUDA. On the used market it usually undercuts every 24GB card by $150-300, making it a strong value pick for the 14B-27B class.

RX 7900 XT vs Top GPUs

HardwareMemorySpeedBandwidthPrice
RX 7900 XT20 GB74 tok/s800 GB/s$550
RX 7900 XTX24 GB89 tok/s960 GB/s$700
RTX 5070 Ti16 GB87 tok/s896 GB/s$749
RTX 309024 GB87 tok/s936 GB/s$900

Recommended Models

registry-verified10 models
01

GPT-OSS 20B

GPT-OSS / 21B / MXFP4 / ~13.8 GB

Best for: Chat, Coding, Reasoning·Pop: 85/100

Perf: ~62 tok/s · first token ~0.4s

Local OKOK

Fits in 20 GB VRAM with room to spare. Best for chat, coding, reasoning on RX 7900 XT.

ollamaregistry-verified
02

LFM2 24B-A2B Instruct

LFM2 / 24B / Q4_K_M / ~14 GB

Best for: Local AI agents, privacy-first tool calling, MCP workflows·Pop: 80/100

Perf: ~84 tok/s · first token ~0.4s

Local OKOK

Fits in 20 GB VRAM with room to spare. Best for local ai agents, privacy-first tool calling, mcp workflows on RX 7900 XT.

ollamaregistry-verified
03

Qwen3.5 9B Instruct (Q8)

Qwen / 9B / Q8_0 / ~10.7 GB

Best for: Quality, Coding, Reasoning·Pop: 86/100

Perf: ~42 tok/s · first token ~0.4s

Local OKExcellent

Fits in 20 GB VRAM with room to spare. Best for quality, coding, reasoning on RX 7900 XT.

ollamaregistry-verified
04

Gemma 4 12B (Q8)

Gemma / 12B / Q8_0 / ~12.8 GB

Best for: Chat, Coding, Multimodal·Pop: 80/100

Perf: ~33 tok/s · first token ~0.5s

Local OKOK

Fits in 20 GB VRAM with room to spare. Best for chat, coding, multimodal on RX 7900 XT.

ollamaregistry-verified
05

Qwen3 14B

Qwen / 14B / Q4_K_M / ~11 GB

Best for: Coding, Quality·Pop: 84/100

Perf: ~46 tok/s · first token ~0.4s

Local OKExcellent

Fits in 20 GB VRAM with room to spare. Best for coding, quality on RX 7900 XT.

ollamaregistry-verified
06

Gemma 3 12B Instruct

Gemma / 12B / Q4_K_M / ~9.5 GB

Best for: Chat, Quality·Pop: 76/100

Perf: ~52 tok/s · first token ~0.4s

Local OKExcellent

Fits in 20 GB VRAM with room to spare. Best for chat, quality on RX 7900 XT.

ollamaregistry-verified
07

Gemma 4 26B-A4B

Gemma / 26B / Q4_K_M / ~16 GB

Best for: Chat, Coding, Multimodal·Pop: 86/100

Perf: ~60 tok/s · first token ~0.4s

Local OKOK

Fits in 20 GB VRAM with room to spare. Best for chat, coding, multimodal on RX 7900 XT.

ollamaregistry-verified
08

Mistral Nemo 12B

Mistral / 12B / Q4_K_M / ~9.5 GB

Best for: Chat, Translation·Pop: 78/100

Perf: ~52 tok/s · first token ~0.4s

Local OKExcellent

Fits in 20 GB VRAM with room to spare. Best for chat, translation on RX 7900 XT.

ollamaregistry-verified
09

Qwen3.5 27B Instruct

Qwen / 27B / Q4_K_M / ~16 GB

Best for: Chat, Coding, Complex reasoning·Pop: 82/100

Perf: ~26 tok/s · first token ~0.5s

Local OKOK

Fits in 20 GB VRAM with room to spare. Best for chat, coding, complex reasoning on RX 7900 XT.

ollamaregistry-verified
10

Qwen3.6 27B

Qwen / 27B / Q4_K_M / ~18 GB

Best for: Coding, Quality, Long context·Pop: 92/100

Perf: ~26 tok/s · first token ~0.5s

Local OKOK

Fits in 20 GB VRAM with room to spare. Best for coding, quality, long context on RX 7900 XT.

ollamaregistry-verified

Models Too Big for 20GB? Rent a Cloud GPU

by the hour

The RX 7900 XT tops out around up to 27b parameter models. For anything bigger, an hourly rented GPU runs the same open weights with the same Ollama workflow, billed by the hour, no hardware purchase needed.

RunPodHourly GPU pods (RTX 4090 to H100) with one-click Ollama/vLLM templates.Rent
Vast.aiMarketplace of rented GPUs, usually the cheapest per-hour prices.Rent

ModelFit may earn a commission on sign-ups made through these links, at no extra cost to you.

RX 7900 XT FAQ: Common Questions

What size LLM can I run on an RX 7900 XT?

Up to 27B parameter models at Q4 quantization. Its 20GB VRAM gives about 18GB usable, which holds a 27B Q4 (~18GB) fully in VRAM with context kept modest. 32B models need CPU offloading, which cuts speed sharply for dense models.

Does Ollama support the RX 7900 XT?

Yes. RDNA 3 (gfx1100) is officially supported by ROCm, which Ollama uses on Linux and Windows. llama.cpp and LM Studio also work via ROCm/HIP or Vulkan.

RX 7900 XT vs RTX 5070 Ti for local AI?

The 7900 XT has 4GB more VRAM (20 vs 16GB), so it runs 27B-class models the 5070 Ti cannot fit. The 5070 Ti has higher bandwidth (896 vs 800 GB/s) and the CUDA ecosystem, so it is faster on the 14B class both can hold. Pick by target model size.

RX 7900 XT or RX 7900 XTX for local LLMs?

The XTX if the budget allows: 24GB vs 20GB moves the ceiling from 27B to 32B-class models, and its 960 GB/s is 20% faster. The XT wins on value when the models you want stay at or under 27B.

How fast is a 27B-class model on the RX 7900 XT?

The RX 7900 XT's 20GB of VRAM cannot fit a 32B model comfortably. The largest size class it fits is 20B MoE (3.6B active), at an estimated 70 tok/s.

Browse All NVIDIA GPUs for AI

Want Personalized Recommendations?

Use our interactive wizard to compare models across Apple Silicon and NVIDIA GPUs.