Models / QwQ 32B

QwQ 32B

Qwen Tier 1Apache-2.0

Dedicated reasoning model. Competitive with DeepSeek-R1 and o1-mini on math, logic, and code reasoning tasks.

qwen/qwq-32b
Context Window
33K
Max Output
16K
Providers
1
Released
2025-03

Capabilities

chatcodereasoningthinkingstreaming

Pricing by Provider

ProviderInput $/1MOutput $/1MLatency p50Latency p95Status
alibaba$0.20$0.60400ms1200ms

Quick Start

Python
import magicrouter

mr = magicrouter.Client(
    provider_keys={"alibaba": "your-api-key"}
)

response = mr.chat(
    "qwen/qwq-32b",
    "Your prompt here"
)
print(response.choices[0].message.content)
TypeScript
import { MagicRouter } from "magicrouter";

const mr = new MagicRouter({
  providerKeys: { alibaba: "your-api-key" }
});

const response = await mr.chat({
  model: "qwen/qwq-32b",
  messages: [{ role: "user", content: "Your prompt here" }]
});
console.log(response.choices[0].message.content);
cURL
curl https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwq-plus",
    "messages": [{"role": "user", "content": "Your prompt here"}]
  }'

Use this model

Sign up for free and test QwQ 32B in the playground

Get Started
QwQ 32B — MagicRouter