Try Bifrost Enterprise free for 14 days.
Request access

gpt-5.1-codex-mini Cost Calculator - OpenAI

Calculate the cost of using gpt-5.1-codex-mini from OpenAI for your AI applications

Pricing data last updated:

gpt-5.1-codex-mini Cost Calculator

Mode: Responses

Max: 400,000 tokens

Max: 128,000 tokens

Cost Breakdown

Input Cost$0.00025000
Output Cost$0.002000
Total Cost$0.002250

Pricing Details

Input: $0.0000002500 per token
Output: $0.00000200 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Capabilities

✓Function Calling
✓Vision
✓Reasoning

Limits

Max Input Tokens400,000
Max Output Tokens128,000
Max Tokens128,000

About gpt-5.1-codex-mini

gpt-5.1-codex-mini is a responses model from OpenAI, one of 22 responses models they offer. It is priced at $0.25 per 1M input tokens and $2.00 per 1M output tokens, ranking 12 out of 143 responses models by cost and cheaper than 90% of models in this category. gpt-5.1-codex-mini supports vision, function calling, reasoning, prompt caching, structured output. Its 400K-token context window is in the top 50% among responses models.

Pricing Information

Input Cost$0.25 per 1M tokens
Output Cost$2.00 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens400,000
Maximum Output Tokens128,000
Maximum Total Tokens128,000

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 400,000 input tokens. The maximum output length is 128,000 tokens.

Model Capabilities

✓Function Calling - Execute custom functions and tools
✓Vision - Process and understand images
✓Advanced Reasoning - Complex problem-solving capabilities
✓Prompt Caching - Optimize repeated prompts
✓Parallel Function Calling - Execute multiple functions simultaneously
✓Response Schema - Structured output formatting

How gpt-5.1-codex-mini Pricing Compares

At $0.25 per 1M input tokens and $2.00 per 1M output tokens, gpt-5.1-codex-mini ranks 12 out of 143 responses models by input cost. It is more affordable compared to the median of $2.00 for responses models, and is cheaper than 90% of models in this category.

gpt-5.1-codex-mini is one of 22 OpenAI responses models, with support for vision, function calling, reasoning, prompt caching, structured output. its 400K-token context window places it in the top 50% of responses models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs gpt-5.1-codex-mini
gpt-5.1-codex-miniAzure$0.28$2.20+10%
gpt-5.1-codex-mini-2025-11-13Azure$0.25$2.000%
openai.gpt-5.6-lunaBedrock Mantle$0.22$1.32-12%

Alternatives to gpt-5.1-codex-mini

Similar responses models from other providers

Azure
gpt-5.1-codex-mini
$0.28/1M input
+10% vs gpt-5.1-codex-mini
Bedrock Mantle
openai.gpt-5.6-luna
$0.22/1M input
-12% vs gpt-5.1-codex-mini
Perplexity
nemotron-3-ultra-550b-a55b
$0.25/1M input
0% vs gpt-5.1-codex-mini
Azure
codex-mini
$1.50/1M input
+500% vs gpt-5.1-codex-mini

Frequently Asked Questions

Is gpt-5.1-codex-mini cheaper than gpt-5.1-codex-mini?

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.

How does gpt-5.1-codex-mini pricing compare to the average responses model?

gpt-5.1-codex-mini input pricing is $0.25 per 1M tokens, which is 87% below the median of $2.00 for responses models. It ranks 12 out of 143 responses models by input cost, making it cheaper than 90% of models in this category. For output, it costs $2.00 per 1M tokens compared to the median of $12.00.

What makes gpt-5.1-codex-mini different from other OpenAI models?

Among OpenAI's 22 responses models, gpt-5.1-codex-mini ranks 1 by input cost.

What are the best alternatives to gpt-5.1-codex-mini?

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); openai.gpt-5.6-luna from Bedrock Mantle ($0.22/1M input tokens); nemotron-3-ultra-550b-a55b from Perplexity ($0.25/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.

How do I check if OpenAI is down?

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.

How do I calculate gpt-5.1-codex-mini costs?

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.