Can I Run BitNet b1.58 on RTX 4090 Desktop (24 GB VRAM, 64 GB RAM)?

Written by Jakub Rusinowski · Last updated March 1, 2024

Yes — comfortably

Yes, comfortably — BitNet b1.58 3B at Q8_0 needs about 5.2 GB of the 24 GB usable on RTX 4090 Desktop (24 GB VRAM, 64 GB RAM), leaving ~18.8 GB spare and running at ~133.5 tok/s (estimated).

Confidence: medium · Recommended quantization: Q8_0 · Estimated speed: ~133.5 tok/s

RTX 4090 Desktop (24 GB VRAM, 64 GB RAM) — what it gives a model

Usable memory for models24 GB
Memory bandwidth1008 GB/s
Form factorDesktop
Operating systemWindows or Linux
Memory upgradeableYes

BitNet b1.58 on RTX 4090 Desktop (24 GB VRAM, 64 GB RAM): memory by quantization

QuantMemory neededFits 24 GB?Max contextEst. speedDownload
F168.3 GB✓ Yes~86.2 tok/s6.6 GB
Q8_05.2 GB✓ Yes~133.5 tok/s3.5 GB
Q6_K4.4 GB✓ Yes~155.7 tok/s2.7 GB
Q5_K_M4 GB✓ Yes~168.5 tok/s2.4 GB
Q4_K_M3.7 GB✓ Yes~182.7 tok/s2 GB
Q3_K_M3.1 GB✓ Yes~213 tok/s1.4 GB
Q2_K2.8 GB✓ Yes~234.4 tok/s1.1 GB

What to watch out for

RTX 4090 desktop limitations

Recommended setup

Ollama or llama.cpp (CUDA/ROCm) — vLLM if you need concurrent serving

How these numbers are calculated

FAQ

Can I run BitNet b1.58 on RTX 4090 Desktop (24 GB VRAM, 64 GB RAM)?

Yes, comfortably — BitNet b1.58 3B at Q8_0 needs about 5.2 GB of the 24 GB usable on RTX 4090 Desktop (24 GB VRAM, 64 GB RAM), leaving ~18.8 GB spare and running at ~133.5 tok/s (estimated).

Which quantization of BitNet b1.58 should I use on RTX 4090 Desktop (24 GB VRAM, 64 GB RAM)?

Q8_0 — it needs about 5.2 GB of the 24 GB available, downloads as roughly 3.5 GB, and runs at an estimated 133.5 tokens/sec.

What limits BitNet b1.58 on RTX 4090 Desktop (24 GB VRAM, 64 GB RAM)?

Nothing binding — the model fits with headroom and generates at a usable speed on this hardware.

Which runtime should I use?

Ollama or llama.cpp (CUDA/ROCm) — vLLM if you need concurrent serving

Other Computers

Other Models on RTX 4090 Desktop (24 GB VRAM, 64 GB RAM)

BitNet b1.58 on GPUs

What This Model Is Good At

Model & Tools

← Can I Run It? | BitNet b1.58 model page | Check your hardware