Best LLMs for Radeon RX 7900 XT (20 GB VRAM): what runs locally

20 of the 40 open-source models in our directory fit on a Radeon RX 7900 XT, the biggest being Gemma 4 26B A4B. Below: which ones, at which quality, and our picks for chat, coding and reasoning.

The Radeon RX 7900 XT has 20 GB of video memory (VRAM). We count about 19.5 GB as usable for the model, because the driver and your screen need a little.

20 GB GDDR6.

Memory size from the official spec page, checked November 29, 2026.

Our picks for Radeon RX 7900 XT (20 GB VRAM)

Picks are our editorial choice based on what each maker says the model is built for and on its size; they are not benchmark results.

All models that fit (20)

ModelBest format that fitsMemory needed*
Gemma 4 26B A4B
25.81B · 4B active
Q4_K_Mabout 18 GB
Mistral Small 3.2 24B
24.01B
Q4_K_Mabout 17 GB
gpt-oss-20b
21B · 3.6B active
Q5_K_Mabout 17 GB
Ministral 3 14B
13.9B
Q8_0about 17 GB
Gemma 4 12B
11.96B
Q8_0about 15 GB
Qwen3.5 9B
9.65B
Q8_0about 12 GB
Ministral 3 8B
8.9B
Q8_0about 11 GB
Llama 3.1 8B Instruct
8.03B
BF16 / FP16about 18 GB
Gemma 4 E4B
8B
BF16 / FP16about 18 GB
Olmo 3 7B Instruct
7.3B
BF16 / FP16about 17 GB
Gemma 4 E2B
5.12B
BF16 / FP16about 12 GB
Qwen3.5 4B
4.66B
BF16 / FP16about 11 GB
Qwen3 4B Instruct 2507
4.02B
BF16 / FP16about 9.3 GB
Nemotron 3 Nano 4B
3.97B
BF16 / FP16about 9.2 GB
Phi-4-mini Instruct
3.84B
BF16 / FP16about 8.9 GB
Granite 4.1 3B
3.4B
BF16 / FP16about 8.0 GB
Llama 3.2 3B Instruct
3.21B
BF16 / FP16about 7.6 GB
SmolLM3 3B
3.08B
BF16 / FP16about 7.3 GB
Qwen3.5 2B
2.27B
BF16 / FP16about 5.5 GB
LFM3 1.7B
1.73B
BF16 / FP16about 4.3 GB

* Estimates: parameters × bits per weight ÷ 8, plus about 10% overhead and a cache for an 8K-token conversation. Longer conversations need more. How we calculate this.

Just too big

These need more memory than this setup has, even at 4-bit: Qwen3.8 27B (about 20 GB), Qwen3.5 27B (about 20 GB), Gemma 4 31B (about 22 GB), Nemotron 3 Nano 30B-A3B (about 22 GB).

Questions

What is the biggest AI model that runs on a Radeon RX 7900 XT?

Of the models we track, Gemma 4 26B A4B (25.81B parameters) fits at Q4_K_M, needing about 18 GB by our estimate.

Which local model is best for coding on a Radeon RX 7900 XT?

Our pick is gpt-oss-20b at Q5_K_M (about 17 GB). This is an editorial choice based on the model's stated focus and size, not a benchmark.

How to run them

LM Studio and llama.cpp run on AMD cards through Vulkan, which works with the normal AMD driver on Windows; LM Studio also offers ROCm on supported cards. Ollama lists the Radeon RX 7900 XT as supported through AMD ROCm on both Windows and Linux (Ollama's GPU support list, checked November 29, 2026). With Ollama, pick a model from the table and run, for example, ollama run gemma4:26b. Models slightly too big for the card can still run by putting some layers in normal RAM, but they get much slower.

Guides: Run local LLMs on an AMD GPU · How much VRAM do I need? · Q4 vs Q5 vs Q8 · Ollama vs LM Studio vs llama.cpp

Other graphics cards

← All open-source models