Back to Models
Qwen3 Coder 30B
qwenqwen/qwen3-coder-30b
Qwen3's efficient coding model (30B MoE, 3B active). Fast code generation at low cost.
Context Length
262K
Max Output
66K
Input Price
$0.240/ 1M tokens
Output Price
$0.960/ 1M tokens
Modalities
text→text
Pricing Breakdown
| Type | Rate |
|---|---|
| Input | $0.240 / 1M tokens |
| Output | $0.960 / 1M tokens |
Supported Parameters
temperaturemax_tokenstop_ptoolstool_choiceresponse_formatreasoningstop
API Usage Examples
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-coder-30b",
"messages": [
{"role": "user", "content": "Summarize the key points from this input."}
]
}'