Calculate the cost of using gpt-5.1-codex-mini 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.1-codex-mini is a responses model from OpenAI, one of 23 responses models they offer. It is priced at $0.25 per 1M input tokens and $2.00 per 1M output tokens, ranking 4 out of 50 responses models by cost and cheaper than 92% of models in this category. gpt-5.1-codex-mini 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 $0.25 per 1M input tokens and $2.00 per 1M output tokens, gpt-5.1-codex-mini ranks 4 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 92% of models in this category.
gpt-5.1-codex-mini 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.1-codex-mini |
|---|---|---|---|---|
| gpt-5.1-codex-mini | Azure | $0.28 | $2.20 | +10% |
| gpt-5.1-codex-mini-2025-11-13 | Azure | $0.25 | $2.00 | 0% |
| gpt-5.2-pro | Azure | $21.00 | $168.00 | +8300% |
Similar responses models from other providers
Yes. gpt-5.1-codex-mini costs $0.25 per 1M input tokens compared to gpt-5.1-codex-mini's $0.28 per 1M input tokens, making it 10% more affordable. Both are responses models and share support for vision, function calling, reasoning, prompt caching, structured output.
gpt-5.1-codex-mini input pricing is $0.25 per 1M tokens, which is 94% below the median of $4.13 for responses models. It ranks 4 out of 50 responses models by input cost, making it cheaper than 92% of models in this category. For output, it costs $2.00 per 1M tokens compared to the median of $24.75.
Among OpenAI's 23 responses models, gpt-5.1-codex-mini ranks 1 by input cost. It is the most affordable OpenAI model with web search support.
The most comparable responses models to gpt-5.1-codex-mini are: gpt-5.1-codex-mini from Azure ($0.28/1M input tokens); gpt-5.1-codex-mini-2025-11-13 from Azure ($0.25/1M input tokens); gpt-5.2-pro from Azure ($21.00/1M input tokens); gpt-5.2-pro-2025-12-11 from Azure ($21.00/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.
Yes. At $0.25 per 1M input tokens, gpt-5.1-codex-mini is the most affordable responses model that supports web search. This makes it a strong option for web search-dependent workloads where cost efficiency matters.
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.1-codex-mini 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 $0.25 and generating 1M output tokens costs $2.00.