Alibaba Qwen · Released July 2025
Qwen3 235B-A22B (2507)
What it takes to run Qwen3 235B-A22B (2507) locally: memory by quantization, the GPUs that handle it, and how fast it runs.
Updated
- Parameters
- 235B (22B active)
- Architecture
- Mixture of experts
- Context
- 256K tokens
- License
- Apache 2.0 license
- Memory at Q4_K_M
- ~149GB
What do you need to run Qwen3 235B-A22B (2507)?
Qwen3 235B-A22B (2507) needs about 149GB of VRAM at Q4_K_M with 8K context (142GB for the weights plus KV cache and overhead). Because it is a mixture-of-experts model with 22B active parameters, it generates text much faster than a dense model of the same size, and it tolerates partial CPU offload better.
What to buy
GPUs for Qwen3 235B-A22B (2507)
Speeds are estimates at the quantization shown with 8K context. We may earn a commission when you buy through these links. Learn more.
Memory
Qwen3 235B-A22B (2507) VRAM requirements by quantization
Lower-bit quantizations shrink the model at some cost to quality. Q4_K_M is the usual sweet spot. Totals include the KV cache for the context length shown plus runtime overhead.
| Quantization | Quality | Weights | Total @ 8K ctx | Total @ 32K ctx |
|---|---|---|---|---|
| Q2_K | Rough | 88 GB | 93 GB | 98 GB |
| Q3_K_M | Usable | 115 GB | 120 GB | 125 GB |
| Q4_K_M | RecommendedDefault | 142 GB | 149 GB | 154 GB |
| Q5_K_M | Very good | 167 GB | 175 GB | 179 GB |
| Q6_K | Near-lossless | 194 GB | 202 GB | 207 GB |
| Q8_0 | Practically lossless | 250 GB | 259 GB | 264 GB |
| BF16 | Full precision | 470 GB | 486 GB | 491 GB |
KV cache note: 2 x 94 layers x 4 KV heads x 128 dims x 2 bytes = 192,512 bytes (188 KiB) per token: about 1.6GB at 8K and 50GB at the full 262K context.
Performance
How fast Qwen3 235B-A22B (2507) runs
Single-user generation speed on popular GPUs that fit the model entirely in memory, at the best quantization each can hold.
M5 Ultra 256GB
Q4_K_M · 256GB
~27tok/s
M5 Ultra 512GB
Q8_0 · 512GB
~16tok/s
M3 Ultra 512GB
Q8_0 · 512GB
~11tok/s
Ryzen AI Max+ PRO 495
Q3_K_M · 192GB
~11tok/s
Overview
About Qwen3 235B-A22B (2507)
Qwen3 235B-A22B was Alibaba's open flagship for 2025, and its July 2025 (2507) Instruct and Thinking refreshes were among the best open models of that year. It has been superseded by the Qwen3.5 generation: Qwen3.5 122B-A10B matches or beats it in about half the memory, and Qwen3.5 397B-A17B replaced it at the top. At Q4_K_M it needs roughly 150GB with 8K context, which means a 192GB or larger Mac Studio, a multi-GPU workstation, or a server with lots of RAM for expert offload. With 22B active parameters it is noticeably slower per token than newer 10B to 17B active designs.
Strengths
- +Broad knowledge and strong writing for an open model of its generation
- +262K native context and separate Instruct and Thinking checkpoints
- +Apache 2.0 license
Weaknesses
- −Needs about 150GB at Q4_K_M, beyond any single consumer GPU
- −Superseded by Qwen3.5 122B-A10B, which is about as capable in half the memory
- −22B active parameters make it slower than newer sparse models on the same hardware
- −Text only
Setup
How to run Qwen3 235B-A22B (2507)
$ ollama run qwen3:235b$ llama-server -hf unsloth/Qwen3-235B-A22B-Instruct-2507-GGUF:Q4_K_M -c 8192 -ngl 99Weights: Qwen/Qwen3-235B-A22B-Instruct-2507 · GGUF: unsloth/Qwen3-235B-A22B-Instruct-2507-GGUF
Alternatives
Models like Qwen3 235B-A22B (2507)
Alibaba Qwen
Qwen3.5 122B-A10B
122B (10B active) · 256K ctx
DeepSeek
DeepSeek V4 Flash
284B (13B active) · 1.0M ctx
Z.ai
GLM-5.3-Flash
320B (18B active) · 1.0M ctx
OpenAI
gpt-oss-120b
117B (5.1B active) · 128K ctx
Frequently asked questions
How much VRAM do you need to run Qwen3 235B-A22B (2507)?
About 149GB at Q4_K_M with 8K tokens of context: 142.5GB of weights, 1.6GB of KV cache, and 4.9GB of runtime overhead. Higher-precision quants and longer contexts need more; see the table above.
Is Qwen3 235B-A22B (2507) free for commercial use?
Qwen3 235B-A22B (2507) is released under the Apache 2.0 license. That is a permissive license, so commercial use is allowed.
How long a context does Qwen3 235B-A22B (2507) support?
Up to 262,144 tokens (256K). Long contexts need a lot of extra memory for the KV cache, so most local setups run 8K to 32K.
Sources: Qwen3 235B-A22B Instruct 2507 model card (Hugging Face), Qwen3 235B-A22B Thinking 2507 model card (Hugging Face). Capability score basis: Placed just below the gpt-oss-120b anchor from the Artificial Analysis Intelligence Index v3 standing of the 2507 Thinking variant (October 2025).