Best Local AI Models for AMD RX 7900 XTX (24GB)

The RX 7900 XTX is the AMD counterpart to the RTX 3090: 24GB of VRAM at 960 GB/s for roughly $600-800 on the used market. That capacity runs 32B parameter models entirely in VRAM, and since token generation is bandwidth-bound, its 960 GB/s actually edges out the 3090's 936 GB/s. Ollama and llama.cpp both support it via ROCm, with Vulkan as a fallback, so the CUDA-free stack is no longer the obstacle it once was.

24GB VRAM
Quick answer

The best local LLM for the RX 7900 XTX is Gemma 4 26B-A4B at ~72 tok/s on its 24GB VRAM. It uses ~16GB of VRAM; the RX 7900 XTX handles up to 32b parameter models at Q4. A 32B model runs at ~27 tok/s.

$ollama run gemma4:26b
TOP PICK
Gemma 4 26B-A4B
EST. SPEED
~72 tok/s
VRAM NEEDED
~16 GB

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

VRAM24 GB GDDR6
Speed (8B Q4)89 tok/s
Bandwidth960 GB/s
ArchitectureRDNA 3
Price$700*
Max model sizeUp to 32B parameter models
Compatibility10 excellent, 0 workable

*Used market price

RX 7900 XTX Estimated Tokens/sec by Model Size

Q4_K_M · ModelFit estimate
Model SizeEst. SpeedFit on 24GB
7B~100 tok/sFits in VRAM
14B~55 tok/sFits in VRAM
20B MoE (3.6B active)~85 tok/sFits in VRAM
32B~27 tok/sFits in VRAM
35B MoE (3B active)~72 tok/sFits in VRAM
70B~1 tok/sCPU offload (slow)
120B MoE (5.1B active)~12 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 XTX's 960 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 24GB VRAM; dense models slow to a crawl there, MoE models degrade less because hot experts stay GPU-resident.

Context costs VRAM too. Gemma 4 26B-A4B loads ~16 GB of weights; at 16k context the KV cache adds ~4.0 GB (still fits the ~22 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 XTX

≈ $700 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 XTX VRAM for AI: What Actually Fits?

24GB GDDR6 at 960 GB/s puts the RX 7900 XTX in the same capacity class as the RTX 3090 and RTX 4090: 32B models at Q4 (~20GB) load fully in VRAM with room for context. RDNA 3 (gfx1100) is officially supported by ROCm, which Ollama uses on Linux and Windows; llama.cpp also runs it via ROCm/HIP or Vulkan. Where the card really stands out is dual-card rigs: two 7900 XTX give 48GB of pooled VRAM for around $1,400 used, enough to hold a 35B-class MoE at Q8 with its full context, a budget no NVIDIA pair matches. The trade-off versus NVIDIA is software maturity outside llama.cpp: some backends (vLLM, ExLlama) still favor CUDA.

RX 7900 XTX vs Top GPUs

HardwareMemorySpeedBandwidthPrice
RX 7900 XT20 GB74 tok/s800 GB/s$550
RX 7900 XTX24 GB89 tok/s960 GB/s$700
RTX 309024 GB87 tok/s936 GB/s$900
RTX 409024 GB104 tok/s1008 GB/s$2,574

Recommended Models

registry-verified10 models
01

Gemma 4 26B-A4B

Gemma / 26B / Q4_K_M / ~16 GB

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

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

Local OKOK

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

ollamaregistry-verified
02

Qwen3.5 27B Instruct

Qwen / 27B / Q4_K_M / ~16 GB

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

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

Local OKOK

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

ollamaregistry-verified
03

GPT-OSS 20B

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

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

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

Local OKExcellent

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

ollamaregistry-verified
04

Qwen3.6 27B

Qwen / 27B / Q4_K_M / ~18 GB

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

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

Local OKOK

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

ollamaregistry-verified
05

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: ~101 tok/s · first token ~0.3s

Local OKExcellent

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

ollamaregistry-verified
06

Gemma 4 12B (Q8)

Gemma / 12B / Q8_0 / ~12.8 GB

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

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

Local OKExcellent

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

ollamaregistry-verified
07

Qwen3.5 35B-A3B Instruct

Qwen / 35B / Q4_K_M / ~20 GB

Best for: Reasoning, Coding, Agent scenarios·Pop: 90/100

Perf: ~72 tok/s · first token ~1.0s

Local OKOK

Fits in 24 GB VRAM with room to spare. Best for reasoning, coding, agent scenarios on RX 7900 XTX.

ollamaregistry-verified
08

Qwen3 14B

Qwen / 14B / Q4_K_M / ~11 GB

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

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

Local OKExcellent

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

ollamaregistry-verified
09

Qwen3 14B (Q8)

Qwen / 14B / Q8_0 / ~15.9 GB

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

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

Local OKOK

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

ollamaregistry-verified
10

Qwen3.5 9B Instruct

Qwen / 9B / Q4_K_M / ~7 GB

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

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

Local OKExcellent

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

ollamaregistry-verified

Models Too Big for 24GB? Rent a Cloud GPU

by the hour

The RX 7900 XTX tops out around up to 32b 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 XTX FAQ: Common Questions

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

Up to 32B parameter models at Q4 quantization. Its 24GB VRAM gives about 21.6GB usable for weights, the same capacity class as the RTX 3090 and RTX 4090. Good picks are Qwen3.6 27B and DeepSeek-R1 32B. 35B-class MoE models at Q4 (~20-22GB) sit right at the limit: Qwen3.5 35B-A3B fits, Qwen3.6 35B-A3B may spill slightly to system RAM.

Does Ollama work on the RX 7900 XTX?

Yes. Ollama supports the RX 7900 XTX through ROCm on Linux and Windows, since RDNA 3 (gfx1100) is on the official ROCm support list. llama.cpp and LM Studio also run it via ROCm/HIP or the Vulkan backend. No CUDA is needed.

Can two RX 7900 XTX run a 35B model at Q8 with full context?

Yes. Two cards pool 48GB of VRAM, and a 35B-class MoE at Q8 weighs about 38.7GB. Hybrid linear-attention models like Qwen3.6 35B-A3B cache KV only on their sparse full-attention layers, roughly 20 KB per token, so even the full 262k context adds only ~5GB. Weights plus full context fit inside the two cards with no offloading.

RX 7900 XTX vs RTX 3090 for local AI?

They are close. Both have 24GB and run the same 32B-class models; the 7900 XTX has slightly higher bandwidth (960 vs 936 GB/s) and tends to cost less used. The 3090 keeps the edge in software ecosystem: CUDA-only backends and broader community tooling. For an Ollama/llama.cpp workflow, either works well.

Is ROCm still a problem for local LLMs in 2026?

Not for the main runtimes. Ollama, llama.cpp, and LM Studio all support RDNA 3 through ROCm or Vulkan, and the 7900 XTX is on the official ROCm support list. Friction remains in CUDA-first projects like some vLLM and training workflows, so check your specific stack before buying.

How fast is a 27B-class model like Qwen3.5 27B Instruct on the RX 7900 XTX?

ModelFit estimates a 32B model on the RX 7900 XTX runs at roughly 27 tok/s at Q4_K_M. The current 27B-class pick in the catalog is Qwen3.5 27B Instruct (ollama run qwen3.5:27b).

Browse All NVIDIA GPUs for AI

Want Personalized Recommendations?

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