Models / Qwen2.5 Coder 32B
Qwen2.5 Coder 32B
Tier 1Apache-2.0Stable code generation model. Competitive with GPT-4o on coding benchmarks. Well-suited for production coding pipelines.
qwen/qwen2.5-coder-32bContext Window
131K
Max Output
16K
Providers
1
Released
2024-11
Capabilities
ChatCodeToolsStreaming
Pricing by Provider
Prices shown are the official rate published by the model provider, before any platform discounts. Your actual rate may be lower based on your account's discount tier.
| Provider | Price | Latency p50 | Latency p95 | Status |
|---|---|---|---|---|
| alibaba | $1.00 /M in · $5.00 /M out | 350ms | 900ms |
Quick Start
Python
import magicrouter
mr = magicrouter.Client(
provider_keys={"alibaba": "your-api-key"}
)
response = mr.chat(
"qwen/qwen2.5-coder-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/qwen2.5-coder-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": "qwen3-coder-plus",
"messages": [{"role": "user", "content": "Your prompt here"}]
}'