Skip to main content
Back

Alibaba's Qwen3-30B-A3B Shrinks to Half Its Size for Single-GPU Serving

Qwen's updated 30B mixture-of-experts model drops in FP8 form, bringing 256K context and frontier-level benchmarks to a 3.3B active-parameter footprint.

Pro

  • Qwen3-30B-A3B-Instruct-2507-FP8 ships the July refresh in fine-grained FP8 with block size 128.
  • 30.5B total parameters, 3.3B activated, 128 experts with 8 routed per token, 48 layers.
  • Native 262,144-token context window, non-thinking mode only, apache-2.0 license.
  • Hits 90.0 ZebraLogic, 61.3 AIME25, 69.0 Arena-Hard v2, often beating GPT-4o-0327.
  • Weak spots: Aider-Polyglot at 35.6 and some TAU agent benchmarks lag frontier models.
  • Runs out of the box on vLLM, SGLang, transformers, Ollama, llama.cpp, MLX-LM.

Alibaba’s Qwen team has released an FP8 checkpoint of its July 2025 Qwen3-30B-A3B instruction model. The release cuts weight memory roughly in half compared with bfloat16 while preserving the refreshed model’s 262,144-token context window and reported benchmark performance.

The checkpoint gives developers a practical route to self-hosting a 30.5-billion-parameter mixture-of-experts model on one sufficiently large GPU. Its 3.3-billion active parameters reduce per-token computation, although the full model must remain in memory and long contexts add a substantial KV-cache cost.

30B weights, 3.3B active

Specification Qwen3-30B-A3B-Instruct-2507
Total parameters 30.5B
Active parameters per token 3.3B
Transformer layers 48
Experts 128 total, 8 selected per token
Attention 32 query heads, 4 key-value heads
Native context window 262,144 tokens
Weight format Fine-grained FP8
License Apache 2.0

The router selects eight experts for each token, so only part of the feed-forward network runs at each step. That lowers computation relative to a dense 30B model while retaining a larger pool of weights across the network. Active parameter count describes compute; deployment memory must still accommodate all 30.5B parameters, attention layers, runtime buffers, and the KV cache.

July refresh removes think blocks

The 2507 checkpoint is the direct-response variant. It emits final answers without visible reasoning blocks, and applications can remove the earlier enable_thinking=False setting. Qwen reports improvements in four areas:

  • Instruction following, reasoning, comprehension, mathematics, science, coding, and tool use.
  • Long-tail knowledge across multiple languages.
  • Preference alignment for subjective and open-ended prompts.
  • Understanding across contexts of up to 256K tokens.

Reasoning leads; agents lag

Qwen’s model card reports strong results against DeepSeek-V3-0324, GPT-4o-0327, and the direct-response configuration of Gemini 2.5 Flash. Each benchmark has its own scale, so comparisons apply within individual rows.

Benchmark Qwen score Reported comparison
ZebraLogic 90.0 DeepSeek-V3: 83.4; GPT-4o: 52.6
AIME25 61.3 Gemini 2.5 Flash: 61.6; GPT-4o: 26.7
Arena-Hard v2 win rate 69.0 GPT-4o: 61.9
MultiPL-E 83.8 Above the listed GPT-4o and DeepSeek-V3 results
PolyMATH 43.1 Highest result in the listed comparison set
Aider-Polyglot 35.6 DeepSeek-V3: 55.1; Qwen3-235B: 59.6
TAU2-Telecom 12.3 DeepSeek-V3: 34.0

Aider-Polyglot exposes a weakness in multi-file code editing, while TAU2-Telecom shows uneven reliability in domain-specific tool use. Prompting, sampling, tool scaffolding, and judge configuration can affect these scores, making workload-specific evaluation essential for coding agents and automated workflows.

FP8 memory math

The checkpoint uses fine-grained FP8 quantization with a block size reported as 128 in the quantization_config section of config.json. At one byte per parameter, 30.5B weights require about 30.5 GB before quantization scales, runtime buffers, and framework overhead. The equivalent bfloat16 weights require roughly twice that storage.

FP8-capable GPUs can accelerate matrix multiplication when the serving runtime provides compatible kernels. The 262K context remains expensive because the KV cache grows with sequence length and batch size; a single full-length sequence can consume tens of gigabytes depending on cache precision and runtime implementation. Cards with 32 GB of VRAM are therefore tight even when the raw weights fit, while larger-memory GPUs provide room for useful context lengths and concurrency.

A practical launch path

Qwen recommends recent serving packages for the official FP8 checkpoint:

Runtime Minimum version Use
vLLM 0.8.5 OpenAI-compatible serving
SGLang 0.4.6.post1 OpenAI-compatible serving
Transformers 4.51.0 Direct Python inference

A conservative vLLM launch starts with a 32,768-token limit:

vllm serve Qwen/Qwen3-30B-A3B-Instruct-2507-FP8 --max-model-len 32768

Deployments with sufficient VRAM can raise --max-model-len toward the native 262,144-token limit. Reducing that value is the first adjustment when model loading or KV-cache allocation causes an out-of-memory error. Transformers versions older than 4.51.0 can fail with a KeyError for qwen3_moe.

Ollama, LM Studio, MLX-LM, llama.cpp, and KTransformers support Qwen3 through their respective integrations or converted formats. Compatibility with the official FP8 SafeTensors checkpoint varies by runtime, so deployments should verify the exact model format and kernel path.

Qwen recommends the following starting values for general generation:

Parameter Suggested value
Temperature 0.7
Top-p 0.8
Top-k 20
Min-p 0
Presence penalty 0 to 2
Maximum output 16,384 tokens for most queries

Workloads that fit

The model’s sparse compute, long context, multilingual training, and Apache 2.0 license support several deployment patterns:

  1. Repository-aware coding assistants: The context window can hold large portions of a codebase, though the Aider-Polyglot result warrants testing on multi-file edits.
  2. Long-document analysis: Documents or medium-sized corpora can fit directly in the prompt, reducing retrieval infrastructure in some applications. Long prompts still increase latency and may benefit from retrieval for relevance and cost control.
  3. Tool-using agents: Qwen-Agent supplies tool-calling templates and parsers, including configuration for Model Context Protocol servers. The mixed TAU results make domain-level validation important.
  4. Multilingual pipelines: The refresh targets long-tail language coverage, but production evaluations should reflect the languages, dialects, and document types in the intended workload.

Apache 2.0 licensing permits broad commercial and internal use subject to the license’s notice and attribution conditions. That gives teams more control over deployment, logging, fine-tuning, and data residency than a hosted-only model.

A single-GPU target with boundaries

Qwen3-30B-A3B-Instruct-2507-FP8 offers high reported reasoning performance for its per-token compute and can run on one GPU with enough memory. The strongest deployment case combines a 48 GB or larger accelerator, a context limit matched to the workload, and runtime kernels that execute the FP8 weights efficiently.

Multi-file coding and specialized agent tasks remain the clearest evaluation priorities. Teams considering the model can find architectural background in the technical report and track implementation updates in the Qwen3 repository.