RunsOnMy ModelsGPUs & MacsBy VRAMAPI pricesVRAM calculatorNew

Can ERNIE 4.5 21B A3B Thinking run on the RTX 4090?

Yes. At 8K context the best fit is Q6_K, using about 17.8 GB of the 22.8 GB usable on the RTX 4090. Estimated speed ceiling: ~56 tokens/sec.

Memory by quant and context

Quant4K ctx8K ctx32K ctx128K ctxMax tok/s (est., 8K)
2-bit (Q2_K) •8.4 GB Fits8.6 GB Fits9.9 GB Fits15.2 GB Fits124
3-bit (Q3_K_M) •10.6 GB Fits10.8 GB Fits12.1 GB Fits17.4 GB Fits96
4-bit (Q4_K_M) •13.2 GB Fits13.5 GB Fits14.8 GB Fits20.0 GB Fits76
5-bit (Q5_K_M) •15.3 GB Fits15.5 GB Fits16.9 GB Fits22.1 GB Tight65
6-bit (Q6_K) •17.6 GB Fits17.8 GB Fits19.1 GB Fits24.3 GB No56
8-bit (Q8_0) •22.4 GB Tight22.6 GB Tight24.0 GB No29.2 GB No43
16-bit (F16/BF16) •41.5 GB No41.7 GB No43.0 GB No48.3 GB No—

• real GGUF file size from unsloth/ERNIE-4.5-21B-A3B-Thinking-GGUF. Speed is a bandwidth ceiling (1008 GB/s), not a benchmark. Methodology.

More

ERNIE 4.5 21B A3B Thinking on every GPU and Mac · Every model that runs on the RTX 4090 · Other models that fit 24 GB VRAM · Try other settings in the calculator

Data: Hugging Face Hub (baidu/ERNIE-4.5-21B-A3B-Thinking), NVIDIA specs. Data as of 2026-11-17.