Qwen · text · mixture of experts

Qwen3-235B-A22B

Qwen/Qwen3-235B-A22B

Qwen3-235B-A22B at Q4_K_M is exactly 142,154,074,176 bytes (132.39 GiB / 142.15 GB) — an effective 4.837 bits per weight, not the nominal 4. Its KV cache at 32K is 5.88 GiB.

From the file· summed from 5 file(s)From the file· KV per layer
Parameters
235B
total, not active
Architecture
qwen3moe
94 layers
Context
40,960
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K2 shards79.81 GiB85,691,002,1122.916unsloth
Q2_K2 shards79.81 GiB85,691,002,3042.916unsloth
Q2_K_L2 shards79.94 GiB85,836,860,6402.921unsloth
Q2_K_L2 shards79.94 GiB85,836,860,8642.921unsloth
Q3_K_S3 shards94.48 GiB101,444,705,6643.452unsloth
Q3_K_S3 shards94.48 GiB101,444,705,8883.452unsloth
Q3_K_L3 shards103.54 GiB111,170,705,9203.783lmstudio-community
Q3_K_M3 shards104.72 GiB112,447,380,8323.826unsloth
Q3_K_M3 shards104.72 GiB112,447,381,0563.826unsloth
IQ4_XS3 shards116.89 GiB125,504,687,4884.271unsloth
IQ4_XS3 shards116.89 GiB125,504,687,7124.271unsloth
Q4_K_S3 shards124.51 GiB133,687,119,2004.549unsloth
Q4_K_S3 shards124.51 GiB133,687,119,4244.549unsloth
Q4_K_M5 shards132.39 GiB142,154,074,1764.837Qwen
Q4_K_M3 shards132.39 GiB142,154,075,4884.837unsloth
Q4_K_M3 shards132.39 GiB142,154,075,7124.837unsloth
Q4_K_M4 shards132.85 GiB142,646,905,4724.854lmstudio-community
Q4_13 shards137.12 GiB147,230,100,8645.010unsloth
Q4_13 shards137.12 GiB147,230,101,0565.010unsloth
Q5_06 shards150.76 GiB161,881,426,0805.509Qwen
Q5_K_S4 shards150.76 GiB161,881,427,4565.509unsloth
Q5_K_S4 shards150.76 GiB161,881,427,6485.509unsloth
Q5_K_M6 shards155.36 GiB166,814,156,9925.676Qwen
Q5_K_M4 shards155.36 GiB166,814,158,2725.676unsloth
Q5_K_M4 shards155.36 GiB166,814,158,4965.676unsloth
Q6_K7 shards179.76 GiB193,015,494,9446.568Qwen
Q6_K4 shards179.76 GiB193,015,496,1926.568unsloth
Q6_K4 shards179.76 GiB193,015,496,3846.568unsloth
Q6_K5 shards179.80 GiB193,063,238,3686.570lmstudio-community
Q8_09 shards232.77 GiB249,940,105,7928.505Qwen
Q8_07 shards232.77 GiB249,940,106,2728.505lmstudio-community
Q8_06 shards232.77 GiB249,940,107,0088.505unsloth
Q8_06 shards232.77 GiB249,940,107,2328.505unsloth
BF1610 shards437.99 GiB470,293,438,33616.004unsloth
BF1610 shards437.99 GiB470,293,438,52816.004unsloth

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.73 GiB0.73 GiB94 / 0 / 0
8,1921.47 GiB1.47 GiB94 / 0 / 0
16,3842.94 GiB2.94 GiB94 / 0 / 0
32,7685.88 GiB5.88 GiB94 / 0 / 0
65,53611.75 GiB11.75 GiB94 / 0 / 0
131,07223.50 GiB23.50 GiB94 / 0 / 0

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 123.16 GiB. The real file is 132.39 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
94
Attention heads
64
KV heads
4
Head dim
128
Hidden size
4096
Vocab
151,936
Sliding window
none
SWA period
MLA
no
Experts
128
Experts per token
8
use_sliding_window
false

Questions people ask

How much VRAM does Qwen3-235B-A22B need?
Q4_K_M is exactly 142,154,074,176 bytes (132.39 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Qwen3-235B-A22B's KV cache?
5.88 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Is Qwen3-235B-A22B a mixture-of-experts model?
Yes — 128 experts, 8 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of Qwen3-235B-A22B should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.