Back to Models

Qwen3 32B

qwenqwen/qwen3-32b

Qwen3 dense 32B model. Excellent reasoning and coding at moderate size with thinking mode support.

Qwen3 32B is Alibaba Qwen's dense 32.8B-parameter open-weight reasoning model. It sits between the smaller Qwen3 dense models and the larger Qwen3 MoE flagships: still practical for controlled serving, but large enough for serious coding, math, multilingual chat, and tool-using agent workloads.

TheRouter exposes it as qwen/qwen3-32b with OpenAI-compatible chat completions, 131K context routing, tools, JSON mode, and a reasoning parameter. Use it when you want a single Qwen model that can switch between fast non-thinking responses and deeper thinking-mode reasoning without moving to a much larger flagship.

Best for
  • • Cost-controlled reasoning and coding agents that need tools, JSON responses, and a larger dense model than 8B/14B siblings
  • • Multilingual product support, translation, and analysis where Qwen3's 100+ language coverage matters
  • • Longer-context summaries and document workflows where 131K routed context is more important than frontier-model quality
Reach for something else if
  • • Highest-stakes autonomous repository edits — route to qwen/qwen3-coder-480b or a frontier coding model when failure cost dominates
  • • Vision or multimodal input — use qwen/qwen3-vl-plus or another vision-capable model instead
  • • Ultra-low-latency autocomplete — use qwen/qwen3-coder-30b or a smaller non-reasoning model when p95 latency is the bottleneck
Context Length
131K
Max Output
33K
Input Priceper 1M tokens
$0.1728/ 1M tokens
Output Priceper 1M tokens
$0.6912/ 1M tokens

Modalities

text→text

Pricing Breakdown

TypeRate
Input$0.1728 / 1M tokens
Output$0.6912 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatreasoningstop

Specifications

ArchitectureDense causal language model (all 32.8B parameters active per token)huggingface.co ↗verified
Parameters32.8B total (31.2B non-embedding)huggingface.co ↗verified
Layers64 transformer layershuggingface.co ↗verified
Attention heads (GQA)64 query heads / 8 KV heads (GQA)huggingface.co ↗verified
Native context window32,768 tokens (native); 131,072 tokens with YaRN positional interpolationhuggingface.co ↗verified
Thinking modeHybrid: single checkpoint supports both thinking (chain-of-thought in <think> blocks) and non-thinking mode; switch via enable_thinking flag or /think / /no_think tokenhuggingface.co ↗verified
Language support119 languages and dialects (Indo-European, Sino-Tibetan, Afro-Asiatic, Austronesian, Dravidian, Turkic, Tai-Kadai, Uralic, and more)qwenlm.github.io ↗verified
LicenseApache 2.0huggingface.co ↗verified
Pretraining data~36 trillion tokens across 119 languages (approx. 2× Qwen2.5's 18T); includes web, PDF extraction, synthetic math/code dataqwenlm.github.io ↗verified

Benchmarks

BenchmarkDistributionScoreSource
AIME 2024
Thinking mode; reported in the Qwen3 official blog as part of the Qwen3-32B evaluation table.
85.7%%qwenlm.github.io ↗
MATH-500
Thinking mode; from Qwen3 official blog evaluation table.
95.5%%qwenlm.github.io ↗
LiveCodeBench
Thinking mode; from Qwen3 official blog evaluation table.
65.9%%qwenlm.github.io ↗
BFCL (Berkeley Function-Calling Leaderboard)
Tool-calling benchmark; non-thinking mode; from Qwen3 official blog.
70.8%%qwenlm.github.io ↗
MMLU-Pro
Non-thinking mode; from Qwen3 official blog evaluation table.
74.9%%qwenlm.github.io ↗
C-Eval
Chinese comprehensive evaluation; from Qwen3 official blog.
91.8%%qwenlm.github.io ↗

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "qwen/qwen3-32b",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'

Chat completion

Standard OpenAI-compatible chat completions. Omit the reasoning parameter for non-thinking (fast) mode; set reasoning: {} or a budget to enable thinking mode.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3-32b",
    "messages": [
      {"role": "user", "content": "Explain the tradeoffs between dense and MoE architectures for inference."}
    ],
    "temperature": 0.7,
    "max_tokens": 2048
  }'

More from qwen

Similar models

Cross-provider sibling models

News & changes

2025-04-29

Qwen3 launches dense 32B open-weight model with hybrid thinking modes

Alibaba's Qwen3 release includes Qwen3-32B alongside five other dense models and two MoE models, emphasizing hybrid thinking/non-thinking operation, tool use, and multilingual coverage.

re-authored by TheRouterQwen3 announcement ↗

Frequently asked

What is qwen/qwen3-32b best used for on TheRouter?

Use it as a balanced general reasoning model: coding help, math-heavy analysis, multilingual support, JSON/tool workflows, and medium-stakes agents where a dense 32B model is enough and a larger flagship would waste margin.

Does Qwen3 32B support thinking mode?

Yes. Qwen3 was launched with hybrid thinking and non-thinking modes. On TheRouter, use qwen/qwen3-32b through the OpenAI-compatible endpoint and pass the reasoning parameter when you want deeper reasoning behavior.

How long is the Qwen3 32B context window?

The official model card lists 32,768 native tokens and 131,072 tokens with YaRN. TheRouter catalog exposes the routed context length as 131K tokens for qwen/qwen3-32b.

Is Qwen3 32B open source?

Qwen describes Qwen3-32B as an open-weight dense model released under Apache 2.0. Treat the license as source-level permission; production API usage still depends on the provider route and TheRouter billing path you choose.

Should I use qwen/qwen3-32b or qwen/qwen3-coder-30b for coding?

Use qwen/qwen3-32b when the task mixes code with general reasoning, math, multilingual product context, or tool use. Use qwen/qwen3-coder-30b when the workload is mostly code generation, autocomplete, tests, and lower-latency coding throughput.

Fact ledger — every claim on this page traces here
sourceURLretrieved
Architecturehuggingface.co ↗2026-06-08verified
Parametershuggingface.co ↗2026-06-08verified
Layershuggingface.co ↗2026-06-08verified
Attention heads (GQA)huggingface.co ↗2026-06-08verified
Native context windowhuggingface.co ↗2026-06-08verified
Thinking modehuggingface.co ↗2026-06-08verified
Language supportqwenlm.github.io ↗2026-06-08verified
Licensehuggingface.co ↗2026-06-08verified
Pretraining dataqwenlm.github.io ↗2026-06-08verified
AIME 2024qwenlm.github.io ↗2026-06-08verified
MATH-500qwenlm.github.io ↗2026-06-08verified
LiveCodeBenchqwenlm.github.io ↗2026-06-08verified
BFCL (Berkeley Function-Calling Leaderboard)qwenlm.github.io ↗2026-06-08verified
MMLU-Proqwenlm.github.io ↗2026-06-08verified
C-Evalqwenlm.github.io ↗2026-06-08verified
Qwen3 launches dense 32B open-weight model with hybrid thinking modesQwen3 announcement ↗2026-06-08verified
Help & contact