gpt-5.2-codex
OpenRouter · chat model
gpt-5.2-codex is listed here as a chat model from OpenRouter. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.
Input
$1.7500 / 1M tokens
Output
$14.0000 / 1M tokens
Cached input
$0.1750 / 1M tokens
Context
128.0K
Quick read
Best for
Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.
Things to verify
Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.
Pricing
| Item | Price |
|---|---|
| Input | $1.7500 / 1M tokens |
| Output | $14.0000 / 1M tokens |
| Cached input | $0.1750 / 1M tokens |
| Embedding | $1.7500 / 1M tokens |
Token limits
Context window
128.0K
Max input tokens
272.0K
Max output tokens
128.0K
Max tokens
128.0K
Capabilities
| Capability | Supported |
|---|---|
| Vision | — |
| Function calling | — |
| Parallel function calling | — |
| Tool choice | ✅ |
| Prompt caching | — |
| Reasoning | ✅ |
| Response schema | — |
| System messages | — |
| Audio input | — |
| Audio output | — |
| Web search | — |
| PDF input | — |
| Video input | — |
Benchmarks
Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer
| Benchmark | Score | Metric | Scope | Checked | Source |
|---|---|---|---|---|---|
| GDPval | 70.9% | wins or ties (%) | Base model: gpt-5.2 (GPT-5.2 Thinking) | 2026-05-31 | Link |
| SWE-bench Pro | 55.6% | accuracy (%) | Base model: gpt-5.2 (GPT-5.2 Thinking) | 2026-05-31 | Link |
| AIME 2025 | 100.0% | accuracy (%) | Base model: gpt-5.2 (GPT-5.2 Thinking) | 2026-05-31 | Link |
Sources
| Source links | |
| Pricing data | LiteLLM model cost map |
| Synced at | 2026-05-28 |
Docs
| Official docs |
Similar models
This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.
Comparing from
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| gpt-5.2-codex OpenRouter | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagetext
Output: text | Tool choiceReasoning | 128.0K | Current model Reference row |
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| gpt-5-codex OpenRouter | In $1.2500 / 1M tokens Out $10.0000 / 1M tokens | imagetext
Output: text | Tool choiceReasoning | 128.0K | Same provider Overall 94% |
| gpt-5 OpenRouter | In $1.2500 / 1M tokens Out $10.0000 / 1M tokens | imagetext file
Output: text | Tool choiceReasoning | 128.0K | Same provider Overall 86% |
| gpt-5.2 OpenAI | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagetext pdf
Output: text | Tool choiceReasoning | 128.0K | Text + image covered Overall 80% |
| gpt-5.2-2025-12-11 OpenAI | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagetext pdf
Output: text | Tool choiceReasoning | 128.0K | Text + image covered Overall 80% |
| gpt-5.1-codex-max OpenRouter | In $1.2500 / 1M tokens Out $10.0000 / 1M tokens | imagetext
Output: text | Tool choiceReasoning | 128.0K | Same provider Overall 79% |
| grok-3 vercel_ai_gateway | In $3.0000 / 1M tokens Out $15.0000 / 1M tokens | imagetext
Output: text | Tool choice | 131.1K | Text + image covered Overall 78% |
| gpt-5.2 OpenRouter | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagetext file
Output: text | Tool choiceReasoning | 128.0K | Same provider Overall 77% |
| gpt-5-mini OpenRouter | In $0.2500 / 1M tokens Out $2.0000 / 1M tokens | imagetext file
Output: text | Tool choiceReasoning | 128.0K | Same provider Overall 75% |
| gpt-5-chat OpenRouter | In $1.2500 / 1M tokens Out $10.0000 / 1M tokens | imagetext file
Output: text | Tool choiceReasoning | 16.4K | Same provider Overall 73% |
| gpt-5-nano OpenRouter | In $0.0500 / 1M tokens Out $0.4000 / 1M tokens | imagetext file
Output: text | Tool choiceReasoning | 128.0K | Same provider Overall 73% |
| mistral-small-3.2-24b-instruct OpenRouter | In $0.1000 / 1M tokens Out $0.3000 / 1M tokens | imagetext
Output: text | Tool choice | 128.0K | Same provider Overall 68% |
| mistral-small-3.1-24b-instruct OpenRouter | In $0.1000 / 1M tokens Out $0.3000 / 1M tokens | imagetext
Output: text | Tool choice | 131.1K | Same provider Overall 68% |
| anthropic.claude-mythos-preview Bedrock | In N/A Out N/A | imagetext
Output: text | Tool choiceReasoning | 128.0K | Text + image covered Overall 68% |
| glm-4p5v fireworks_ai | In $1.2000 / 1M tokens Out $1.2000 / 1M tokens | imagetext video
Output: text | Reasoning | 131.1K | Text + image covered Overall 66% |
| Kimi-K2.5 Together AI | In $0.5000 / 1M tokens Out $2.8000 / 1M tokens | imagetext
Output: text | Tool choiceReasoning | 256.0K | Text + image covered Overall 65% |
| ui-tars-1.5-7b OpenRouter | In $0.1000 / 1M tokens Out $0.2000 / 1M tokens | imagetext
Output: text | Tool choice | 2.0K | Same provider Overall 53% |
| gpt-5.2 Azure | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagetext pdf
Output: image, text | Tool choiceReasoning | 128.0K | Partial I/O overlap Overall 49% Missing text, image |
| gpt-5.2-2025-12-11 Azure | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagetext pdf
Output: image, text | Tool choiceReasoning | 128.0K | Partial I/O overlap Overall 49% Missing text, image |
| gpt-5.2-chat Azure | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagetext pdf
Output: text | Tool choiceReasoning | 16.4K | Partial I/O overlap Overall 43% Missing text, image |
| gpt-5.2-chat-2025-12-11 Azure | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagetext pdf
Output: text | Tool choiceReasoning | 16.4K | Partial I/O overlap Overall 43% Missing text, image |
| gpt-5.3-chat Azure | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagetext pdf
Output: text | Tool choiceReasoning | 16.4K | Partial I/O overlap Overall 43% Missing text, image |
| gpt-5.2 gmi | In $1.7500 / 1M tokens Out $14.0000 / 1M tokens | imagetext
Output: unknown | Low overlap | 32.0K | Partial I/O overlap Overall 24% Missing text, image |
No models match this filter.