How much VRAM Qwen3 235B-A22B (MoE) needs, and what it costs to run
Some links on this page are referral links: we may earn a commission, at no cost to you.
Trying to decide what to buy? The best GPU for Qwen3 235B-A22B (MoE) →
Cheapest way to rent it right now
$0.13/hr
NVIDIA DGX Spark (GB10 Grace Blackwell) · IQ4_XS · spot · ≈ $32/mo at 8h/day
Live price captured Sat, 14 Nov 2026 01:20:08 GMT.It never changes which card is cheapest.
Memory needed, by quantisation
At 16k context. Weights + KV cache + ~0.8 GB overhead. Memory is in binary GB (1,024³ bytes), the unit GPU memory is sold in; Hugging Face and Ollama list downloads in decimal GB, about 7% more.
| Quant | Weights | KV cache | Total | Quality |
|---|---|---|---|---|
| F16 | 437.9 GB | 2.9 GB | 441.6 GB | Full precision. Reference quality, twice the size of Q8 for no practical gain in most chat use. |
| Q8_0 | 232.6 GB | 2.9 GB | 236.4 GB | Effectively lossless. Use when VRAM is not the constraint. |
| Q6_K | 179.5 GB | 2.9 GB | 183.3 GB | Very close to Q8 at meaningfully less memory. A safe high-quality pick. |
| Q5_K_M | 155.5 GB | 2.9 GB | 159.2 GB | Small, hard-to-notice quality loss. Good balance. |
| Q5_0 | 151.6 GB | 2.9 GB | 155.3 GB | Older-style 5-bit. Q5_K_M is usually the better pick at the same size. |
| Q4_K_M | 132.7 GB | 2.9 GB | 136.5 GB | The community default. Best quality-per-gigabyte for most people. |
| Q4_0 | 124.5 GB | 2.9 GB | 128.2 GB | Older-style 4-bit, measurably worse than Q4_K_M at a similar size. Avoid unless required. |
| IQ4_XS | 116.3 GB | 2.9 GB | 120.0 GB | Newer 4-bit, smaller than Q4_K_M with comparable quality. Needs a recent llama.cpp. |
| Q3_K_M | 107.0 GB | 2.9 GB | 110.7 GB | Noticeable degradation. Use to fit a larger model that would otherwise not run. |
| Q2_K | 91.7 GB | 2.9 GB | 95.4 GB | Heavy degradation. Almost always better to run a smaller model at Q4_K_M instead. |
| IQ3_XS | 90.3 GB | 2.9 GB | 94.0 GB | Aggressive. Usually better than a smaller model at Q4, but test before trusting it. |
Cards that can run it
Best quantisation each card fits at 16k context, with live rental price where we track one.
| GPU | VRAM | Best fit | Uses | ~tok/s | Rent from |
|---|---|---|---|---|---|
| Apple M5 Ultra | 512 GB | F16 | 442 GB | — | — |
| Apple M3 Ultra | 512 GB | F16 | 442 GB | — | — |
| Apple M2 Ultra | 192 GB | Q6_Ktight | 183 GB | — | — |
| AMD Ryzen AI Max+ 395 (Strix Halo, 128 GB) | 128 GB | IQ4_XStight | 120 GB | — | — |
| Apple M4 Max (16-core CPU / 40-core GPU) | 128 GB | IQ4_XStight | 120 GB | — | — |
| NVIDIA DGX Spark (GB10 Grace Blackwell) | 128 GB | IQ4_XStight | 120 GB | — | $0.133/hrVast.ai |
| Apple M5 Max (18-core CPU / 40-core GPU) | 128 GB | IQ4_XStight | 120 GB | — | — |
| NVIDIA RTX PRO 6000 Blackwell Workstation Edition | 96 GB | Q2_Ktight | 95 GB | — | $0.400/hrVast.ai |
| NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition | 96 GB | Q2_Ktight | 95 GB | — | $0.271/hrVast.ai |
| Apple M2 Max | 96 GB | Q2_Ktight | 95 GB | — | — |
How these numbers are produced
- Model shape comes from the model's own config.json — 94 layers, 64 attention heads, 4 KV heads.
- Weight size is parameters × effective bits-per-weight. Those constants are checked against real published quantised file sizes — median error 0.7% across 40 measurements.
- KV cache is 2 × layers × KV-heads × head-dim × context × 2 bytes. Using KV-heads rather than attention heads is what makes this correct for grouped-query attention; treating a GQA model as multi-head overstates the cache by up to 8×.
- Tokens/sec is an estimate, not a benchmark. Generation is memory-bandwidth-bound, so this is bandwidth ÷ weight-bytes derated to 75%. Real throughput depends on your runtime, batch size and kernels. We don't run our own hardware tests — see our editorial policy.
- This is a mixture-of-experts model. Generation reads only the experts active for each token (8 of 128), so throughput is scored on ~22.0B active parameters, not the full 235B. Memory is the opposite: every expert must still be resident in VRAM, so the figures above use the full weight set.MoE, standard GQA: all 94 layers hold KV (4 KV heads × 128). 128 experts, 8 per token; active = vendor-published 22B, but all ~235B weights stay resident. Row uses the 2507 Instruct release (262K native context); the April 2025 original has the identical shape but 40,960 native context. HF config.json read 4 Oct 2026.
- Some memory-bandwidth figures are not yet independently verified.Where that's the case we show no tokens/sec at all rather than a number we can't stand behind.
- Rental prices are pulled hourly from provider APIs (last updated Sat, 14 Nov 2026 01:20:08 GMT). Spot/interruptible pricing can change or vanish without notice.
Try it interactively
Drag the context slider and watch the KV cache fill the card
Worth reading before you buy
Llama 4 vs Qwen3 for Local Use: The Honest Comparison
The quiet truth: for most home users, Qwen3 is the better default than Llama 4 Scout. Where each actually wins, the LMArena controversy, and the specific cases where Scout is worth it.
gpt-oss vs Qwen3 vs DeepSeek — which open model should you run in 2026?
Three of the best open models, three different strengths. gpt-oss is the cost-effective all-rounder, Qwen3 owns coding, DeepSeek owns hard reasoning. Here's how to pick for your work.
How much VRAM do you need?
About 0.57 GB per billion parameters at 4-bit, plus room for context: the rule behind the numbers on this page, with worked examples.
The best GPU for local AI right now
The card with enough VRAM for your model at the lowest price, budget by budget.