---
title: "GPT-5.1 Codex Mini API pricing and price per token | BroadRouter"
description: "GPT-5.1 Codex Mini API price per token from 1 provider: USD 0.25 input and USD 2 output per 1M tokens. Source linked per row."
url: https://broadrouter.com/llm-api-pricing/gpt-5.1-codex-mini/
lang: en
updated: 2026-11-14
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# GPT-5.1 Codex Mini API pricing

Updated 2026-11-14

Microsoft Azure is the only provider we checked (prices read 2026-11-14) that lists a standard price for GPT-5.1 Codex Mini: USD 0.25 per 1M input tokens and USD 2 per 1M output tokens. Each price is read from the provider's own pricing page.

OpenAI · slug `gpt-5.1-codex-mini` · 1 provider with a standard price. **Every price is read from the provider's own pricing page** and linked in its row, checked 2026-11-14. No aggregator feed. [Download all prices](https://broadrouter.com/data/llm-api-provider-prices/) (every provider and model, with sources, CSV or JSON). How it compares with the market: the [LLM API price index](https://broadrouter.com/data/llm-api-price-index/).

## Does OpenAI sell GPT-5.1 Codex Mini directly?

OpenAI publishes no price for GPT-5.1 Codex Mini on its own API that we could find, so this page compares hosts only.

## GPT-5.1 Codex Mini price per provider

USD per 1M tokens. Standard prices are ranked on a blend of 3 input tokens to 1 output token, cheapest first.

GPT-5.1 Codex Mini API prices by provider
| # | Provider | Input | Cached input | Output | Blended 3:1 | Context | Precision | Source |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | **[Microsoft Azure](https://broadrouter.com/llm-api-pricing/providers/azure/)** cheapest · Note: Azure OpenAI Global (global standard) deployment. Quote: “GPT-5.1-codex-mini Global Input: $0.25 \| Cached Input: $0.03 \| Output: $2” | USD 0.25 | USD 0.03 | USD 2 | USD 0.6875 | not stated | not stated | [Microsoft Azure page](https://azure.microsoft.com/en-us/pricing/details/azure-openai/) · checked 2026-11-14 · re-checked 2026-11-16 |

-   **Ranked:** standard-tier prices only, on (3 × input + output) ÷ 4. "Cached input: not published" means the provider's page shows no cache price; budget cached tokens at the input price.
-   **Automated re-check 2026-11-16:** a weekly job re-fetches each source page and looks for the recorded quote or prices. It is not a human review. "Re-checked" means it still found them. Rows with no re-check note show only the date the price was read.
-   **Precision** is shown only where the provider states it; "not stated" is unknown, not full precision.

[Report a wrong price or number](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20GPT-5.1%20Codex%20Mini%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fgpt-5.1-codex-mini%2F%0A%0AWhat%20looks%20wrong%20(model%2C%20figure%20shown%2C%20correct%20figure%20and%20a%20source%20link%20if%20you%20have%20one)%3A%0A) (email to info@broadnet.ai, with this page's link filled in).

## What does GPT-5.1 Codex Mini cost for a real workload?

Monthly cost over 30 days at each standard price, using the presets of the [LLM API cost calculator](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gpt-5.1-codex-mini). Providers without a cached price bill cached input at the input price.

-   **Support chatbot:** 2,000 requests a day, 1,500 input tokens (60% cached), 300 output.
-   **RAG over documents:** 1,000 requests a day, 8,000 input tokens (30% cached), 500 output.
-   **Coding agent (one developer):** 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning.

Monthly cost of three workloads on GPT-5.1 Codex Mini, by provider
| Provider | Support chatbot | RAG over documents | Coding agent (one developer) |
| --- | --- | --- | --- |
| **Microsoft Azure** | USD 46.62 | USD 74.16 | USD 293.40 |

## Estimate your own bill

-   [LLM API cost calculator with GPT-5.1 Codex Mini preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gpt-5.1-codex-mini): your traffic and cache rate, against any of 429 models.
-   [GPT token counter](https://broadrouter.com/tools/gpt-token-counter/): count the tokens in your real prompts. Tokenizers differ, so the same text costs a different number of tokens on different models.
-   [Prompt caching calculator](https://broadrouter.com/tools/prompt-caching-calculator/): what a higher cache-hit rate saves.

## How does GPT-5.1 Codex Mini compare with other OpenAI models?

The OpenAI models whose cheapest standard price is closest to GPT-5.1 Codex Mini's (USD 0.6875 blended):

OpenAI models priced closest to GPT-5.1 Codex Mini
| Model | Cheapest input | Cheapest output | Max context | Providers |
| --- | --- | --- | --- | --- |
| [GPT-5 Mini](https://broadrouter.com/llm-api-pricing/gpt-5-mini/) | USD 0.25 | USD 2 | — | 3 |
| [GPT-4.1 Mini](https://broadrouter.com/llm-api-pricing/gpt-4.1-mini/) | USD 0.40 | USD 1.60 | — | 2 |
| [GPT-5.4 Nano](https://broadrouter.com/llm-api-pricing/gpt-5.4-nano/) | USD 0.20 | USD 1.25 | — | 3 |
| [GPT-5.6 Luna](https://broadrouter.com/llm-api-pricing/gpt-5.6-luna/) | USD 0.20 | USD 1.20 | 1,050,000 | 6 |
| [GPT-5.4 Mini](https://broadrouter.com/llm-api-pricing/gpt-5.4-mini/) | USD 0.75 | USD 4.50 | — | 3 |
| [GPT-4o mini](https://broadrouter.com/llm-api-pricing/gpt-4o-mini/) | USD 0.15 | USD 0.60 | — | 3 |

Priced closest from other makers: [Qwen3.6 27B](https://broadrouter.com/llm-api-pricing/qwen3.6-27b/) (Qwen, USD 0.6875) · [DeepSeek R1 0528](https://broadrouter.com/llm-api-pricing/deepseek-r1-0528/) (DeepSeek, USD 0.695) · [Qwen3.5 122B A10B](https://broadrouter.com/llm-api-pricing/qwen3.5-122b-a10b/) (Qwen, USD 0.715).

[All 429 models: API prices compared](https://broadrouter.com/llm-api-pricing/) · [Cheapest LLM APIs right now](https://broadrouter.com/llm-api-pricing/cheapest/) · [LLM API price index (open data)](https://broadrouter.com/data/llm-api-price-index/) · [Download all prices (CSV, JSON)](https://broadrouter.com/data/llm-api-provider-prices/) · [Price change log](https://broadrouter.com/llm-api-pricing/changes/)

## Questions

### How much does the GPT-5.1 Codex Mini API cost per token?

From USD 0.25 per 1M input tokens (USD 0.00000025 per token) and USD 2 per 1M output tokens (USD 0.000002 per token) at the lowest standard prices we found. Each price was read from the provider's own pricing page; the source is linked in its row.

### Which provider is cheapest for GPT-5.1 Codex Mini?

Microsoft Azure is the only provider we checked (prices read 2026-11-14) with a paid standard price, USD 0.25 input and USD 2 output per 1M tokens, so there is nothing to rank yet.

### Does OpenAI sell GPT-5.1 Codex Mini on its own API?

OpenAI publishes no price for GPT-5.1 Codex Mini on its own API that we could find, so there is no maker price to compare. The lowest-priced host we checked is Microsoft Azure at USD 0.25 / USD 2 per 1M tokens.

### Does GPT-5.1 Codex Mini have cached input pricing?

Yes. The lowest is USD 0.03 per 1M at Microsoft Azure. Providers without one bill cached input at the input price. [What cached input means](https://broadrouter.com/glossary/cached-input-tokens/).

### How much does a coding agent cost per month on GPT-5.1 Codex Mini?

For 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning, over 30 days: USD 293.40 a month at Microsoft Azure. Most of the input is cached, so the cache price matters as much as the input price. [Try your own numbers](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gpt-5.1-codex-mini).

### Is GPT-5.1 Codex Mini free to use through an API?

No provider in our data lists a free price for GPT-5.1 Codex Mini as of 2026-11-14. [Free tiers and credits by provider](https://broadrouter.com/data/llm-api-free-tiers-and-rate-limits/) (checked 2026-11-14) lists general offers that do not name a model; [all free LLM API models](https://broadrouter.com/llm-api-pricing/free/) are on one page.

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=llm-api-pricing-gpt-5.1-codex-mini&utm_content=page-cta) ·

**Sources**

-   [Microsoft Azure: pricing (checked 2026-11-14)](https://azure.microsoft.com/en-us/pricing/details/azure-openai/)
