glm-for-coding vs claude-sonnet-4-5
glm-for-coding is cheaper on output tokens. Choose glm-for-coding or claude-sonnet-4-5 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | glm-for-coding | claude-sonnet-4-5 |
|---|---|---|
| Provider | 302.AI | 302.AI |
| Input / 1M tokens | $0.09 | $3.00 |
| Output / 1M tokens | $0.34 | $15.00 |
| Context window | 200K | 200K |
| Parameters | — | — |
| Open weights | No | No |
| Released | Sep 2025 | Sep 2025 |
FAQ
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.