GPT-5.2 Pro
Where it stands
Quality in independent tests against price, next to 135 other models. Up means more capable, left means cheaper.
About this model
GPT-5.2 Pro is an AI model from OpenAI, made available through the API on December 10, 2025. It can read up to 400,000 tokens in one request, roughly 750 pages of text, and write up to 128,000 tokens in a single answer. Besides text, it accepts images and files such as PDFs as input.
Through the API it costs $21 per million input tokens and $168 per million output tokens. It is among the more expensive models we track, a price usually reserved for the most capable, flagship-class models.
It supports extended reasoning: it can "think" step by step before answering, which helps on maths, code and complex questions. It can call tools and functions, so developers can connect it to search, databases or other software.
Quality scores
Rankings →- FrontierMathOriginal, unpublished math problems written by professional mathematicians, from advanced to research level. Share solved.74.0%#17 of 73
Where to use it
Companies that serve this model through an API: 1. Prices per million tokens, cheapest first.
Availability and prices come from OpenRouter’s public API and are refreshed daily. Uptime is the share of successful requests over the last 24 hours. Some providers run a compressed version of open models (fp8, int4), which is cheaper but can be slightly less accurate.
Use it in your code
Call GPT-5.2 Pro through OpenRouter’s OpenAI-compatible API: create a key on openrouter.ai, then run one of these examples.
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "openai/gpt-5.2-pro", "messages": [{"role": "user", "content": "Hello! What can you do?"}]}'import os
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
reply = client.chat.completions.create(
model="openai/gpt-5.2-pro",
messages=[{"role": "user", "content": "Hello! What can you do?"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://openrouter.ai/api/v1", apiKey: process.env.OPENROUTER_API_KEY });
const reply = await client.chat.completions.create({
model: "openai/gpt-5.2-pro",
messages: [{ role: "user", content: "Hello! What can you do?" }],
});
console.log(reply.choices[0].message.content);The same code works with every model on this site: only the model ID changes. Many labs also offer their own API and SDK.
What it costs in practice
- 1,000 chat replies$60.90
- Summarise a 100-page document$1.22
- An app with 10,000 requests a day for a month$26,460
Similar-priced alternatives
| Model | Inputi | Outputi | Contexti | |
|---|---|---|---|---|
Claude Opus 4.1Anthropic | $15 | $75 | 200K | Compare with ⇄ |
Fugu Ultra v2Sakana AI | $5 | $30 | 1M | Compare with ⇄ |
MiMo-V2.6-Pro-UltraSpeedXiaomi | $4.35 | $8.70 | 1M | Compare with ⇄ |
Qwen3.8 Max PrimeAlibaba Qwen | $4 | $12 | 1M | Compare with ⇄ |
Ember-1Fireworks AI | $3 | $15 | 1M | Compare with ⇄ |
Aion 3.5Aion Labs | $3 | $6 | 256K | Compare with ⇄ |
News about OpenAI
See all →Frequently asked questions
- How much does GPT-5.2 Pro cost?
- GPT-5.2 Pro costs $21 per million input tokens and $168 per million output tokens through the API. For example, 1,000 chat replies of about 500 tokens in and 300 out cost around $60.90.
- What is the context window of GPT-5.2 Pro?
- GPT-5.2 Pro can read up to 400,000 tokens in one request, about 750 pages of text. It can write up to 128,000 tokens in a single answer.
- Is GPT-5.2 Pro open source?
- No. GPT-5.2 Pro is a closed model: its weights are not published, so you use it through OpenAI’s own apps and API, or through cloud providers.
- Who makes GPT-5.2 Pro?
- GPT-5.2 Pro is made by OpenAI. It became available through the API on December 10, 2025.
- How good is GPT-5.2 Pro?
- GPT-5.2 Pro has an overall index of 155.4 in Epoch AI’s independent tests, ranking #25 of 136 models we track.
- Can GPT-5.2 Pro read images?
- Yes. Besides text, it accepts images and files such as PDFs as input.
- What are the alternatives to GPT-5.2 Pro?
- Models with a similar price from other companies include Claude Opus 4.1, Fugu Ultra v2 and MiMo-V2.6-Pro-UltraSpeed. You can compare them side by side on this page.