RunsOnMy ModelsGPUs & MacsBy VRAMAPI pricesVRAM calculatorNew

Can ERNIE 4.5 21B A3B PT run on the RTX 4080?

Yes. At 8K context the best fit is Q4_K_M, using about 13.5 GB of the 15.2 GB usable on the RTX 4080. Estimated speed ceiling: ~54 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 Tight88
3-bit (Q3_K_M) •10.6 GB Fits10.8 GB Fits12.1 GB Fits17.4 GB No68
4-bit (Q4_K_M) •13.2 GB Fits13.5 GB Fits14.8 GB Tight20.0 GB No54
5-bit (Q5_K_M) •15.3 GB No15.5 GB No16.9 GB No22.1 GB No—
6-bit (Q6_K) •17.6 GB No17.8 GB No19.1 GB No24.3 GB No—
8-bit (Q8_0) •22.4 GB No22.6 GB No24.0 GB No29.2 GB No—
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-PT-GGUF. Speed is a bandwidth ceiling (717 GB/s), not a benchmark. Methodology.

More

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

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