Can AMD Radeon RX 7900 XT (20 GB) run DeepSeek Coder V2 Lite (16B MoE)?

Yes. AMD Radeon RX 7900 XT (20 GB) runs DeepSeek Coder V2 Lite (16B MoE) at Q6_K with a 16K context, using 14.9 GB of 18.9 GB usable memory at an estimated 101–210 tok/s. The largest context that still fits at Q6_K is 128K.

Asking through an AI agent? Point it at llms.txt or the JSON API.

Open in calculator
Fits comfortablyQ6_K · 16K context
101–210 tok/s
14.9 GBof 18.9 GB usable memory
79% used
Weights13.1 GBKV cache0.5 GBOverhead1.3 GB
4.0 GB free

Every quantization on RX 7900 XT 20GB

Q4_K_M (4-bit)
deepseek-coder-v2:16b-lite-base-q4_K_M
9.7 GB
real file size
11.3 GBFits comfortably160K
122–253 tok/s
Estimate
Q6_K (6-bit)
deepseek-coder-v2:16b-lite-base-q6_K
13.1 GB
real file size
14.9 GBFits comfortably128K
101–210 tok/s
Estimate
Q8_0 (8-bit)
deepseek-coder-v2:16b-lite-base-q8_0
15.6 GB
real file size
17.5 GBTight fit32K
85–177 tok/s
Estimate
FP16 / BF16 (16-bit)
deepseek-coder-v2:16b-lite-base-fp16
29.3 GB
real file size
31.8 GBToo large—
—

AMD Radeon RX 7900 XT (20 GB) has 18.9 GB usable for models out of 20 GB of VRAM. Max context is the longest window that still loads without spilling out of that memory. The label under each speed says whether it was measured, scaled from measurements on this hardware, or modelled.

DeepSeek Coder V2 Lite (16B MoE) on RX 7900 XT 20GB by runtime

Command
Ollama
Q6_K
deepseek-coder-v2:16b-lite-base-q6_K
13.1 GB
real file size
14.9 GBFits comfortably101–210 tok/s
LM Studio
Q6_K
lmstudio-community/DeepSeek-Coder-V2-Lite-Instruct-GGUF
13.1 GB
real file size
14.9 GBFits comfortably101–210 tok/s
llama.cpp
Q6_K
lmstudio-community/DeepSeek-Coder-V2-Lite-Instruct-GGUF
13.1 GB
real file size
14.9 GBFits comfortably101–210 tok/s
vLLM
FP8
RedHatAI/DeepSeek-Coder-V2-Lite-Instruct-FP8
15.0 GB
real file size
16.9 GBTight fit98–204 tok/s
5 requests in parallel

Each runtime loads its own build, so sizes differ. Ollama, LM Studio and llama.cpp use GGUF files, vLLM the original safetensors weights or an FP8 / INT4 build. Numbers above this table are for Ollama.

Cost per 1M tokens at 1M tokens/day

Local on RX 7900 XT 20GB
$1.38

$1.02/mo power + $1,450 hardware over 36 months

Rented cloud GPU
$0.13

1x RTX 3090 (24 GB) on Vast.ai at $0.18/hr

OpenRouter API
—

Not listed on OpenRouter

There is no API price to compare against. Assumes 75% input and 25% output tokens, one request at a time. Rent on Vast.ai

Questions and answers

Can AMD Radeon RX 7900 XT (20 GB) run DeepSeek Coder V2 Lite (16B MoE)?

Yes. AMD Radeon RX 7900 XT (20 GB) runs DeepSeek Coder V2 Lite (16B MoE) at Q6_K with a 16K context, using 14.9 GB of 18.9 GB usable memory at an estimated 101–210 tok/s. The largest context that still fits at Q6_K is 128K.

How fast is DeepSeek Coder V2 Lite (16B MoE) on AMD Radeon RX 7900 XT (20 GB)?

About 101–210 tok/s at Q6_K. Modelled from memory bandwidth and model size. No published measurement covers this setup.

How much context can DeepSeek Coder V2 Lite (16B MoE) use on AMD Radeon RX 7900 XT (20 GB)?

At Q6_K the largest context that fits is 128K tokens. Q4_K_M: 160K, Q8_0: 32K.