Qwen 3 Coder
Alibaba · released 2026-03-01
Quality (AA Index)82
Input price$0.40
Output price$1.60
Context256K
Throughput180 tok/s
P50 latency0.6s
Side-by-side pricing, capabilities, real-world cost across common scenarios, and our editorial pick.
Alibaba · released 2026-03-01
xAI · released 2026-02-20
链接通过我们的 OpenRouter 推荐链接在新标签页打开。 查看推广披露
| Metric | Qwen 3 Coder | Grok 3 | Verdict |
|---|---|---|---|
Input price /百万 tokens | $0.40 | $2.50 | Qwen 3 Coder −84% |
Output price /百万 tokens | $1.60 | $12.00 | Qwen 3 Coder −87% |
Context window max input length | 256K | 128K | Qwen 3 Coder +2.0× |
AA Quality AA Intelligence Index (0–100) | 82 | 85 | Grok 3 +3pt |
Arena Elo LMArena human-pref Elo (800–2000) | — | — | Tied |
Throughput tokens per second | 180 | 95 | Qwen 3 Coder +89% |
P50 latency first token | 0.6s | 1.4s | Qwen 3 Coder −57% |
Vision multimodal | — | ||
Function calling tool use | Tied | ||
Reasoning mode chain-of-thought | — |
| Scenario | Qwen 3 Coder | Grok 3 |
|---|---|---|
customer support 1000K req · 600/180 tok | $528 | $3.7K |
chat with docs 300K req · 4000/300 tok | $624 | $4.1K |
code generation 500K req · 2000/500 tok | $800 | $5.5K |
voice assistant 600K req · 800/200 tok | $384 | $2.6K |
Set Qwen 3 Coder as primary, Grok 3 as fallback. One key, one bill, automatic failover when Qwen 3 Coder errors.
$ curl https://api.aipricly.com/v1/chat/completions \
-H "Authorization: Bearer $AIPC_KEY" \
-d '{
"routing": {
"primary": "alibaba/qwen-3-coder",
"fallback": ["xai/grok-3"]
},
"messages": [{"role": "user", "content": "..."}]
}'