Which AI models can the RX 7900 XT (20 GB) run?

With 20 GB of video memory, the RX 7900 XT runs 32 of the 43 open models we track fully on the GPU. The biggest is Qwen3.5 27B at Q4, using about 17.7 GB.

Every 20 GB card holds the same models. See all 20 GB cards and the full answer, with sources →

Check price on AmazonSapphire Pulse RX 7900 XT 20GB · affiliate link

Runs fully on the GPU (32)

Model and Ollama commandBest quality that fitsMemory
Qwen3.5 27B
ollama run qwen3.5:27b
Q417.7 GB
Qwen3.6 27B
ollama run qwen3.6:27b
Q417.7 GB
Qwen3.8 27B
ollama run qwen3.8:27b
Q417.7 GB
Gemma 2 27B
ollama run gemma2:27b
Q418.6 GB
Gemma 4 26B-A4B (MoE, fast)
ollama run gemma4:26b
Q416.5 GB
Devstral Small 2 24B (coding)
ollama run devstral-small-2
Q518.4 GB
Mistral Small 3 24B
ollama run mistral-small:24b
Q518.1 GB
DeepSeek-R1 Distill (Qwen 14B)
ollama run deepseek-r1:14b
Q817.1 GB
Qwen3 14B
ollama run qwen3:14b
Q817.0 GB
Phi-4 14B
ollama run phi4
Q817.0 GB
Qwen2.5 14B
ollama run qwen2.5:14b
Q817.0 GB
Qwen2.5 Coder 14B
ollama run qwen2.5-coder:14b
Q817.0 GB
Gemma 3 12B
ollama run gemma3:12b
Q815.2 GB
Mistral Nemo 12B
ollama run mistral-nemo
Q814.2 GB
Gemma 4 12B
ollama run gemma4:12b
Q813.7 GB
Qwen3.5 9B
ollama run qwen3.5:9b
Q811.0 GB
Gemma 2 9B
ollama run gemma2:9b
Q811.8 GB
Qwen3 8B
ollama run qwen3:8b
Q89.9 GB
Gemma 4 E4B
ollama run gemma4:e4b
Q87.4 GB
Llama 3.1 8B
ollama run llama3.1:8b
Q89.6 GB
DeepSeek-R1 Distill (Qwen 7B)
ollama run deepseek-r1:7b
Q88.9 GB
Qwen2.5 7B
ollama run qwen2.5:7b
Q88.9 GB
Qwen2.5 Coder 7B
ollama run qwen2.5-coder:7b
Q88.9 GB
Mistral 7B
ollama run mistral:7b
Q88.8 GB
Gemma 4 E2B
ollama run gemma4:e2b
Q84.8 GB
Qwen3.5 4B
ollama run qwen3.5:4b
Q85.7 GB
Gemma 3 4B
ollama run gemma3:4b
Q85.7 GB
Qwen3 4B
ollama run qwen3:4b
Q85.5 GB
Phi-3.5 Mini 3.8B
ollama run phi3.5
Q86.2 GB
Llama 3.2 3B
ollama run llama3.2:3b
Q84.5 GB
Llama 3.2 1B
ollama run llama3.2:1b
Q82.0 GB
Gemma 3 1B
ollama run gemma3:1b
Q81.8 GB

Runs slowly, using system RAM (8)

Too big for the card: a model can use about 19.0 GB of its 20 GB (the rest goes to the display and driver), so part of the model runs on the CPU from system RAM (32 GB assumed). It works, but replies are often 3 to 10 times slower.

ModelMemory at Q4More than fits by
Qwen3.6 35B-A3B (MoE, fast)22.5 GB3.5 GB
DeepSeek-R1 Distill (Qwen 32B)21.6 GB2.6 GB
Qwen2.5 32B21.6 GB2.6 GB
Qwen2.5 Coder 32B21.6 GB2.6 GB
Qwen3 32B21.5 GB2.5 GB
Gemma 4 31B20.7 GB1.7 GB
Qwen3 30B-A3B (MoE, fast)19.5 GB0.5 GB
Gemma 3 27B19.3 GB0.3 GB

Short of system RAM? These need 32 GB in the PC. With 64 GB, 3 more models would load.

64 GB DDR5 kit on Amazon64 GB DDR4 kit on AmazonAffiliate links · check which RAM type your motherboard takes

Won't run (3)

Even at Q4 these need more than the card plus spare system RAM: DeepSeek-R1 Distill (Llama 70B) (44.8 GB), Llama 3.1 70B (44.8 GB), Llama 3.3 70B (44.8 GB).

Q4, Q5 and Q8 are quantisation levels (Q4_K_M, Q5_K_M, Q8_0): higher keeps more quality but needs more memory. Estimates at a 4K-token context (Ollama's usual default): model weights + KV cache + about 0.6 GB for the runtime. A longer context needs more memory.

What a bigger card adds

RTX 5090 on AmazonAffiliate links

Questions people ask

What is the biggest AI model the RX 7900 XT can run?

Qwen3.5 27B, at Q4 (Q4_K_M): about 17.7 GB with a 4K context, which fits in the card's 20 GB. Run it with "ollama run qwen3.5:27b". Bigger models such as Qwen3.6 35B-A3B (MoE, fast) also work if your PC has enough system RAM, but slowly, because part of the model runs on the CPU.

Is the RX 7900 XT good for running local AI?

Yes. 20 GB of VRAM is enough for capable mid-size models (around 14B to 27B at Q4) entirely on the GPU, which is where they are fast.

Do these numbers depend on my system RAM?

Only for the "runs slowly" list. Models that fit fully on the GPU need just the card's memory. The slow list assumes 32 GB of system RAM, of which about 60% can hold the overflow; with 16 GB of RAM, fewer large models will load. Change the RAM in the calculator to check yours.

Spotted a wrong number? Tell us and we'll fix it.