GPT-5.2-Codex
openai/gpt-5.2-codex-20260114
OpenAI: GPT-5.2-Codex processes text and image inputs to generate text outputs. It has a context length of 400,000 tokens and supports tools and reasoning. Input pricing is $1.75 per million tokens, while output pricing is $14 per million tokens.
- tool use
- structured outputs
- reasoning
At a glance
Specifications
What the API gives you
- Context window
- 400K tokens
- Max output
- 128K tokens
- Input price
- $1.75 / 1M tokens
- Output price
- $14 / 1M tokens
- Cache read
- $0.17 / 1M tokens
- Modalities
- text, image → text
- Knowledge cutoff
- —
- Released
- Dec 11, 2025
Measured evidence
Public benchmark record
- Design Arena Full-stack Agent
- 993 Elo2026-10-14
- Design Arena Web-app Agent
- 1051 Elo2026-10-21
- LiveBench Agentic Coding
- 49.4%2026-10-18
- LiveBench Coding
- 83.6%2026-10-18
- LiveBench Data Analysis
- 78.2%2026-10-18
- LiveBench Instruction Following
- 66.5%2026-10-18
- LiveBench Language
- 73.7%2026-10-18
- LiveBench Math
- 88.8%2026-10-18
- LiveBench Reasoning
- 77.7%2026-10-18
- LMArena WebDev
- 1339 Elo2026-10-19
LMArena data licensed CC-BY-4.0. Aider (Apache-2.0) and SWE-bench (MIT) are open. Design Arena uses blind human preference.
Task evidence
How broad is the support?
Each status is exact to this model version and the selected task. Official release claims remain provisional.
- Best LLM for Code CompletionEstablished evidence
79% of intended weighted task evidence across 2 independent sources. 3 of 3 configured evaluation feeds currently have results.
- Best Local LLM for CodingEstablished evidence
47% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for CodingEstablished evidence
38% of intended weighted task evidence across 2 independent sources. 7 of 7 configured evaluation feeds currently have results.
- Best LLM for Frontend & UIEstablished evidence
36% of intended weighted task evidence across 2 independent sources. 6 of 6 configured evaluation feeds currently have results.
- Best LLM for Agentic CodingEstablished evidence
36% of intended weighted task evidence across 2 independent sources. 7 of 7 configured evaluation feeds currently have results.
- Best LLM for Debugging & Code ReviewEstablished evidence
33% of intended weighted task evidence across 2 independent sources. 5 of 5 configured evaluation feeds currently have results.
Show all 32 tasks
- Best LLM for Math & ReasoningProvisional evidence
48% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from FrontierMath Tiers 1-3 (Epoch AI) or GPQA Diamond (Epoch AI). 7 of 7 configured evaluation feeds currently have results.
- Best LLM for Logic & Problem SolvingProvisional evidence
45% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from GPQA Diamond (Epoch AI) or LMArena Instruction Following. 5 of 5 configured evaluation feeds currently have results.
- Best LLM for Creative WritingProvisional evidence
44% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Creative Writing or LMArena Text. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for WritingProvisional evidence
44% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Creative Writing or LMArena Text. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Competition MathProvisional evidence
44% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from FrontierMath Tiers 1-3 (Epoch AI) or OTIS Mock AIME (Epoch AI). 6 of 6 configured evaluation feeds currently have results.
- Best LLM for Fast SummariesProvisional evidence
42% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Text or Route reliability. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for a General AssistantProvisional evidence
41% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from SimpleQA Verified (Epoch AI) or LMArena Instruction Following. 6 of 6 configured evaluation feeds currently have results.
- Best Open-Weight LLM for Self-HostingProvisional evidence
36% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Text or Route reliability. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for Chat & RoleplayProvisional evidence
33% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Creative Writing or LMArena Text. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Roleplay & CharacterProvisional evidence
33% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Creative Writing or LMArena Text. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Business WritingProvisional evidence
33% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Creative Writing or LMArena Instruction Following. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Literary TranslationProvisional evidence
33% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Text or WMT translation. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for Marketing CopyProvisional evidence
33% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Creative Writing or LMArena Instruction Following. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Everyday TranslationProvisional evidence
33% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Text or WMT translation. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for TranslationProvisional evidence
33% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Text or WMT translation. 3 of 4 configured evaluation feeds currently have results.
- Best Value LLMProvisional evidence
33% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Text or Route reliability. 2 of 3 configured evaluation feeds currently have results.
- Best Cheap LLM for High VolumeProvisional evidence
30% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Text or Route reliability. 2 of 3 configured evaluation feeds currently have results.
- Cheapest Capable LLMProvisional evidence
30% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Text or Route reliability. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for JSON & Schema OutputProvisional evidence
24% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Berkeley Function Calling or LMArena Text. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for Structured Data ExtractionProvisional evidence
24% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Berkeley Function Calling or LMArena Text. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for High-Volume ExtractionProvisional evidence
21% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Route reliability or Structured-output eval. 1 of 3 configured evaluation feeds currently have results.
- Best LLM for Document SummarizationProvisional evidence
20% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from FACTS Grounding or LMArena Document. 5 of 6 configured evaluation feeds currently have results.
- Best LLM for SummarizationProvisional evidence
20% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from FACTS Grounding or LMArena Document. 5 of 6 configured evaluation feeds currently have results.
- Best LLM for Autonomous AgentsProvisional evidence
13% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Agent or LMArena Agent Task Outcome. 6 of 6 configured evaluation feeds currently have results.
- Best LLM for Image UnderstandingProvisional evidence
11% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Vision or VLMEvalKit tasks. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for AI AgentsProvisional evidence
9% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Berkeley Function Calling or LMArena Agent. 9 of 9 configured evaluation feeds currently have results.
Recommendation coverage
Where this model appears
Not currently included in a published recommendation. The task evidence panel above says exactly what is confirmed and what is still missing.
Catalog data via OpenRouter and models.dev. Last checked within the past 6 hours.