Skip to content
Run LLM Locally

Model · Alibaba Qwen

Qwen3 235B-A22B: VRAM and hardware requirements

At Q4_K_M with an 8K context, Qwen3 235B-A22B needs about 143 GB: a GPU with – or more runs it entirely in VRAM.

  • Parameters235B
  • Active22B
  • Max context128K
  • LicenseApache-2.0

Specifications

Organization
Alibaba Qwen
Architecture
qwen3_moe
Released
April 2025
Layers
94
Hidden size
4096
Attention heads
64
KV heads
4
Head dimension
128
Vocabulary
151,936
KV cache per 1K tokens (f16)
0.184 GB

Official specData updated 24 days agoSource: Hugging Face config.json + model card

Quantizations and memory

Qwen3 235B-A22B: memory by quantization at 8K context
QuantizationFile sizeMemory neededMinimum GPU memoryQuality
BF16438 GB~462 GB–Reference (unquantized)
Q8_0233 GB~247 GB–Near-lossless
Q6_K180 GB~191 GB–Near-lossless
Q5_K_M155 GB~166 GB–Very good
Q4_K_MMost used132 GB~143 GB–Good — the usual choice
IQ4_XS117 GB~131 GB–Good — the usual choice
Q3_K_M105 GB~117 GB–Noticeable loss
Q2_K79.8 GB~93.4 GB96 GBSignificant loss

File sizes: not available until imported from the model repository. Memory = weights (estimated from bits per weight) + KV cache + runtime overhead + safety margin. (BF16 ≈ 16 bpw, Q8_0 ≈ 8.5 bpw, Q6_K ≈ 6.57 bpw, Q5_K_M ≈ 5.7 bpw, Q4_K_M ≈ 4.9 bpw, IQ4_XS ≈ 4.46 bpw, Q3_K_M ≈ 4 bpw, Q2_K ≈ 3.17 bpw)

Q4, Q5 or Q8: how to choose a quantization

GPUs that run Qwen3 235B-A22B

Qwen3 235B-A22B Q4_K_M · 8K context, one GPU
RTX 509032 GB · 64 GB RAM~141 GB · No dataIncompatible
RTX 409024 GB · 64 GB RAM~141 GB · No dataIncompatible
RTX 309024 GB · 64 GB RAM~141 GB · No dataIncompatible
RX 7900 XTX24 GB · 64 GB RAM~141 GB · No dataIncompatible
RTX 5060 Ti 16 GB16 GB · 64 GB RAM~141 GB · No dataIncompatible
RTX 5070 Ti16 GB · 64 GB RAM~141 GB · No dataIncompatible
RTX 508016 GB · 64 GB RAM~141 GB · No dataIncompatible
RTX 4060 Ti 16 GB16 GB · 64 GB RAM~141 GB · No dataIncompatible
RTX 4070 Ti SUPER16 GB · 64 GB RAM~141 GB · No dataIncompatible
RX 9070 XT16 GB · 64 GB RAM~141 GB · No dataIncompatible
RTX 3060 12 GB12 GB · 64 GB RAM~141 GB · No dataIncompatible
RTX 407012 GB · 64 GB RAM~141 GB · No dataIncompatible
RTX 507012 GB · 64 GB RAM~141 GB · No dataIncompatible
RTX 40608 GB · 64 GB RAM~141 GB · No dataIncompatible

Macs that run Qwen3 235B-A22B

Qwen3 235B-A22B Q4_K_M · 8K context
M3 Ultra (80-core GPU) · 512 GBMac Studio~141 GB · 20–32 tok/s estimateExcellent
M4 Max (40-core GPU) · 128 GBMacBook Pro 14, MacBook Pro 16~141 GB · No dataIncompatible
M3 Max (40-core GPU) · 128 GBMacBook Pro 14, MacBook Pro 16~141 GB · No dataIncompatible
M4 Pro (20-core GPU) · 64 GBMac mini, MacBook Pro 14~141 GB · No dataIncompatible
M4 Max (32-core GPU) · 36 GBMacBook Pro 14, MacBook Pro 16~141 GB · No dataIncompatible
M4 · 32 GBMacBook Air, MacBook Pro 14~141 GB · No dataIncompatible
M5 · 32 GBMacBook Pro 14~141 GB · No dataIncompatible
M3 · 24 GBMacBook Air, MacBook Pro 14~141 GB · No dataIncompatible

EstimateData updated 24 days agoSource: Run LLM Locally engine

Limits in plain words

Qwen3 235B-A22B is a mixture-of-experts model: all 235B parameters must be in memory, but only 22B are read per token, so it generates much faster than a dense model of the same size.

The KV cache grows with context: at 32K it adds about 5.9 GB on top of the weights.

With under 8 GB of VRAM, use a smaller quantization or a smaller model of the same family.

Where to buy

Prices and links follow the market you choose.

RTX PRO 6000 Blackwell Workstation Edition

NVIDIA

ExcellentRuns Qwen3 235B-A22B Q4_K_M entirely in memory

Price not available

Availability unknown

View on amazon.com

Affiliate link

Mac Studio M3 Ultra

Apple Silicon

ExcellentRuns Qwen3 235B-A22B Q4_K_M entirely in memory

Price not available

Availability unknown

View on amazon.com

Affiliate link

No current offer imported for this market: the link opens a marketplace search.

Frequently asked questions

How much VRAM does Qwen3 235B-A22B need?
About 143 GB at Q4_K_M with an 8K context, including the KV cache and runtime overhead. At Q8_0 it needs about 247 GB. A longer context adds more: about 5.9 GB of KV cache at 32K.
Can Qwen3 235B-A22B run on a Mac?
Yes on a Mac whose GPU can use at least 141 GB, e.g. M3 Ultra (80-core GPU) 512 GB. macOS lets the GPU use about two thirds to three quarters of unified memory by default.