- Organizations
- OpenAI
- GPT-5.2 Codex
GPT-5.2 Codex: Benchmarks, Pricing & Context Window
GPT-5.2 Codex is a language model from OpenAI, released in January 2026, with multimodal input.
GPT-5.2 Codex is a version of GPT-5.2 optimized for agentic coding tasks in Codex or similar environments. It features higher reasoning capabilities and is available in the Responses API. The underlying model snapshot is regularly updated.
GPT-5.2 Codex pricing
Providers
GPT-5.2 Codex starts at $1.75 per million input tokens and $14.00 per million output tokens via OpenAI.
| Provider | Input $/M | Output $/M | Max Input | Max Output | Latency p95 s | Throughput P95 | Quant | Input | Output |
|---|---|---|---|---|---|---|---|---|---|
| $1.75 | $14.00 | 400.0K | 128.0K | 3.45 | 88 c/s | — |
GPT-5.2 Codex API
Run a request to see the response
Use it in your code
Billed at $1.75 input / $14.00 output per 1M tokens through the LLM Stats gateway.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://gateway.llm-stats.com/v1"
)
response = client.chat.completions.create(
model="gpt-5.2-codex",
messages=[
{"role": "user", "content": "What is machine learning?"}
]
)
print(response.choices[0].message.content)Need an API key? Create one above in the playground, or read the API documentation.
GPT-5.2 Codex latency
7-day operational metrics from live API traffic.
Performance Metrics
7-day operational metrics from live API traffic
GPT-5.2 Codex examples
Recent arena outputs from GPT-5.2 Codex, picked from the highest-ranked matchups.
GPT-5.2 Codex license
GPT-5.2 Codex is released under the Proprietary license, which restricts commercial use.
- License
- Proprietary
- Non-commercial
Proprietary license - usage restrictions apply
GPT-5.2 Codex vs other models
The most-compared alternatives to GPT-5.2 Codex are Claude Opus 4.6, GPT-5.2, Qwen3 30B A3B. Open any pair side-by-side for benchmarks, pricing, context, and latency.
Models like GPT-5.2 Codex
Models ranked just above and below GPT-5.2 Codex by LLM Stats score.
FAQ
Common questions about GPT-5.2 Codex.