GPT-5.2 Codex
openai/gpt-5-2-codexVon OpenAI · Familie: gpt-codex · veröffentlicht 2026-01-14 · Wissensstand: 2025-08-31
Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.
Fähigkeiten
Model fit scores
0–100 · higher is betterThese scores reward declared capabilities, context size, price and provider availability — they are not benchmark results. Use them as a directional signal alongside your own evaluation.
Coding92
- Tool calling40/40
- Structured output20/20
- Reasoning10/10
- Context window (100K → 1M)12/20
- Provider availability10/10
Agents100
- Tool calling35/35
- Structured output25/25
- Reasoning15/15
- Output token limit15/15
- Provider availability10/10
JSON / structured output70
- Structured output / JSON mode50/50
- Tool calling20/20
- Temperature control0/10
- Price-friendly for high-volume0/20
Cost efficiency38
- Headline price (log-scaled)33/95
- Has prompt-cache pricing5/5
Long context70
- Context window (100K → 2M)60/90
- Has published price for full window10/10
Vision94
- Accepts image input50/50
- Context window (10K → 1M)24/30
- Has published price10/10
- Provider availability10/10
Production-readiness96
- Number of independent providers40/40
- Has published per-token price20/20
- Context window ≥ 8K15/15
- No data inconsistencies across providers6/10
- Official model (not derivative)15/15
Cost Efficiency Index
Open full calculator →Estimated cost using the recommended provider's headline rate. Each scenario fixes average input/output tokens — the assumptions are shown in the third column.
| Scenario | Cost | Assumption |
|---|---|---|
RAG answer per 1,000 RAG answers | $15.75 $0.02 per request | 5K input tokens (query + 4 retrieved chunks of ~1K each) and a 500-token answer. Typical SaaS knowledge-base bot. |
Support ticket triage per 10,000 tickets | $31.50 < $0.01 per request | 1K input tokens (ticket body + system prompt) and a 100-token JSON classification reply. High-volume customer support. |
Data extraction per 1,000 documents | $10.50 $0.01 per request | 2K input tokens (a single document page) and a 500-token JSON extraction. ETL / invoice / form pipelines. |
Code review per 1,000 PRs | $28.00 $0.03 per request | 8K input tokens (diff + surrounding files) and a 1K-token review comment. PR-bot workloads. |
Agent step per 1,000 steps | $29.40 $0.03 per request | 12K input tokens (long-running tool history) and a 600-token tool-call decision. Cost per agent step. |
Preis-Details
Empfohlene Preise von openai · gpt-5.2-codex
Günstigster Anbieter: github-copilot · Unknown Eingabe + Unknown Ausgabe
Bei 19 Anbietern verfügbar
| Anbieter | Anbieter-Modell-ID | Eingabe / 1M | Ausgabe / 1M | Kontext | Veröffentlicht |
|---|---|---|---|---|---|
| OpenAI openai | gpt-5.2-codex | $1.75 | $14.00 | 400K | 2025-12-11 |
| GitHub Copilot github-copilot | gpt-5.2-codex | Unknown | Unknown | 400K | 2025-12-11 |
| Azure Cognitive Services azure-cognitive-services | gpt-5.2-codex | $1.75 | $14.00 | 400K | 2026-01-14 |
| Azure azure | gpt-5.2-codex | $1.75 | $14.00 | 400K | 2026-01-14 |
| OpenRouter openrouter | openai/gpt-5.2-codex | $1.75 | $14.00 | 400K | 2026-01-14 |
| Vercel AI Gateway vercel | openai/gpt-5.2-codex | $1.75 | $14.00 | 400K | 2025-12 |
| NanoGPT nano-gpt | openai/gpt-5.2-codex | $1.75 | $14.00 | 400K | 2026-01-14 |
| Abacus abacus | gpt-5.2-codex | $1.75 | $14.00 | 400K | 2025-12-11 |
| Jiekou.AI jiekou | gpt-5.2-codex | $1.75 | $14.00 | 400K | 2026-01 |
| ZenMux zenmux | openai/gpt-5.2-codex | $1.75 | $14.00 | 400K | 2026-01-15 |
| Vivgrid vivgrid | gpt-5.2-codex | $1.75 | $14.00 | 400K | 2026-01-14 |
| Kilo Gateway kilo | openai/gpt-5.2-codex | $1.75 | $14.00 | 400K | 2026-01-14 |
| Cloudflare AI Gateway cloudflare-ai-gateway | openai/gpt-5.2-codex | $1.75 | $14.00 | 400K | 2025-12-11 |
| OpenCode Zen opencode | gpt-5.2-codex | $1.75 | $14.00 | 400K | 2026-01-14 |
| Poe poe | openai/gpt-5.2-codex | $1.60 | $13.00 | 400K | 2026-01-14 |
| AIHubMix aihubmix | gpt-5.2-codex | $1.75 | $14.00 | 400K | 2026-01-14 |
| Requesty requesty | openai/gpt-5.2-codex | $1.75 | $14.00 | 400K | 2026-01-14 |
| LLM Gateway llmgateway | gpt-5.2-codex | $1.75 | $14.00 | 400K | 2025-12-11 |
| QiHang qihang-ai | gpt-5.2-codex | $0.140 | $1.14 | 400K | 2025-12-11 |
Datenunterschiede zwischen Anbietern
- release_date varies (span 45d): 2025-12, 2025-12-11, 2026-01, 2026-01-14, 2026-01-15
- modalities varies across offerings
Anbieter melden unterschiedliche Werte für dieses Modell. Die Schnellinfos oben nutzen den repräsentativen Anbieter; pro Anbieter siehe Tabelle.
Frequently asked questions
How much does GPT-5.2 Codex cost?
GPT-5.2 Codex costs $1.75 per 1M input tokens and $14.00 per 1M output tokens, sourced from openai. Cache reads, audio tokens and >200K-context tiers (where applicable) are listed in the Pricing detail block above.
What is the context window of GPT-5.2 Codex?
GPT-5.2 Codex has a context window of 400K tokens, with a max output of 128K tokens per reply. This is the total combined size of prompt + completion.
Does GPT-5.2 Codex support tool calling?
Yes. GPT-5.2 Codex supports tool calling (function calling). This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.
Does GPT-5.2 Codex support structured output / JSON mode?
Yes. GPT-5.2 Codex supports structured output / JSON-schema-constrained decoding. This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.
Can GPT-5.2 Codex accept image input?
Yes. GPT-5.2 Codex accepts both text and image input. Vision pricing per image is usually billed on top of the regular token rate — check OpenAI's docs for the exact rule.
Is GPT-5.2 Codex open-weight?
No. GPT-5.2 Codex is a proprietary model — only OpenAI (and any approved hosting partners) can serve it. The pricing above reflects the cheapest API access.
What are the best alternatives to GPT-5.2 Codex?
If GPT-5.2 Codex doesn't fit, consider GPT OSS 120B, GPT OSS 20B, GPT-5.2. Each one targets the same use case — see the Related links below for direct head-to-head pages.
Where does this data come from?
All numbers come from the public models.dev API and are normalised into a single canonical model record. We re-pull daily and write any changes (price, context, capability) to the /changelog page.
Explore more
More OpenAI models
- GPT OSS 120B$0.04 in / $0.16 out
- GPT OSS 20B$0.03 in / $0.14 out
- GPT-5.2$1.75 in / $14.00 out
- GPT-5 Mini$0.25 in / $2.00 out
- GPT-5$1.25 in / $10.00 out
Capability lists this model is in
Zuletzt aktualisiert:
Data is sourced from models.dev and normalized for comparison. Prices and capabilities may change. Always verify critical production decisions with the provider's official documentation.