Updated March 26, 2026· Based on independent benchmark data
Gemini 3.1 Pro Preview leads in intelligence with a score of 57.2 vs 38.6. GPT-5.1 Codex mini (high) is 8.0x cheaper at $0.25/1M tokens vs $2.00/1M. For speed, GPT-5.1 Codex mini (high) wins at 176 tok/s vs 113 tok/s.
| Metric | GPT-5.1 Codex mini (high) | Gemini 3.1 Pro Preview |
|---|---|---|
| Intelligence Score | 38.6 | 57.2 |
| Coding Score | 36.4 | 55.5 |
| Math Score | 91.7 | N/A |
| Speed (tok/s) | 176 tok/s | 113 tok/s |
| Latency (TTFT) | 5.11s | 23.84s |
| Input Price / 1M tokens | $0.25 | $2.00 |
| Output Price / 1M tokens | $2.00 | $12 |
| Context Window | N/A |
Gemini 3.1 Pro Preview outperforms GPT-5.1 Codex mini (high) on the intelligence index with a score of 57.2 compared to 38.6. For coding tasks, Gemini 3.1 Pro Preview has the edge with a coding score of 55.5 vs 36.4.
GPT-5.1 Codex mini (high) generates output significantly faster at 176 tok/s compared to Gemini 3.1 Pro Preview's 113 tok/s, making it 1.6x faster for streaming responses. Time to first token is 5.11s for GPT-5.1 Codex mini (high) vs 23.84s for Gemini 3.1 Pro Preview, which affects perceived responsiveness in interactive applications.
GPT-5.1 Codex mini (high) is more affordable at $0.25/1M input tokens ($2.00/1M output), while Gemini 3.1 Pro Preview costs $2.00/1M input ($12/1M output). That makes Gemini 3.1 Pro Preview 8.0x more expensive per token, which can add up significantly at scale. For a typical workload of 100 requests per day at 2,000 tokens each, GPT-5.1 Codex mini (high) would cost approximately $1.50/month vs $12.00/month for Gemini 3.1 Pro Preview in input costs alone.
Choose GPT-5.1 Codex mini (high) when you need faster output (176 tok/s), lower cost. Choose Gemini 3.1 Pro Preview when you need higher intelligence (57.2), stronger coding performance (55.5).
Gemini 3.1 Pro Preview scores higher on coding benchmarks (55.5 vs 36.4), making it the better choice for programming tasks.
GPT-5.1 Codex mini (high) is cheaper at $0.25/1M input tokens vs $2.00/1M for Gemini 3.1 Pro Preview.
GPT-5.1 Codex mini (high) is faster, producing output at 176 tok/s compared to Gemini 3.1 Pro Preview's 113 tok/s.
No, GPT-5.1 Codex mini (high) does not support image input. However, Gemini 3.1 Pro Preview does support images.
Data last synced: March 26, 2026
| 1.0M |
| Max Output Tokens | N/A | N/A |
| Input Modalities | Text | Audio + File + Image + Text + Video |
| Output Modalities | Text | Text |
| Free Tier | No | No |
It depends on your priorities. Gemini 3.1 Pro Preview scores higher on intelligence (57.2), but GPT-5.1 Codex mini (high) may be better for specific use cases like budget-conscious projects or speed-critical applications.