Calculate the cost of using gpt-5.2-codex from OpenAI for your AI applications
Pricing data last updated:
Mode: Responses
Max: 272,000 tokens
Max: 128,000 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
gpt-5.2-codex is a responses model from OpenAI, one of 23 responses models they offer. It is priced at $1.75 per 1M input tokens and $14.00 per 1M output tokens, ranking 21 out of 50 responses models by cost and cheaper than 56% of models in this category. gpt-5.2-codex supports vision, function calling, reasoning, web search, prompt caching, structured output. It accepts up to 272K input tokens.
Note: Use the interactive calculator above to estimate costs for your specific usage patterns.
Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 272,000 input tokens. The maximum output length is 128,000 tokens.
At $1.75 per 1M input tokens and $14.00 per 1M output tokens, gpt-5.2-codex ranks 21 out of 50 responses models by input cost. It is more affordable compared to the median of $4.13 for responses models, and is cheaper than 56% of models in this category.
gpt-5.2-codex is one of 23 OpenAI responses models, with support for vision, function calling, reasoning, web search, prompt caching, structured output.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs gpt-5.2-codex |
|---|---|---|---|---|
| codex-mini | Azure | $1.50 | $6.00 | -14% |
| gpt-5.2-codex | Azure | $1.75 | $14.00 | 0% |
| gpt-5.3-codex | Azure | $1.75 | $14.00 | 0% |
Similar responses models from other providers
No. gpt-5.2-codex costs $1.75 per 1M input tokens while codex-mini costs $1.50 per 1M input tokens, making codex-mini 14% more affordable for input. However, gpt-5.2-codex may offer different capabilities or performance characteristics that justify the price difference.
gpt-5.2-codex input pricing is $1.75 per 1M tokens, which is 58% below the median of $4.13 for responses models. It ranks 21 out of 50 responses models by input cost, making it cheaper than 56% of models in this category. For output, it costs $14.00 per 1M tokens compared to the median of $24.75.
Among OpenAI's 23 responses models, gpt-5.2-codex ranks 6 by input cost.
The most comparable responses models to gpt-5.2-codex are: codex-mini from Azure ($1.50/1M input tokens); gpt-5.2-codex from Azure ($1.75/1M input tokens); gpt-5.3-codex from Azure ($1.75/1M input tokens); gpt-5.1-codex from Azure ($1.38/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.
You can monitor OpenAI service health in real time on the Bifrost OpenAI Status page. It tracks current component status, active incidents, and historical reliability data pulled from the official status page every 60 seconds.
gpt-5.2-codex is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $1.75 and generating 1M output tokens costs $14.00.