Can I run Qwen3 235B-A22B?
Last updated • By Will Schulz
Qwen3 235B-A22B needs about 151 GB of memory at 4-bit (Q4_K_M) with an 8K-token context, so it fits on a single 180 GB GPU such as the B200, or runs on a Mac with 192 GB of unified memory. At 16-bit it needs 487 GB, so it needs 8 × 80 GB GPUs, since no single card in our list holds it.
How much memory does Qwen3 235B-A22B need?
| Precision | Weights | Total, 8K context | Total, 32K context | Total, 128K context |
|---|---|---|---|---|
| 16-bit (BF16 / FP16) | 470 GB | 487 GB | 491 GB | 510 GB |
| 8-bit (Q8_0) | 250 GB | 260 GB | 264 GB | 283 GB |
| 4-bit (Q4_K_M) | 144 GB | 151 GB | 155 GB | 174 GB |
Total = weights + FP16 KV cache + 3% of the weights + 1 GB of runtime overhead, as in the VRAM calculator. Longer contexts are only usable up to the model's own context window; check the model card.
Which GPUs can run Qwen3 235B-A22B?
| GPU memory | 16-bit (BF16 / FP16) | 8-bit (Q8_0) | 4-bit (Q4_K_M) |
|---|---|---|---|
| 8 GB | more than 8 | more than 8 | more than 8 |
| 12 GB | more than 8 | more than 8 | more than 8 |
| 16 GB | more than 8 | more than 8 | more than 8 |
| 24 GBRTX 3090, RTX 4090, L4 | more than 8 | more than 8 | 8 cards |
| 32 GBRTX 5090 | more than 8 | more than 8 | 8 cards |
| 40 GBA100 40GB | more than 8 | 8 cards | 4 cards |
| 48 GBRTX A6000, RTX 6000 Ada, L40S | more than 8 | 8 cards | 4 cards |
| 80 GBA100 80GB, H100 PCIe, H100 SXM | 8 cards | 4 cards | 2 cards |
| 141 GBH200 | 4 cards | 2 cards | 2 cards |
| 180 GBB200 | 4 cards | 2 cards | fits on 1 |
| 192 GBAMD MI300X | 4 cards | 2 cards | fits on 1 |
Assumes the runtime can allocate 95% of each card and every card pays the fixed overhead. Vendor memory sizes are binary (a 24 GB card holds 25.8 × 10⁹ bytes), and that is accounted for.
Can I run Qwen3 235B-A22B on a Mac?
| Unified memory | 16-bit (BF16 / FP16) | 8-bit (Q8_0) | 4-bit (Q4_K_M) |
|---|---|---|---|
| 24 GBM4 Pro | no | no | no |
| 32 GBM2 Max | no | no | no |
| 48 GBM3 Max (40-core GPU), M4 Pro, M4 Max (40-core GPU) | no | no | no |
| 64 GBM2 Max, M2 Ultra, M3 Max (40-core GPU), M4 Pro, M4 Max (40-core GPU) | no | no | no |
| 96 GBM2 Max, M3 Ultra | no | no | no |
| 128 GBM2 Ultra, M3 Max (40-core GPU), M4 Max (40-core GPU) | no | no | no |
| 192 GBM2 Ultra | no | no | fits |
| 256 GBM3 Ultra | no | no | fits |
| 512 GBM3 Ultra | no | fits | fits |
macOS lets the GPU use about 75% of unified memory by default; you can raise the limit with sudo sysctl iogpu.wired_limit_mb.
How fast does Qwen3 235B-A22B run at 4-bit?
| Hardware | Memory bandwidth | Tokens / s | |
|---|---|---|---|
| B200180 GB | 8,000 GB/s | 393 | estimator |
| AMD MI300X192 GB | 5,300 GB/s | 261 | estimator |
| Apple M2 Ultra192 GB config or larger | 800 GB/s | 36.5 | estimator |
| Apple M3 Ultra256 GB config or larger | 819 GB/s | 37.4 | estimator |
Decoding reads the active expert weights and the KV cache once per token, so speed is roughly memory bandwidth ÷ bytes per token. Assumes 70% of peak bandwidth on GPUs and 65% on Macs, one GPU or Mac holding the whole model. Only hardware that holds it alone is listed.
Questions
How much VRAM does Qwen3 235B-A22B need?
About 151 GB at 4-bit (Q4_K_M), 260 GB at 8-bit (Q8_0) and 487 GB at 16-bit (BF16), for one request with an 8K-token context. At 4-bit the weights are 144 GB; the rest is the KV cache and runtime overhead. With 128K tokens of context the 4-bit total rises to 174 GB.
Can I run Qwen3 235B-A22B on a 24 GB GPU like the RTX 4090?
Not on one card. At 4-bit it needs 151 GB, so 8 × 24 GB cards with the model split across them, or a single 180 GB GPU.
Can I run Qwen3 235B-A22B on a Mac?
Yes: at 4-bit it needs a Mac with at least 192 GB of unified memory, while 16-bit needs more than any Mac we track. By default macOS lets the GPU use about 75% of unified memory, which these figures allow for.
How fast does Qwen3 235B-A22B run?
At 4-bit, one request generates about 393 tokens per second on a B200 and 36.5 tokens per second on an Apple M2 Ultra. These are estimates from memory bandwidth (70% of peak on GPUs, 65% on Macs) with 4K tokens in context; real runtimes vary.
Why does Qwen3 235B-A22B need so much memory if only 22B parameters are active?
Qwen3 235B-A22B is a mixture-of-experts model: each token uses about 22B of its 235B parameters, but any token can be routed to any expert, so all 235B must be in memory. Memory follows the total; speed follows the active count, which is why it runs faster than a dense model of the same size.
Work it out for your setup
- Free toolVRAM calculator: Qwen3 235B-A22B at Q4_K_MChange the quantization, context, KV-cache precision and batch size.
- Free toolLLM inference speed estimatorTokens per second, time to first token and batching on any GPU or Mac.
- GuideCan I run it? All open-weight modelsMemory needed for every model we track, and what each GPU or Mac can run.
Sources
- Qwen3 235B-A22B model card and config.json — Hugging Face
