RunsOnMy ModelsGPUs & MacsBy VRAMAPI pricesVRAM calculatorNew

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

Yes. At 8K context the best fit is Q8_0, using about 22.6 GB of the 30.4 GB usable on the RTX 5090. Estimated speed ceiling: ~77 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 Fits220
3-bit (Q3_K_M) •10.6 GB Fits10.8 GB Fits12.1 GB Fits17.4 GB Fits170
4-bit (Q4_K_M) •13.2 GB Fits13.5 GB Fits14.8 GB Fits20.0 GB Fits134
5-bit (Q5_K_M) •15.3 GB Fits15.5 GB Fits16.9 GB Fits22.1 GB Fits115
6-bit (Q6_K) •17.6 GB Fits17.8 GB Fits19.1 GB Fits24.3 GB Fits100
8-bit (Q8_0) •22.4 GB Fits22.6 GB Fits24.0 GB Fits29.2 GB Tight77
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 (1792 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 5090 · Other models that fit 32 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.