Model Comparison

GPT-5 (medium)
vs. Gemini 3.1 Pro Preview

Comparing 2 AI models · 12 benchmarks · OpenAI, Google

Recommended Pick

Google logo Gemini 3.1 Pro Preview 11 metric wins

Strongest on: Throughput, TTFT, Latency

Best Value

OpenAI logo

GPT-5 (medium)

100.0 value score

73.7 reasoning / $3.44/1M

Lowest Price

OpenAI logo

GPT-5 (medium)

$1.25/1M input price

Best Reasoning

OpenAI logo

GPT-5 (medium)

73.7 reasoning score

Blends available reasoning benchmarks

Best for Coding

Google logo

Gemini 3.1 Pro Preview

55.5 coding index

Composite Indices

Higher is better; speed and price are normalized

Standard Benchmarks

Only benchmarks with data are shown

Differences That Matter

Best value

GPT-5 (medium) has the strongest quality-to-price mix at 100.0 out of 100 value points.

Price gap

GPT-5 (medium) is 1.6x cheaper on input tokens than Gemini 3.1 Pro Preview.

Speed gap

Gemini 3.1 Pro Preview generates about 1.4x as many tokens per second as GPT-5 (medium).

Reasoning gap

GPT-5 (medium) leads Gemini 3.1 Pro Preview by 11.9 points on reasoning.

Coding gap

Gemini 3.1 Pro Preview leads GPT-5 (medium) by 16.6 points on coding.

Live compare

Response Face-Off

Run one prompt through the selected models and compare response quality with live speed and cost context.

OpenAI logo

GPT-5 (medium)

OpenAI

Waiting

TTFT

Time

tok/s

Tokens

Cost

Waiting
Google logo

Gemini 3.1 Pro Preview

Google

Waiting

TTFT

Time

tok/s

Tokens

Cost

Waiting

Which answer was more useful?

AI Chat

Chat with 80+ models

Inference API

EU-hosted inference

Full Comparison

Metric
OpenAI logo GPT-5 (medium)
OpenAI
Top Pick
Google logo Gemini 3.1 Pro Preview
Google
Pricing per 1M tokens
Input Cost $1.25/1M$2.00/1M
Output Cost $10.00/1M$12.00/1M
Blended (3:1) $3.44/1M$4.50/1M
Specifications
Organization OpenAIGoogle
Release Date Aug 7, 2025Feb 19, 2026
Performance & Speed
Throughput 90.4 tok/s124.7 tok/s
TTFT 41884ms29692ms
Latency 41884ms29692ms
Composite Indices
Value Score 100.064.1
Reasoning Score 73.761.8
Intelligence 33.746.5
Coding 38.955.5
Math 91.7
Standard Benchmarks
GPQA 84.2%94.1%
MMLU Pro 86.7%
HLE 23.5%44.7%
LiveCodeBench 70.3%
MATH 500 99.1%
AIME 2025 91.7%
AIME (Original) 91.7%
SciCode 41.1%58.9%
LCR 72.8%72.7%
IFBench 70.6%77.1%
TAU-bench v2 86.5%95.6%
TerminalBench Hard 37.9%53.8%

Key Takeaways

GPT-5 (medium) offers the best value at $1.25/1M, making it ideal for high-volume applications and cost-conscious projects.

GPT-5 (medium) has the strongest reasoning profile with a 73.7 reasoning score, combining the available reasoning-heavy benchmarks.

Gemini 3.1 Pro Preview reaches a 55.5 coding index, making it the top choice for software development and code generation tasks.

All models support context windows of ∞+ tokens, suitable for processing lengthy documents and maintaining extended conversations.

When to Choose Each Model

OpenAI logo

GPT-5 (medium)

  • Cost-sensitive applications
  • High-volume processing
  • Complex reasoning tasks
  • Research & analysis
Google logo

Gemini 3.1 Pro Preview

  • Code generation
  • Software development