OpenAI

GPT 5.2

gpt-5-2

Reliable GPT generation for broad coding, writing, and tool-assisted product work

VisionTool CallingCachingReasoningWebJSON

Quick facts

Released
December 2025
Model type
Proprietary
Model family
GPT
Input modalities
Supports: Text, Image
Output modalities
Supports: Text
Available regions
Global
Zero data retention
Yes
Available on nexos.ai
Yes

Pricing and specifications of GPT 5.2

Explore GPT 5.2 pricing per million input, output, and cached tokens, along with its context window and maximum output limits.

Input / 1MOutput / 1MCached input / 1MContextMax output
$1.75$14.00$0.17400K128K

Available providers

Provider Region Input / 1M Output / 1M Cache / 1M ZDR
OpenAI Global $1.75 $14.00 $0.17
Azure Global $1.75 $14.00 $0.18

Specifications

Context window

400K tokens

Max output

128K tokens

Input

Output

Benchmarks of GPT 5.2

How GPT 5.2 scores on independent benchmarks tracked by Epoch AI.

Quality

Epoch Capabilities Index

154.5

ECI rank

#52 of 258

GPQA Diamond

Graduate-level scientific reasoning

92.2%

ARC-AGI-2

Abstract reasoning on novel puzzles

52.9%

FrontierMath

Expert-level mathematics

70.9%

OTIS Mock AIME

Competition mathematics

96.1%

GDPval

Economically valuable tasks

49.7%

Terminal-Bench

Agentic coding & terminal use

64.9%

WeirdML

Novel machine-learning tasks

72.2%

Remote Labor Index

Real freelance projects, end to end

2.5%

SimpleQA Verified

Short-form factual accuracy

37.1%

Benchmark data: Epoch AI, ‘Capabilities & benchmarking’, licensed under CC BY 4.0.

Quickstart

Start using GPT 5.2

Model ID

gpt-5-2

Base URL

https://api.nexos.ai/v1

Code

from openai import OpenAI

# Get your API key from the nexos.ai dashboard
client = OpenAI(
    base_url="https://api.nexos.ai/v1",
    api_key="YOUR_NEXOS_API_KEY",
)

response = client.chat.completions.create(
    model="gpt-5-2",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)
import OpenAI from 'openai';

// Get your API key from the nexos.ai dashboard
const client = new OpenAI({
  baseURL: 'https://api.nexos.ai/v1',
  apiKey: 'YOUR_NEXOS_API_KEY',
});

const response = await client.chat.completions.create({
  model: 'gpt-5-2',
  messages: [{ role: 'user', content: 'Hello!' }],
});

console.log(response.choices[0].message.content);
curl https://api.nexos.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_NEXOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-2",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Other OpenAI models

Models from OpenAI with comparable capabilities and pricing.

ModelInputOutputContextCapabilitiesRegion
GPT 5$1.38$11.00272K
VisionToolsCacheThinkWebJSON
EUGlobal
GPT 5.2 Pro$21.00$168.00272K
VisionToolsCacheThinkWebJSON
Global
GPT 5.3 Codex$1.75$14.00272K
VisionToolsCacheJSON
Global

Start building with GPT 5.2

Access GPT 5.2 and 200+ other AI models through nexos.ai.

FAQ

Common questions about GPT 5.2, its availability and usage.