GPT-4o vs Gemini 3.1 Pro Preview
30-second takeaway
- Gemini 3.1 Pro Preview has the cheaper input: $2 vs $2.5 (per 1M tokens, 20% less)
- Gemini 3.1 Pro Preview has the larger context: 1.049M vs 128K tokens
| GPT-4o OpenAI | Gemini 3.1 Pro Preview OpenCode | |
|---|---|---|
| Input | $2.5 | $2 |
| Output | $10 | $12 |
| Context | 128K | 1.049M |
More specs (max output / capabilities)
| max output | 16,384 | 65,536 |
| Reasoning | — No | ✓ Yes |
| 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.