Price Per TokenPrice Per Token
Google
Google
vs
OpenAI
OpenAI

Gemini 3.1 Pro Preview vs GPT-5.2 Pro

A detailed comparison of pricing, benchmarks, and capabilities

Best Coding Model Leaderboard Find the top LLM for coding by benchmarks and community votes

114 out of our 298 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Gemini 3.1 Pro Preview wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window

GPT-5.2 Pro wins:

  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
  • Supports tool calls
Price Advantage
Gemini 3.1 Pro Preview
Benchmark Advantage
GPT-5.2 Pro
Context Window
Gemini 3.1 Pro Preview
Speed
GPT-5.2 Pro

Pricing Comparison

Price Comparison

MetricGemini 3.1 Pro PreviewGPT-5.2 ProWinner
Input (per 1M tokens)$2.00$21.00 Gemini 3.1 Pro Preview
Output (per 1M tokens)$12.00$168.00 Gemini 3.1 Pro Preview
Cache Read (per 1M)$200000.00N/A Gemini 3.1 Pro Preview
Cache Write (per 1M)$375000.00N/A Gemini 3.1 Pro Preview
Using a 3:1 input/output ratio, Gemini 3.1 Pro Preview is 92% cheaper overall.

Gemini 3.1 Pro Preview Providers

Google AI Studio $2.00 (Cheapest)
Google $2.00 (Cheapest)

GPT-5.2 Pro Providers

OpenAI $21.00 (Cheapest)

Benchmark Comparison

6
Benchmarks Compared
0
Gemini 3.1 Pro Preview Wins
0
GPT-5.2 Pro Wins

Benchmark Scores

BenchmarkGemini 3.1 Pro PreviewGPT-5.2 ProWinner
Intelligence Index
Overall intelligence score
-51.2-
Coding Index
Code generation & understanding
-48.7-
Math Index
Mathematical reasoning
-99.0-
MMLU Pro
Academic knowledge
-87.4-
GPQA
Graduate-level science
-90.3-
LiveCodeBench
Competitive programming
-88.9-
GPT-5.2 Pro significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Other models

Context & Performance

Context Window

Gemini 3.1 Pro Preview
1,048,576
tokens
Max output: 65,536 tokens
GPT-5.2 Pro
400,000
tokens
Max output: 128,000 tokens
Gemini 3.1 Pro Preview has a 62% larger context window.

Speed Performance

MetricGemini 3.1 Pro PreviewGPT-5.2 ProWinner
Tokens/secondN/A84.1 tok/s
Time to First TokenN/A25.87s

Capabilities

Feature Comparison

FeatureGemini 3.1 Pro PreviewGPT-5.2 Pro
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemini 3.1 Pro PreviewGPT-5.2 Pro
LicenseProprietaryProprietary
AuthorGoogleOpenAI
ReleasedFeb 2026Dec 2025

Gemini 3.1 Pro Preview Modalities

Input
audiofileimagetextvideo
Output
text

GPT-5.2 Pro Modalities

Input
imagetextfile
Output
text

Related Comparisons

Compare Gemini 3.1 Pro Preview with:

Compare GPT-5.2 Pro with:

Frequently Asked Questions

Gemini 3.1 Pro Preview has cheaper input pricing at $2.00/M tokens. Gemini 3.1 Pro Preview has cheaper output pricing at $12.00/M tokens.
GPT-5.2 Pro scores higher on coding benchmarks with a score of 48.7, compared to Gemini 3.1 Pro Preview's score of N/A.
Gemini 3.1 Pro Preview has a 1,048,576 token context window, while GPT-5.2 Pro has a 400,000 token context window.
Gemini 3.1 Pro Preview supports vision. GPT-5.2 Pro supports vision.