GPT-5.1-Codex-Mini vs GLM 4.6
Both have similar output pricing, while GPT-5.1-Codex-Mini offers a larger context window. Choose GPT-5.1-Codex-Mini or GLM 4.6 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | GPT-5.1-Codex-Mini | GLM 4.6 |
|---|---|---|
| Provider | OpenAI | Z.ai |
| Input / 1M tokens | $0.25 | $0.50 |
| Output / 1M tokens | $2.00 | $2.00 |
| Context window | 400K | 205K |
| Parameters | — | 357B |
| Open weights | No | Yes |
| Released | Nov 2025 | Sep 2025 |
| LiveBench score | 60.8 | 54.7 |
| LMArena WebDev Elo score | 1243 | 1341 |
| SWE-bench Verified score | — | 68.2 |
| LMArena (Chatbot Arena) Elo score | — | 1440 |
| FrontierMath score | — | 3.8 |
FAQ
Is GPT-5.1-Codex-Mini or GLM 4.6 cheaper?
GPT-5.1-Codex-Mini and GLM 4.6 have comparable output pricing.
Which has the larger context window, GPT-5.1-Codex-Mini or GLM 4.6?
GPT-5.1-Codex-Mini has the larger context window (400K tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.