GPT-5.1 Codex Max vs xAI Grok 4
30-second takeaway
- GPT-5.1 Codex Max has the cheaper input: $1.25 vs $3 (per 1M tokens, 58% less)
- GPT-5.1 Codex Max has the larger context: 400K vs 256K tokens
| GPT-5.1 Codex Max Abacus | xAI Grok 4 Helicone | |
|---|---|---|
| Input | $1.25 | $3 |
| Output | $10 | $15 |
| Context | 400K | 256K |
More specs (max output / capabilities)
| max output | 128,000 | 256,000 |
| Reasoning | ✓ Yes | — No |
| Tool calls | ✓ Yes | ✓ Yes |
| Open weights | — No | — No |
Prices are official/data-source rates (per 1M tokens), not what relays actually charge — relay prices vary with discounts and group multipliers. See methodology.