Skip to content
llmmodels
Reasoning LLMReasoningTool callingStructured outputVisionFree tier

GPT-5.2 Codex

by OpenAI · Dec 11, 2025

GPT-5.2 Codex is a proprietary reasoning llm from OpenAI, released Dec 11, 2025. It has a 400K-token context window and accepts text, image input. API pricing starts at $1.75 per million input tokens and $14 per million output tokens. It is available from 19 API providers.

Provider
OpenAI
Released
Dec 11, 2025
Type
Reasoning LLM
Parameters
Undisclosed
Context window
400,000 tokens
Max output
128,000 tokens
Input
text, image
Output
text
Weights
Closed
License
Proprietary
Knowledge cutoff
Aug 31, 2025
Status
Available via API

About GPT-5.2 Codex

GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

GPT-5.2 Codex benchmarks

All benchmarks →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

Where to run GPT-5.2 Codex — API providers & pricing

ProviderInput $/1MOutput $/1MCached inputContext
Poe(deprecated)$1.60$13$0.16400K
DevPass (LLM Gateway)$1.75$14$0.175400K
OpenRouter$1.75$14$0.175400K
Vercel AI Gateway$1.75$14$0.175400K
GitLab Duo(deprecated)FreeFree—400K
QiHang(deprecated)$0.14$1.14—400K
OpenCode$1.75$14$0.175400K
NanoGPT$1.75$14$0.175400K
AIHubMix$1.75$14$0.175400K
Eden AI$1.75$14$0.175272K
Abacus(deprecated)$1.75$14$0.175400K
ZenMux$1.75$14$0.175400K
Ofox$1.75$14$0.18400K
Impossibl$1.75$14$0.175400K
Kilo Gateway$1.75$14$0.175400K
Vivgrid(deprecated)$1.75$14$0.175400K
Jiekou.AI$1.75$14$0.175400K
LLM Gateway$1.75$14$0.175400K
OrcaRouter$1.75$14$0.175400K

GPT-5.2 Codex vs alternatives

Alternatives to GPT-5.2 Codex
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Qwen3 MaxAlibaba (Qwen)Sep 2025—256K$1.20$6142.4
Claude Sonnet 4.5 (latest)AnthropicSep 2025—200K$3$15147.6
Claude Haiku 4.5 (latest)AnthropicOct 2025—200K$1$5142.7
Pixtral Large (25.02)Mistral AIApr 2025—125K$2$6—
Google Gemini 3 Pro PreviewGoogle DeepMindNov 2025—1M$0.57$3.43153.0
Gemini 2.5 ProGoogle DeepMindJun 2025—1M$1.25$10—
Perplexity Sonar Deep ResearchPerplexityFeb 2025—125K$2$8—
GPT-5.2OpenAIDec 2025—400K$1.75$14154.5

More models from OpenAI

All OpenAI models →
ModelReleasedParamsContextInput $/1MOutput $/1M
GPT OSS 120BopenAug 2025117B128K$0.09$0.36
GPT-6 AstraSep 2026—1.1M$10$50
GPT-6.1 SolSep 2026—1.1M$2$10
GPT OSS 20BopenAug 202521B128K$0.075$0.3
GPT-5.6 SolJul 2026—1.1M$4$20
GPT-6.2 AstraNov 2026—1.1M$8$40
GPT-6 SolSep 2026—1.1M$2$10
GPT-5.6 TerraJul 2026—1.1M$2$12

Frequently asked questions

Who made GPT-5.2 Codex?

GPT-5.2 Codex was developed by OpenAI (United States of America). It was released on Dec 11, 2025.

What is the context window of GPT-5.2 Codex?

GPT-5.2 Codex supports a context window of 400,000 tokens (400K) and can generate up to 128,000 output tokens per response.

How much does GPT-5.2 Codex cost?

GPT-5.2 Codex costs $1.75 per 1M input tokens and $14 per 1M output tokens, with cached input at $0.175 per 1M. Prices vary across the 19 providers that serve it.

Is GPT-5.2 Codex open source?

No. GPT-5.2 Codex is a proprietary model available only through its provider's API and apps.

How does GPT-5.2 Codex perform on benchmarks?

GPT-5.2 Codex scores 66.5% on Terminal-Bench and 1339 on WebDev Arena.

Where can I use GPT-5.2 Codex?

GPT-5.2 Codex is available via 19 API providers.

Sources: epoch, models.dev, openrouter · paper · openrouter. Last updated 2026-11-22.