OpenAI logo

GPT-5.2 Codex

Code-specialist GPT for repository edits, reviews, and long-running software agents

Source-linked gpt-codex Closed weights Released 2025-12-11
API data Report
Input modalitiesT
Output modalitiesT
Input price$0.14/1M tokens
Output price$1.14/1M tokens
Context window400K
Max output128K
Overview

Capabilities and specifications

Reasoning Yes
Tool calling Yes
? Structured output Unknown
Attachments Yes
Vision input Yes
× Open weights No
Creator
OpenAI
Model family
gpt-codex
Knowledge cutoff
2025-08-31
License
Not documented
Release date
2025-12-11
Model ID
openai/gpt-5.2-codex
Inference availability

Provider pricing and availability

Provider-specific identifiers, limits, and prices per million tokens.

Report a price
Providers offering GPT-5.2 Codex
ProviderProvider model IDContextInputOutputCache readCapabilitiesSource
QiHang gpt-5.2-codex 400K $0.14 $1.14 - ReasoningToolsJSON Docs
Poe openai/gpt-5.2-codex 400K $1.6 $13 $0.16 ReasoningTools Docs
Requesty openai/gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
Vercel AI Gateway openai/gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
Vivgrid gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningTools Docs
ZenMux openai/gpt-5.2-codex 400K $1.75 $14 $0.17 ReasoningTools Docs
OpenAI gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
OrcaRouter openai/gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
LLM Gateway gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
Abacus gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
Cloudflare AI Gateway openai/gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
Azure gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
OpenCode Zen gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
Kilo Gateway openai/gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningTools Docs
OpenRouter openai/gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
Azure Cognitive Services gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
AIHubMix gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
NanoGPT openai/gpt-5.2-codex 400K $1.75 $14 - ReasoningToolsJSON Docs
Neon gpt-5-2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs
GitHub Copilot gpt-5.2-codex 400K $1.75 $14 $0.175 ReasoningToolsJSON Docs

Capability badges appear only when the provider catalog explicitly lists support.

Serving quality

Performance and reliability

Observed serving measurements stay separate from model specifications and are never estimated from price or model size.

Throughput Not reported

Generation speed; higher is faster.

Latency / TTFT Not reported

Time until the first output token arrives.

Uptime Not reported

Successful requests over a measured period.

Performance varies by inference provider, region, and load. Provider-level measurements appear only when a source reports them.

Published evaluations

Benchmarks

Raw results remain attached to their original source and version.

Benchmark registry
Design Arena: androidnative - Unversioned - eloTop 8 reported models
Anthropic: Claude Opus 4.8 (batch)
1337.0
Anthropic: Claude Opus 4.8
1337.0
Anthropic: Claude Fable 5 (batch)
1306.0
Claude Fable 5
1306.0
xAI: Grok 4.5
1280.0
Kimi K2.6
1278.0
Z.ai: GLM 5V Turbo
1267.0
GPT-5.2 Codex
1176.0
Design Arena: fullstack - Unversioned - eloTop 8 reported models
Anthropic: Claude Opus 4.7 (batch)
1503.0
Anthropic: Claude Opus 4.7
1503.0
Anthropic: Claude Fable 5 (batch)
1293.0
Claude Fable 5
1293.0
Anthropic: Claude Opus 4.8 (batch)
1289.0
Anthropic: Claude Opus 4.8
1289.0
xAI: Grok 4.5
1282.0
GPT-5.2 Codex
1032.0
Design Arena: godotgamedev - Unversioned - eloTop 8 reported models
Anthropic: Claude Fable 5 (batch)
1349.0
Claude Fable 5
1349.0
Anthropic: Claude Opus 4.7 (batch)
1270.0
Anthropic: Claude Opus 4.7
1270.0
xAI: Grok 4.5
1270.0
Anthropic: Claude Sonnet 5 (batch)
1269.0
Claude Sonnet 5
1269.0
GPT-5.2 Codex
1142.0
Design Arena: mobileapps - Unversioned - eloTop 8 reported models
Anthropic: Claude Opus 4.6 (batch)
1275.0
Anthropic: Claude Opus 4.6
1275.0
Anthropic: Claude Opus 4.8 (batch)
1272.0
Anthropic: Claude Opus 4.8
1272.0
Anthropic: Claude Sonnet 4.6
1267.0
Anthropic: Claude Fable 5 (batch)
1265.0
Claude Fable 5
1265.0
GPT-5.2 Codex
1160.0
Design Arena: webapps - Unversioned - eloTop 8 reported models
Kimi K3
1329.0
Anthropic: Claude Fable 5 (batch)
1305.0
Claude Fable 5
1305.0
Anthropic: Claude Sonnet 5 (batch)
1304.0
Claude Sonnet 5
1304.0
Anthropic: Claude Opus 4.7 (batch)
1303.0
Anthropic: Claude Opus 4.7
1303.0
GPT-5.2 Codex
1106.0
SWE-Bench Pro - Unversioned - resolve rateTop 8 reported models
Claude Fable 5
80.3
Claude Opus 4.8
69.2
Grok 4.5
64.7
GPT-5.6 Sol
64.6
Claude Opus 4.7
64.3
GPT-5.6 Terra
63.4
Claude Sonnet 5
63.2
GPT-5.2 Codex
41.0
Catalog activity

Recent record changes

Detected changes from successful source imports.

Full change log
Price Completion14.0 → 1.14
Price Prompt1.75 → 0.14
Price Completion1.14 → 14.0
Price Prompt0.14 → 1.75
Price Completion14.0 → 1.14
Price Prompt1.75 → 0.14
Price Completion1.14 → 14.0
Price Prompt0.14 → 1.75
Public API

Use this record

Fetch the complete source-linked model record without an API key.

API documentation
Endpoint
GET https://www.modelbench.lol/api/v1/models/openai/gpt-5.2-codex
curl
curl "https://www.modelbench.lol/api/v1/models/openai/gpt-5.2-codex"