Updated March 25, 2026· Based on independent benchmark data
Google: Gemini 3.1 Pro Preview leads in intelligence with a score of 57.2 vs 54.0. For speed, Google: Gemini 3.1 Pro Preview wins at 117 tok/s vs 68 tok/s.
| Metric | Google: Gemini 3.1 Pro Preview | OpenAI: GPT-5.2-Codex |
|---|---|---|
| Intelligence Score | 57.2 | 54.0 |
| Coding Score | 55.5 | 53.1 |
| Math Score | N/A | N/A |
| Speed (tok/s) | 117 tok/s | 68 tok/s |
| Latency (TTFT) | 21.91s | 75.14s |
| Input Price / 1M tokens | $2.00 | $1.75 |
| Output Price / 1M tokens | $12 | $14 |
| Context Window | 1.0M |
Google: Gemini 3.1 Pro Preview outperforms OpenAI: GPT-5.2-Codex on the Artificial Analysis intelligence index with a score of 57.2 compared to 54.0. For coding tasks, Google: Gemini 3.1 Pro Preview has the edge with a coding score of 55.5 vs 53.1.
Google: Gemini 3.1 Pro Preview generates output significantly faster at 117 tok/s compared to OpenAI: GPT-5.2-Codex's 68 tok/s, making it 1.7x faster for streaming responses. Time to first token is 21.91s for Google: Gemini 3.1 Pro Preview vs 75.14s for OpenAI: GPT-5.2-Codex, which affects perceived responsiveness in interactive applications.
OpenAI: GPT-5.2-Codex is more affordable at $1.75/1M input tokens ($14/1M output), while Google: 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, Google: Gemini 3.1 Pro Preview would cost approximately $12.00/month vs $10.50/month for OpenAI: GPT-5.2-Codex in input costs alone.
Google: Gemini 3.1 Pro Preview offers a larger context window at 1.0M tokens compared to OpenAI: GPT-5.2-Codex's 400K. This means Google: Gemini 3.1 Pro Preview can process roughly 524 pages of text in a single request vs 200 pages for OpenAI: GPT-5.2-Codex. For output length, OpenAI: GPT-5.2-Codex can generate up to 128K tokens per response vs 66K for Google: Gemini 3.1 Pro Preview.
Choose Google: Gemini 3.1 Pro Preview when you need higher intelligence (57.2), stronger coding performance (55.5), faster output (117 tok/s), larger context window (1.0M).
Google: Gemini 3.1 Pro Preview scores higher on coding benchmarks (55.5 vs 53.1), making it the better choice for programming tasks.
OpenAI: GPT-5.2-Codex is cheaper at $1.75/1M input tokens vs $2.00/1M for Google: Gemini 3.1 Pro Preview.
Google: Gemini 3.1 Pro Preview is faster, producing output at 117 tok/s compared to OpenAI: GPT-5.2-Codex's 68 tok/s.
Yes, Google: Gemini 3.1 Pro Preview supports image input. OpenAI: GPT-5.2-Codex also supports images.
Benchmark data by Artificial Analysis
Data last synced: March 25, 2026
| 400K |
| Max Output Tokens | 66K | 128K |
| Input Modalities | Audio + File + Image + Text + Video | Text + Image |
| Output Modalities | Text | Text |
| Free Tier | No | No |
Google: Gemini 3.1 Pro Preview has a larger context window at 1.0M compared to OpenAI: GPT-5.2-Codex's 400K.
It depends on your priorities. Google: Gemini 3.1 Pro Preview scores higher on intelligence (57.2), but OpenAI: GPT-5.2-Codex may be better for specific use cases like budget-conscious projects or speed-critical applications.