Updated March 26, 2026· Based on independent benchmark data
Gemini 3.1 Pro Preview leads in intelligence with a score of 57.2 vs 44.6. GPT-5 Codex (high) is 1.6x cheaper at $1.25/1M tokens vs $2.00/1M. For speed, GPT-5 Codex (high) wins at 180 tok/s vs 113 tok/s.
| Metric | Gemini 3.1 Pro Preview | GPT-5 Codex (high) |
|---|---|---|
| Intelligence Score | 57.2 | 44.6 |
| Coding Score | 55.5 | 38.9 |
| Math Score | N/A | 98.7 |
| Speed (tok/s) | 113 tok/s | 180 tok/s |
| Latency (TTFT) | 23.84s | 9.17s |
| Input Price / 1M tokens | $2.00 | $1.25 |
| Output Price / 1M tokens | $12 | $10 |
| Context Window | 1.0M |
Gemini 3.1 Pro Preview outperforms GPT-5 Codex (high) on the intelligence index with a score of 57.2 compared to 44.6. For coding tasks, Gemini 3.1 Pro Preview has the edge with a coding score of 55.5 vs 38.9.
GPT-5 Codex (high) generates output significantly faster at 180 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 9.17s for GPT-5 Codex (high) vs 23.84s for Gemini 3.1 Pro Preview, which affects perceived responsiveness in interactive applications.
GPT-5 Codex (high) is more affordable at $1.25/1M input tokens ($10/1M output), while Gemini 3.1 Pro Preview costs $2.00/1M input ($12/1M output). For a typical workload of 100 requests per day at 2,000 tokens each, Gemini 3.1 Pro Preview would cost approximately $12.00/month vs $7.50/month for GPT-5 Codex (high) in input costs alone.
Choose Gemini 3.1 Pro Preview when you need higher intelligence (57.2), stronger coding performance (55.5). Choose GPT-5 Codex (high) when you need faster output (180 tok/s), lower cost.
Gemini 3.1 Pro Preview scores higher on coding benchmarks (55.5 vs 38.9), making it the better choice for programming tasks.
GPT-5 Codex (high) is cheaper at $1.25/1M input tokens vs $2.00/1M for Gemini 3.1 Pro Preview.
GPT-5 Codex (high) is faster, producing output at 180 tok/s compared to Gemini 3.1 Pro Preview's 113 tok/s.
Yes, Gemini 3.1 Pro Preview supports image input. GPT-5 Codex (high) does not support image input.
Data last synced: March 26, 2026
| N/A |
| Max Output Tokens | N/A | N/A |
| Input Modalities | Audio + File + Image + Text + Video | Text |
| 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 Codex (high) may be better for specific use cases like budget-conscious projects or speed-critical applications.