Models / OpenAI / GPT-5.2 Pro
OpenAI

GPT-5.2 Pro

BYOKClosedReleased 11 Dec 2025

A closed, large, premium-priced OpenAI model with a 400k context window and reasoning mode. It is among the most expensive models in the registry, with mid-table benchmark results.

Read the full description ↓

Spec sheet

Family
OpenAI
Released
11 Dec 202511 months ago
Weights
Closed
Context window
400k tokens
Largest response
128k tokens
Accepts
text, image, file
Supports
tools, reasoning, structured output
Knowledge cutoff
August 2025
Intelligence index
–
Input price
$21 / 1M
Output price
$168 / 1M
Blended price (3:1)
$58 / 1M
Index points per $
–
Speed
9 tokens/sec#186
Popularity
#188 of 194by usage
Providers
2

Benchmarks

Score · rank among models tested
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
FrontierMath
GPT-5.2 Pro74%
Rank#29 of 80
Registry median65.6%
Best95.1%
74%#29
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
ARC-AGI-2
GPT-5.2 Pro54.2%
Rank#41 of 68
Registry median61.3%
Best95.8%
54.2%#41
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
Epoch Capabilities Index
GPT-5.2 Pro157.3
Rank#32 of 98
Registry median154.6
Best173.4
157.3#32

The tick on each bar marks the registry median; hover over a bar for the numbers. Sources and how the index is computed: methodology.

Providers and prices

$ per 1M tokens · from genai-prices
ProviderGatewayPydantic AI model stringInputCached inputOutputBlended
OpenAIgateway/openai:gpt-5.2-pro $21–$168$58
OpenRouterBYOKopenrouter:openai/gpt-5.2-pro $21–$168$58

Every provider charges the same. Blended price assumes three input tokens for each output token.

Example code

# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/openai:gpt-5.2-pro', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)

Ask GPT-5.2 Pro a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

Compare

GPT-5.2 ProvsClaude Opus 4.1
Intelligence index
205590$0.1$1$10Claude Opus 4.1: 47.7 at $30 blended
GPQA Diamond
5075100$0.1$1$10Claude Opus 4.1: 77.3% at $30 blended
OTIS Mock AIME
4070100$0.1$1$10Claude Opus 4.1: 68.9% at $30 blended
FrontierMath
1055100$0.1$1$10Claude Opus 4.1: 12.6% at $30 blendedGPT-5.2 Pro: 74% at $58 blended
ARC-AGI-2
050100$0.1$1$10GPT-5.2 Pro: 54.2% at $58 blended
SWE-bench Verified
507090$0.1$1$10Claude Opus 4.1: 73.3% at $30 blended
Terminal-Bench
04590$0.1$1$10Claude Opus 4.1: 38% at $30 blended
WebDev Arena
122015251830$0.1$1$10Claude Opus 4.1: 1389 at $30 blended
LMArena text
128014101540$0.1$1$10Claude Opus 4.1: 1418.5 at $30 blended
Epoch Capabilities Index
120150180$0.1$1$10Claude Opus 4.1: 144.8 at $30 blendedGPT-5.2 Pro: 157.3 at $58 blended

Score against blended price per 1M tokens (log scale). GPT-5.2 Pro   Claude Opus 4.1   other models

Intelligence indexOur composite of the benchmarks below, 0-100
GPT-5.2 Pro–
Claude Opus 4.147.7
GPQA DiamondGraduate-level science questions, multiple choice
GPT-5.2 Pro–
Claude Opus 4.177.3%
OTIS Mock AIMECompetition mathematics problems with exact answers
GPT-5.2 Pro–
Claude Opus 4.168.9%
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
GPT-5.2 Pro74%
Claude Opus 4.112.6%
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
GPT-5.2 Pro54.2%
Claude Opus 4.1–
SWE-bench VerifiedReal GitHub issues resolved, run by Epoch with one fixed scaffold
GPT-5.2 Pro–
Claude Opus 4.173.3%
Terminal-BenchTasks completed in a terminal; the best result of any agent using the model
GPT-5.2 Pro–
Claude Opus 4.138%
WebDev ArenaRating from human votes on web apps the models built
GPT-5.2 Pro–
Claude Opus 4.11389
LMArena textRating from blind human votes between pairs of chat responses
GPT-5.2 Pro–
Claude Opus 4.11418.5
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
GPT-5.2 Pro157.3
Claude Opus 4.1144.8
Input pricePer 1M tokens, lower is better
GPT-5.2 Pro$21
Claude Opus 4.1$15
Output pricePer 1M tokens, lower is better
GPT-5.2 Pro$168
Claude Opus 4.1$75
EfficiencyIndex points per blended $
GPT-5.2 Pro–
Claude Opus 4.12
SpeedOutput tokens per second
GPT-5.2 Pro9 t/s
Claude Opus 4.120 t/s
Context windowTokens
GPT-5.2 Pro400k
Claude Opus 4.1200k
Model stringFor Pydantic AI
GPT-5.2 Progateway/openai:gpt-5.2-pro
Claude Opus 4.1gateway/anthropic:claude-opus-4-1

About GPT-5.2 Pro

Description written by an LLM from the data on this page

A closed, large, premium-priced OpenAI model with a 400k context window and reasoning mode. It is among the most expensive models in the registry, with mid-table benchmark results.

GPT-5.2 Pro is a closed model from OpenAI, released in December 2025, with a 400k token context window and responses up to 128k tokens. It accepts text, image and file inputs and supports tool calling, reasoning mode and structured output. It is available from OpenAI and OpenRouter, and is built into the PydanticAI Gateway.

Its clearest result is on FrontierMath, where it scores 74% and ranks 29th of 80, above the registry median of 64.6%. On ARC-AGI-2, which tests learning a new rule from a few examples, it scores 54.2%, ranking 41st of 68 and below the median of 61.3%. On Epoch's composite index it sits at 157.3, 32nd of 98, slightly above the median of 154.5.

The main consideration is price. A blended rate of $57.75 per million tokens, with output at $168 per million, places it at the very top of the registry for cost. It suits workloads where accuracy on difficult problems justifies that expense.

Strengths

  • 74% on FrontierMath, 29th of 80, above the 64.6% median
  • 400k context window with 128k maximum response length
  • Accepts text, image and file inputs, with tool calling and structured output

Weaknesses

  • Blended price of $57.75 per million tokens, far above the $1.01 median
  • Output costs $168 per million tokens, a steep rate for long generations
  • ARC-AGI-2 score of 54.2%, 41st of 68 and below the 61.3% median

Best for

Hard research-level mathematics and reasoning tasks where cost is secondary to accuracy and long context matters.

One key, every model

Pydantic AI Gateway gives you the models marked with a single API key, spending limits and Logfire tracing. Bring your own key for the rest.

Start free  Read the docs