GPT-5.2 Pro represents OpenAI's most advanced reasoning language model, engineered for tackling intricate queries that demand superior accuracy and reliability. It excels as the smartest, most trustworthy choice for challenging problems, delivering higher-quality responses worth the processing time, with early tests revealing fewer critical errors and exceptional strength in domains like programming and complex analysis.
none, low, medium, high, and xhigh
Early testers report dramatic improvements in response reliability, structured problem-solving transparency, and domain-specific expertise, particularly in software engineering and analytical workflows.

GPT-5.2 Pro introduces breakthrough reasoning architecture and safety optimizations for unmatched reliability across demanding applications.
These advancements enable reliable automation of complex workflows, from legal document analysis and financial modeling to interactive design tools and personalized education platforms.
vs GPT‑5.2 Thinking: GPT‑5.2 Pro delivers higher accuracy on elite benchmarks like GPQA Diamond (93.2% vs. 92.4%) and ARC-AGI-1 (90.5% vs. 86.2%). Optimized for maximum reasoning depth (xhigh effort), making it better suited for scientific and theoretical work, while Thinking targets professional productivity with faster turnaround.
vs GPT‑5.1: Pro reduces hallucination rates by ~30% and improves long-context accuracy by 2–3× on MRCRv2 (e.g., 77.0% vs. 29.6% at 256K tokens). Demonstrates superhuman performance on GDPval (74.1% vs. 38.8%), effectively replacing junior expert labor in 44 high-GDP occupations.
Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.
Tough problems that may take longer to solve but require harder thinking.
Difficult questions where a higher-quality answer is worth the wait.
Complex domains like programming, where it shows fewer major errors and stronger performance.
Professional work requiring smarter and more precise responses.
import requests r = requests.post( "https://api.aimlapi.com/v1/chat/completions", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "openai/gpt-5.2-pro", "messages": [ { "role": "user", "content": "Hello!" } ] }, ) print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "openai/gpt-5.2-pro", "messages": [ { "role": "user", "content": "Hello!" } ] }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"openai/gpt-5.2-pro","messages":[{"role":"user","content":"Hello!"}]}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
GPT-5.2 Pro This page | Reasoning + agents | |||
| Reasoning + agents | ||||
| Balanced coding + agents | ||||
| Long-context, multimodal & agentic workflows | ||||
| Reasoning + agents |
GPT-5.2 Pro has a 400,000 tokens context window and can return up to 128,000 tokens.
GPT-5.2 Pro takes image, text as input and returns text.
Use openai/gpt-5.2-pro as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
GPT-5.2 Pro is priced at input $28.8834 / 1M tokens, output $231.0672 / 1M tokens.
Yes, GPT-5.2 Pro can stream responses as they are generated.
Yes, GPT-5.2 Pro accepts image input alongside text.
GPT-5.2 Pro was built by OpenAI.