Gemini 3.1 Pro vs GPT-5.1-Codex
Google vs OpenAI — benchmarks, pricing, and capabilities side by side.
- •GPT-5.1-Codex has the higher intelligence index (88.2 vs 83.2)
- •GPT-5.1-Codex is cheaper ($1.25 vs $2.00 per 1M input)
- •GPT-5.1-Codex is faster
- •Gemini 3.1 Pro has a larger context window (1M)
| Gemini 3.1 Pro | GPT-5.1-Codex | |
|---|---|---|
| Intelligence index | 83.2 | 88.2 |
| Developer | OpenAI | |
| Type | Multimodal | Multimodal |
| Access | API only | API only |
| Context window | 1,048,576 tokens | 400,000 tokens |
| Input price | $2.00 / 1M | $1.25 / 1M |
| Output price | $12.00 / 1M | $10.00 / 1M |
| Speed | 142 tok/s | 188 tok/s |
| Released | February 19, 2026 | November 13, 2025 |
| Parameters | — | — |
| Input modalities | Text, Image, Audio, Video | Text, Image |
| Output modalities | Text | Text |
Shared benchmarks
Gemini 3.1 Pro
GPT-5.1-Codex
GPQA Diamond
94.3
86
Humanity’s Last Exam
44.4
23.4