OpenAI · Frontier
GPT 5.2 Codex
Coding-focused GPT-5.2 variant with optimized routing.
- Reasoning
- Tools
- Vision
- Structured output
- PDF input
- Input
- Text, Images
- Output
- Text
- Reasoning effort
- low · medium · high · xhigh
- Discovery tier
- Frontier
Pricing
USD per 1M tokens- Input
- $1.75
- Output
- $14.00
- Cache read
- $0.18
Reference prices as published by the model provider. API example
Specifications
- Context window
- 400K
- Max output
- 128K
- Average output (7 days)
- 41 tokens
- Longer than 3% of 473 models
Side by side
Compare models
Put GPT 5.2 Codex next to up to three other models. The comparison stays in the link, so you can share it.
Public evaluations
Benchmarks
Independent evaluation results, with how each score ranks among the models in the Noumen catalog.
Intelligence Index
28.5
Tested at xhigh reasoning effort
Better than 70% of 326 scored models
Document reasoning
AA-LCRv1.1
82.3%Reasoning across long documents
Better than 87% of 309 scored models
Reasoning and knowledge
Humanity’s Last Exam
35.7%Expert-level questions across academic fields
Better than 69% of 323 scored models
GPQA Diamond
89.9%Graduate-level science questions
Better than 78% of 291 scored models
IFBench
77.6%Following precise output instructions
Better than 95% of 215 scored models
Legacy evaluations
Terminal-Bench Hard
37.1%Earlier terminal task suite
Better than 73% of 212 scored models
τ²-Bench Telecom
92.1%Tool use in a customer-support simulation
Better than 78% of 214 scored models
AA-LCR (unversioned)
82.3%Long-context reasoning, earlier grading
Better than 87% of 309 scored models
Scores from Artificial Analysis, updated Oct 26, 2026. GPT 5.2 Codex was tested at xhigh reasoning effort; compare scores measured at the same effort.Artificial Analysis
Developers
Use it through the API
Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.
curl https://www.noumen.xyz/api/v1/chat/completions \
-H "Authorization: Bearer $NOUMEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.2-codex",
"reasoning_effort": "medium",
"messages": [{ "role": "user", "content": "Explain this stack trace." }]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://www.noumen.xyz/api/v1", api_key=os.environ["NOUMEN_API_KEY"])
reply = client.chat.completions.create(
model="openai/gpt-5.2-codex",
messages=[{"role": "user", "content": "Explain this stack trace."}],
)
print(reply.choices[0].message.content)OpenAI
Related models
Other OpenAI models, starting with the same family.