Skip to content
E
Educatum
Qwen MoE + GQAVerified Qwen/Qwen3-235B-A22B config.json

Qwen3-235B-A22B VRAM & GPU Requirements Calculator

Qwen3-235B-A22B requires 437.7 GiB in FP16, 218.9 GiB in FP8, and 133.5 GiB in GGUF Q4_K_M for weights alone (235B total / 22B active MoE · GQA (64Q / 4KV = 16× KV savings)). At 8K context (batch=1, FP16 KV), KV-cache adds 1.47 GiB (16.0× smaller than MHA).

FP16 Inference (8K)
446.9 GiB
437.7 GiB weights
FP8 Weights + FP8 KV
227.3 GiB
218.9 GiB weights
GGUF Q4_K_M (8K)
142.6 GiB
133.5 GiB weights
32K KV-Cache (FP16)
5.88 GiB
16.0× vs MHA

Can Your GPU or Mac Run Qwen3-235B MoE? (8K Context, Batch=1)

Pre-computed fit verdict and estimated decode speed across RTX 4090/3090, Apple Silicon Unified Memory, and NVIDIA H100 clusters.

Hardware RigQ4_K_M (142.6 GiB)FP8 (227.3 GiB)FP16 (446.9 GiB)
1× RTX 4090 (23.9 GiB usable)OOM (-113G)OOM (-197G)OOM (-417G)
2× RTX 4090 / 3090 (47.8 GiB usable)OOM (-91G)OOM (-175G)OOM (-395G)
Apple M4 Max (128 GiB Unified · 96 GiB GPU)OOM (-40G)OOM (-125G)OOM (-345G)
Apple M3 Ultra (256 GiB Unified · 192 GiB GPU)FIT · ~39 tok/sOOM (-29G)OOM (-249G)
1× H100 SXM (79.6 GiB usable)OOM (-57G)OOM (-141G)OOM (-361G)
4× H100 SXM (318.4 GiB usable)FIT · ~82 tok/sFIT · ~77 tok/sOOM (-128G)
8× H100 SXM (636.8 GiB usable)FIT · ~60 tok/sFIT · ~58 tok/sFIT · ~54 tok/s
8× H200 SXM (1,123.2 GiB usable)FIT · ~61 tok/sFIT · ~60 tok/sFIT · ~57 tok/s

Interactive Qwen3-235B MoE VRAM & Roofline Simulator

1. Model & Workload

GQA · 235B/22B MoE

235B total / 22B active MoE · GQA (64Q / 4KV = 16× KV savings)

Execution Mode
Weight Precision (Datacenter & GGUF)
KV:
8,192 tok
1 reqs

2. Target GPU / Mac Silicon

318.4 GiB Usable · 11.79 TB/s eff.
GPU Count (Tensor Parallel)
FITS IN VRAM (+90.4 GiB headroom)
228.0 / 318.4 GiB usable (72%)

Fits cleanly across 4× H100 80 GiB with headroom.

Total VRAM
228.0 GiB
Weights 218.9 GiB (FP8)
KV-Cache
1.5 GiB
16.0× vs MHA
Decode / User
~76.4 tok/s
HBM Bound
Cluster Output
~76 tok/s
AI 1.9 FLOP/B

VRAM Allocation vs. Hardware Capacity

Binary GiB (1 GiB = 2³⁰ B) · Usable VRAM excludes ECC/OS & per-GPU CUDA/NCCL buffers

Dashed line = Usable VRAM
Used: 228.0 GiB · Usable: 318.4 GiB (72%) 318.4 GiB Usable Weights: 218.9 GiBKV-Cache: 1.5 GiBAct + CUDA: 7.7 GiB educatum.com/kv-cache

Decode Arithmetic Intensity Roofline

AI 1.9 vs Ridge 591 FLOPs/B
1416642561024 Ridge: 591 FLOPs/B · 6966 TFLOPS Memory-Bandwidth Bound (1.9 FLOP/B) Arithmetic Intensity (FLOPs / Byte, log scale) educatum.com/kv-cache
Canonical URL stays clean; click Copy Shareable Link to share your exact slider config.
Qwen3-235B-A22B (MoE + GQA) · KV_tok = 2 × 94L × 4 KV heads × 128d × 2B = 188.0 KiB/tok (16.0× vs MHA)
Decode Step Read: 20.5 GiB active weights + 1.47 GiB KV-cache → AI = 1.87 FLOPs/Byte (Memory-Bandwidth Bound; BW in decimal GB/s)

Compare Other LLM VRAM Requirements

All 14 Models →

Frequently Asked Questions

Can 1× or 2× RTX 4090 (24 GiB / 48 GiB) run Qwen3-235B-A22B?

At 8K context (batch=1) in GGUF Q4_K_M, Qwen3-235B-A22B needs 142.6 GiB total VRAM including CUDA runtime overhead (133.5 GiB weights). Single 23.9 GiB usable RTX 4090: OOM without CPU offload. Dual 47.8 GiB usable (2× 4090/3090): Exceeds 47.8 GiB usable VRAM.

Can an Apple M4 Max (128 GiB) Mac Studio / MacBook Pro run Qwen3-235B-A22B?

An Apple M4 Max 128 GiB reserves 96 GiB wired GPU memory by default. In GGUF Q4_K_M (142.6 GiB needed at 8K), it exceeds M4 Max 128 GiB (needs M3 Ultra 256/512 GiB or multi-GPU cluster).

How much KV-cache does Qwen3-235B-A22B use at 32K context?

Qwen3-235B-A22B uses GQA, giving a 16.0× KV-cache reduction vs standard MHA. At 32,768 context (batch=1, FP16 KV), KV-cache occupies 5.88 GiB.

Try keywords like RoPE, FlashAttention, DPO, or Blind 75.