Models / OpenAI / GPT-5.2
OpenAI

GPT-5.2

BYOKClosedReleased 11 Dec 2025

A closed, mid-to-high priced reasoning model from OpenAI with a 400k context window. Its standout results are in terminal tasks and competition maths, while its overall intelligence score sits close to the registry median.

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
60.3#53
Input price
$1.75 / 1M
Output price
$14 / 1M
Blended price (3:1)
$4.81 / 1M
Index points per $
12.5#92
Speed
55 tokens/sec#114
Popularity
#115 of 194by usage
Providers
2

Benchmarks

Score · rank among models tested

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 $1.75$0.17$14$4.81
OpenRouterBYOKopenrouter:openai/gpt-5.2 $1.75$0.17$14$4.81

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', instructions='Be concise, reply with one sentence.')

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

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

Compare

GPT-5.2vsGLM 5.2
Intelligence index
205590$0.1$1$10GLM 5.2: 60.4 at $1.45 blendedGPT-5.2: 60.3 at $4.81 blended
GPQA Diamond
5075100$0.1$1$10GLM 5.2: 91.9% at $1.45 blendedGPT-5.2: 91.4% at $4.81 blended
OTIS Mock AIME
4070100$0.1$1$10GLM 5.2: 86.4% at $1.45 blendedGPT-5.2: 96.1% at $4.81 blended
FrontierMath
1055100$0.1$1$10GLM 5.2: 59.2% at $1.45 blendedGPT-5.2: 67.4% at $4.81 blended
ARC-AGI-2
050100$0.1$1$10GLM 5.2: 22.8% at $1.45 blendedGPT-5.2: 52.9% at $4.81 blended
SimpleQA Verified
1055100$0.1$1$10GLM 5.2: 34.2% at $1.45 blendedGPT-5.2: 37.1% at $4.81 blended
SWE-bench Verified
507090$0.1$1$10GLM 5.2: 78.7% at $1.45 blendedGPT-5.2: 73.8% at $4.81 blended
Terminal-Bench
04590$0.1$1$10GPT-5.2: 64.9% at $4.81 blended
SciCode
204570$0.1$1$10GLM 5.2: 51.2% at $1.45 blended
WebDev Arena
122015251830$0.1$1$10GLM 5.2: 1593.2 at $1.45 blendedGPT-5.2: 1480 at $4.81 blended
APEX-Agents
04590$0.1$1$10GLM 5.2: 45.2% at $1.45 blended
LMArena text
128014101540$0.1$1$10GLM 5.2: 1469.5 at $1.45 blendedGPT-5.2: 1416.3 at $4.81 blended
Epoch Capabilities Index
120150180$0.1$1$10GLM 5.2: 153.1 at $1.45 blendedGPT-5.2: 154.5 at $4.81 blended

Score against blended price per 1M tokens (log scale). GPT-5.2   GLM 5.2   other models

Intelligence indexOur composite of the benchmarks below, 0-100
GPT-5.260.3
GLM 5.260.4
GPQA DiamondGraduate-level science questions, multiple choice
GPT-5.291.4%
GLM 5.291.9%
OTIS Mock AIMECompetition mathematics problems with exact answers
GPT-5.296.1%
GLM 5.286.4%
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
GPT-5.267.4%
GLM 5.259.2%
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
GPT-5.252.9%
GLM 5.222.8%
SimpleQA VerifiedShort factual questions answered from memory, without search
GPT-5.237.1%
GLM 5.234.2%
SWE-bench VerifiedReal GitHub issues resolved, run by Epoch with one fixed scaffold
GPT-5.273.8%
GLM 5.278.7%
Terminal-BenchTasks completed in a terminal; the best result of any agent using the model
GPT-5.264.9%
GLM 5.2–
SciCodeScientific programming problems written by researchers
GPT-5.2–
GLM 5.251.2%
WebDev ArenaRating from human votes on web apps the models built
GPT-5.21480
GLM 5.21593.2
APEX-AgentsLong professional tasks (banking, consulting, law) passed on the first attempt
GPT-5.2–
GLM 5.245.2%
LMArena textRating from blind human votes between pairs of chat responses
GPT-5.21416.3
GLM 5.21469.5
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
GPT-5.2154.5
GLM 5.2153.1
Input pricePer 1M tokens, lower is better
GPT-5.2$1.75
GLM 5.2$0.93
Output pricePer 1M tokens, lower is better
GPT-5.2$14
GLM 5.2$3
EfficiencyIndex points per blended $
GPT-5.213
GLM 5.242
SpeedOutput tokens per second
GPT-5.255 t/s
GLM 5.270.5 t/s
Context windowTokens
GPT-5.2400k
GLM 5.21M
Model stringFor Pydantic AI
GPT-5.2gateway/openai:gpt-5.2
GLM 5.2gateway/doubleword:zai-org/GLM-5.2-FP8

About GPT-5.2

Description written by an LLM from the data on this page

A closed, mid-to-high priced reasoning model from OpenAI with a 400k context window. Its standout results are in terminal tasks and competition maths, while its overall intelligence score sits close to the registry median.

GPT-5.2 is a closed reasoning model from OpenAI, released in December 2025, with a knowledge cutoff of August 2025. It accepts text, images and files, supports tool calling and structured output, and offers a 400k token context window with responses up to 128k tokens. It is available from OpenAI and OpenRouter and is built into the Pydantic AI Gateway.

Its overall Intelligence index of 60.3 is almost exactly the registry median of 59.5, ranking 56th of 114. Results are uneven. It does well on Terminal-Bench, at 64.9% and 7th of 35, and on competition mathematics, at 96.1%. On ARC-AGI-2 and LMArena text it ranks in the lower half of the registry.

The main drawback is price. At $4.81 per million tokens blended, it costs several times the registry median, and its value ranking is weak. It suits agent work where terminal and maths performance matter more than cost.

Strengths

  • Terminal-Bench 64.9%, 7th of 35, well above the 43.2% median
  • OTIS Mock AIME 96.1%, 38th of 95 and above the 94.2% median
  • 400k context window with 128k maximum response length
  • Supports text, image and file input, plus tool calling and structured output

Weaknesses

  • Blended price $4.81 per million tokens, far above the $1.01 median
  • ARC-AGI-2 52.9%, 42nd of 68 and below the 61.3% median
  • LMArena text rating 1416.3, 82nd of 114 and below the median

Best for

Agents that run terminal or coding workflows and maths-heavy tasks, where cost per token is less important than result quality.

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