---
title: "gpt-5.1-codex Cost Calculator - OpenRouter"
description: "Calculate the cost of using gpt-5.1-codex from OpenRouter. Input costs $1.25 and output $10.00 per 1M tokens."
url: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.1-codex"
markdown: "https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.1-codex.md"
---

# gpt-5.1-codex Cost Calculator - OpenRouter

> Calculate the cost of using gpt-5.1-codex from OpenRouter. Input costs $1.25 and output $10.00 per 1M tokens.

## Important Links

- [View MCP Gateway](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources/mcp-gateway.md)
- [Features](https://maxim-root-proxy-preview.getmaxim.workers.dev/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

gpt-5.1-codex is a chat model from OpenRouter, one of 441 chat models they offer. It is priced at $1.25 per 1M input tokens and $10.00 per 1M output tokens, ranking 2321 out of 3254 chat models by cost and cheaper than 28% of models in this category. gpt-5.1-codex supports vision, function calling, reasoning, prompt caching, structured output. Its 400K-token context window is in the top 24% among chat models.

## Pricing

Published OpenRouter pricing for gpt-5.1-codex.

- **$1.25 / 1M tokens Input.**
- **$10.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 supports: Function Calling, Vision, Reasoning, Prompt Caching, Response Schema, Tool Choice.

## How Pricing Compares

At $1.25 per 1M input tokens and $10.00 per 1M output tokens, gpt-5.1-codex ranks 2321 out of 3254 chat models by input cost. It is more expensive compared to the median of $0.52 for chat models, and is cheaper than 28% of models in this category.

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

| Model | Provider | Input $/1M | Output $/1M | vs gpt-5.1-codex |
| --- | --- | --- | --- | --- |
| apac.anthropic.claude-haiku-4-5-20251001-v1:0 | AWS Bedrock | $1.10 | $5.50 | -12% |
| gpt-5-2025-08-07 | Azure | $1.38 | $11.00 | +10% |
| gpt-5.1 | Azure | $1.38 | $11.00 | +10% |
| gpt-5.1-chat | Azure | $1.38 | $11.00 | +10% |
| gpt-5.1-2025-11-13 | Azure | $1.25 | $10.00 | 0% |

## More from OpenRouter

- [gemini-2.5-pro ($1.25/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openrouter/model/gemini-2.5-pro.md)
- [gpt-5-chat ($1.25/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5-chat.md)
- [gpt-5-codex ($1.25/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5-codex.md)
- [gpt-5 ($1.25/1M input)](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.md)

## Related Resources

- [OpenRouter status](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/provider-status/openrouter.md)
- [All OpenRouter pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openrouter.md)

## FAQ

### Is gpt-5.1-codex cheaper than apac.anthropic.claude-haiku-4-5-20251001-v1:0?

No. gpt-5.1-codex costs $1.25 per 1M input tokens while apac.anthropic.claude-haiku-4-5-20251001-v1:0 costs $1.10 per 1M input tokens, making apac.anthropic.claude-haiku-4-5-20251001-v1:0 12% more affordable for input. However, gpt-5.1-codex may offer different capabilities or performance characteristics that justify the price difference.

### How does gpt-5.1-codex pricing compare to the average chat model?

gpt-5.1-codex input pricing is $1.25 per 1M tokens, which is 142% above the median of $0.52 for chat models. It ranks 2321 out of 3254 chat models by input cost, making it cheaper than 28% of models in this category. For output, it costs $10.00 per 1M tokens compared to the median of $1.50.

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

Among OpenRouter's 441 chat models, gpt-5.1-codex ranks 312 by input cost.

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

The most comparable chat models to gpt-5.1-codex are: apac.anthropic.claude-haiku-4-5-20251001-v1:0 from AWS Bedrock ($1.10/1M input tokens); gpt-5-2025-08-07 from Azure ($1.38/1M input tokens); gpt-5.1 from Azure ($1.38/1M input tokens); gpt-5.1-chat 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.

### How large is gpt-5.1-codex's context window?

gpt-5.1-codex supports up to 400,000 input tokens, placing it in the top 24% of chat models by context window size (rank 714 of 3025). 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 costs?

gpt-5.1-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.25 and generating 1M output tokens costs $10.00.

## Related Resources

- [All OpenRouter pricing](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openrouter.md)
- [LLM cost calculator](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator.md)
- [Model library](https://maxim-root-proxy-preview.getmaxim.workers.dev/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://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/resources.md)

---

*This is a markdown version of [https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.1-codex](https://maxim-root-proxy-preview.getmaxim.workers.dev/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.1-codex) for AI/LLM consumption.*
