Compare/GPT-5.1 Codex (high) vs Gemini 2.5 Pro

GPT-5.1 Codex (high)vsGemini 2.5 Pro

Side-by-side comparison of pricing, 12 benchmarks, and generation speed.

OpenAI

GPT-5.1 Codex (high)

Input
$1.25/M
Output
$10/M
Speed
139 tok/s
TTFT
7.13s
Google

Gemini 2.5 Pro

Input
$1.25/M
Output
$10/M
Speed
131 tok/s
TTFT
23.22s

Winner by Category

Cheaper
Tie
Faster (tok/s)
GPT-5.1 Codex (high)
Lower Latency
GPT-5.1 Codex (high)
Benchmarks (9-3)
GPT-5.1 Codex (high)

Pricing Comparison

MetricGPT-5.1 Codex (high)Gemini 2.5 Pro
Input ($/M tokens)$1.25$1.25
Output ($/M tokens)$10$10
Cost for 1M input + 100K output tokens:
GPT-5.1 Codex (high)$2.25
Gemini 2.5 Pro$2.25

Speed Comparison

Output Speed (tokens/s) — higher is better
GPT-5.1 Codex (high)
139 tok/s
Gemini 2.5 Pro
131 tok/s
Time to First Token (seconds) — lower is better
GPT-5.1 Codex (high)
7.13s
Gemini 2.5 Pro
23.22s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
43.134.6
Coding Index
36.631.9
Math Index
95.787.7
GPQA Diamond
86.0%84.4%
MMLU-Pro
86.0%86.2%
LiveCodeBench
84.9%80.1%
AIME 2025
95.7%87.7%
MATH-500
96.7%
Humanity's Last Exam
23.4%21.1%
SciCode
40.2%42.8%
IFBench
70.0%48.7%
TerminalBench
34.8%26.5%
GPT-5.1 Codex (high)9 wins
3 winsGemini 2.5 Pro

Frequently Asked Questions

Which is cheaper, GPT-5.1 Codex (high) or Gemini 2.5 Pro?

Both models have similar pricing. Check the detailed breakdown above for input vs output token costs.

Which model performs better on benchmarks?

GPT-5.1 Codex (high) wins 9 out of 12 benchmarks compared to 3 for Gemini 2.5 Pro. See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

GPT-5.1 Codex (high) generates tokens faster at 139 tok/s vs 131 tok/s. GPT-5.1 Codex (high) also has lower time-to-first-token (7.13s vs 23.22s).

When should I use GPT-5.1 Codex (high) vs Gemini 2.5 Pro?

Choose based on your priorities: both are similarly priced, GPT-5.1 Codex (high) for stronger benchmark performance, and GPT-5.1 Codex (high) for faster generation. For latency-sensitive apps, check the TTFT comparison above.