---
title: "gpt-5.1-codex-mini Cost Calculator - OpenAI"
description: "Calculate the cost of using gpt-5.1-codex-mini from OpenAI. Input costs $0.25 and output $2.00 per 1M tokens."
url: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openai/model/gpt-5.1-codex-mini"
markdown: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openai/model/gpt-5.1-codex-mini.md"
---

# gpt-5.1-codex-mini Cost Calculator - OpenAI

> Calculate the cost of using gpt-5.1-codex-mini from OpenAI. Input costs $0.25 and output $2.00 per 1M tokens.

## Important Links

- [View MCP Gateway](https://www.getmaxim.ai/bifrost/resources/mcp-gateway.md)
- [Features](https://www.getmaxim.ai/bifrost/#features)
- [Enterprise](https://www.getmaxim.ai/enterprise)
- [Pricing](https://www.getmaxim.ai/pricing)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://www.getmaxim.ai/book-a-demo)

## 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

Published OpenAI pricing for gpt-5.1-codex-mini.

- **$0.25 / 1M tokens Input.**
- **$2.00 / 1M tokens Output.**

## Technical Specifications

- **Responses Mode.**
- **400,000 Max Input Tokens.**
- **128,000 Max Output Tokens.**
- **128,000 Max Tokens.**

## Model Capabilities

gpt-5.1-codex-mini supports: Function Calling, Vision, Reasoning, Prompt Caching, Parallel Function Calling, Response Schema, Tool Choice, PDF Input.

## How 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.

| Model | Provider | Input $/1M | Output $/1M | 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% |
| openai.gpt-5.6-luna | Bedrock Mantle | $0.22 | $1.32 | -12% |
| nemotron-3-ultra-550b-a55b | Perplexity | $0.25 | $2.50 | 0% |
| codex-mini | Azure | $1.50 | $6.00 | +500% |

## More from OpenAI

- [gpt-5-codex ($1.25/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openai/model/gpt-5-codex.md)
- [gpt-5.1-codex-max ($1.25/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openai/model/gpt-5.1-codex-max.md)
- [gpt-5.1-codex ($1.25/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openai/model/gpt-5.1-codex.md)
- [gpt-5.2-codex ($1.75/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openai/model/gpt-5.2-codex.md)

## Related Resources

- [OpenAI status](https://www.getmaxim.ai/bifrost/provider-status/openai.md)
- [gpt-5.1-codex-mini specifications](https://www.getmaxim.ai/bifrost/model-library/compare/openai/gpt-5.1-codex-mini.md)
- [All OpenAI pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openai.md)

## FAQ

### 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.

## Related Resources

- [All OpenAI pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openai.md)
- [LLM cost calculator](https://www.getmaxim.ai/bifrost/llm-cost-calculator.md)
- [Model library](https://www.getmaxim.ai/bifrost/model-library.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://www.getmaxim.ai/pricing)
- [Enterprise: Bifrost enterprise](https://www.getmaxim.ai/enterprise)
- [Book a Demo: Bifrost demo](https://www.getmaxim.ai/book-a-demo)
- [Resources: Bifrost resources](https://www.getmaxim.ai/bifrost/resources.md)

---

*This is a markdown version of [https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openai/model/gpt-5.1-codex-mini](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openai/model/gpt-5.1-codex-mini) for AI/LLM consumption.*
