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

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

> Calculate the cost of using gpt-5.1-codex-mini from OpenRouter. 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 chat model from OpenRouter, one of 439 chat models they offer. It is priced at $0.25 per 1M input tokens and $2.00 per 1M output tokens, ranking 972 out of 2915 chat models by cost and cheaper than 66% 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 22% among chat models.

## Pricing

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

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

## Technical Specifications

- **Chat 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, Response Schema, Tool Choice.

## How Pricing Compares

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

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

| Model | Provider | Input $/1M | Output $/1M | vs gpt-5.1-codex-mini |
| --- | --- | --- | --- | --- |
| amazon.nova-2-lite-v1:0 | AWS Bedrock | $0.30 | $2.50 | +20% |
| gpt-5.4-nano | Azure | $0.20 | $1.25 | -20% |
| gpt-5.4-nano-2026-03-17 | Azure | $0.20 | $1.25 | -20% |
| gpt-5-mini-2025-08-07 | Azure | $0.28 | $2.20 | +10% |
| gpt-5-mini | Azure | $0.25 | $2.00 | 0% |

## More from OpenRouter

- [claude-3-haiku ($0.25/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/claude-3-haiku.md)
- [deepseek-chat-v3-0324 ($0.25/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/deepseek-chat-v3-0324.md)
- [gemini-3.1-flash-lite-preview ($0.25/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gemini-3.1-flash-lite-preview.md)
- [gemini-3.1-flash-lite ($0.25/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gemini-3.1-flash-lite.md)

## Related Resources

- [OpenRouter status](https://www.getmaxim.ai/bifrost/provider-status/openrouter.md)
- [All OpenRouter pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter.md)

## FAQ

### Is gpt-5.1-codex-mini cheaper than amazon.nova-2-lite-v1:0?

Yes. gpt-5.1-codex-mini costs $0.25 per 1M input tokens compared to amazon.nova-2-lite-v1:0's $0.30 per 1M input tokens, making it 20% more affordable. Both are chat 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 chat model?

gpt-5.1-codex-mini input pricing is $0.25 per 1M tokens, which is 55% below the median of $0.55 for chat models. It ranks 972 out of 2915 chat models by input cost, making it cheaper than 66% of models in this category. For output, it costs $2.00 per 1M tokens compared to the median of $1.50.

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

Among OpenRouter's 439 chat models, gpt-5.1-codex-mini ranks 142 by input cost.

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

The most comparable chat models to gpt-5.1-codex-mini are: amazon.nova-2-lite-v1:0 from AWS Bedrock ($0.30/1M input tokens); gpt-5.4-nano from Azure ($0.20/1M input tokens); gpt-5.4-nano-2026-03-17 from Azure ($0.20/1M input tokens); gpt-5-mini-2025-08-07 from Azure ($0.28/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 large is gpt-5.1-codex-mini's context window?

gpt-5.1-codex-mini supports up to 400,000 input tokens, placing it in the top 22% of chat models by context window size (rank 587 of 2717). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

### How do I check if OpenRouter is down?

You can monitor OpenRouter service health in real time on the Bifrost OpenRouter 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 OpenRouter pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter.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/openrouter/model/gpt-5.1-codex-mini](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.1-codex-mini) for AI/LLM consumption.*
