GPT-5.4 mini vs xAI Grok 4
30-second takeaway
- GPT-5.4 mini has the cheaper input: $0.75 vs $3 (per 1M tokens, 75% less)
- GPT-5.4 mini has the larger context: 400K vs 256K tokens
| GPT-5.4 mini OpenAI | xAI Grok 4 Helicone | |
|---|---|---|
| Input | $0.75 | $3 |
| Output | $4.5 | $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.