IDE code generation: Grok Build 0.1 ($1/$2) vs Qwen 2.5 Coder 32B ($0.20/$0.60).
grok-build-0-1 · xai
qwen-2.5-coder-32b-instruct · qwen
Benchmark
| Workload Scenario | Grok Build 0.1 | Qwen 2.5 Coder 32B | Price Delta |
|---|---|---|---|
| 1M input tokens (raw text) | $1.00 | $0.20 | +$0.80 |
| 1M output tokens (generation) | $2.00 | $0.60 | +$1.40 |
| 1M tokens · 70% input / 30% output mix | $1.30 | $0.32 | +$0.98 |
| Standard chat turn (4K in / 800 out, 50% cached) | $0.004 | $0.00092 | +$0.00308 |
| Monthly scale (10K requests / day) | $1,200.00 | $276.00 | +$924.00 |
Negative difference = Grok Build 0.1 is cheaper. Positive = Qwen 2.5 Coder 32B is cheaper.
Scaling Curve
Total cost of a token volume at 70/30 input/output split (uncached). Log-log scale.
Verdict
Qwen 2.5 Coder 32B is cheaper on both input and output rates, so it costs less at every input/output mix. Price alone still isn't the whole decision: capability, latency and context limits (Grok Build 0.1: 256K, Qwen 2.5 Coder 32B: 128K) may justify the premium for your task.
FAQ
On input, Qwen 2.5 Coder 32B is cheaper ($0.20/M vs $1.00/M). On output, Qwen 2.5 Coder 32B is cheaper ($0.60/M vs $2.00/M). The same model is cheaper on both sides, so it wins at every mix.
A chat-style request (4,000 input + 800 output tokens, 50% cached) costs $0.004 on Grok Build 0.1 and $0.00092 on Qwen 2.5 Coder 32B — Qwen 2.5 Coder 32B is 4.3× more expensive for that workload.
Grok Build 0.1 supports 256,000 tokens (32.8K max output); Qwen 2.5 Coder 32B supports 128,000 (8.2K max output). Grok Build 0.1 fits 2.0× more context, which matters for long documents and agents.