o4-mini vs Gemini 3.1 Pro Preview
30-second takeaway
- o4-mini has the cheaper input: $1.1 vs $2 (per 1M tokens, 45% less)
- Gemini 3.1 Pro Preview has the larger context: 1.049M vs 200K tokens
| o4-mini OpenAI | Gemini 3.1 Pro Preview OpenCode | |
|---|---|---|
| Input | $1.1 | $2 |
| Output | $4.4 | $12 |
| Context | 200K | 1.049M |
More specs (max output / capabilities)
| max output | 100,000 | 65,536 |
| Reasoning | ✓ Yes | ✓ 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.