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

# GPT-5 Codex 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 Codex: USD 1.25 per 1M input tokens and USD 10 per 1M output tokens. Each price is read from the provider's own pricing page.

OpenAI · slug `gpt-5-codex` · 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/). Archived list prices since 2026-01-02 (3 archived price points, 0 list-price changes): [LLM API price history](https://broadrouter.com/data/llm-api-price-history/#p-openai).

## Does OpenAI sell GPT-5 Codex directly?

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

## GPT-5 Codex 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 Codex 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 Codex Global Input: $1.25 \| Cached Input: $0.13 \| Output: $10” | USD 1.25 | USD 0.13 | USD 10 | USD 3.438 | 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%20Codex%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fgpt-5-codex%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 Codex 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-codex). 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 Codex, by provider
| Provider | Support chatbot | RAG over documents | Coding agent (one developer) |
| --- | --- | --- | --- |
| **Microsoft Azure** | USD 232.02 | USD 369.36 | USD 1,436 |

## What does GPT-5 Codex cost in other languages?

The same text needs a different number of tokens in each language. With the GPT (o200k) tokenizer, sending 1M characters costs this much at the cheapest standard input price we found for GPT-5 Codex:

| Content | Input per 1M characters | Cheapest provider |
| --- | --- | --- |
| English | USD 0.267 | Microsoft Azure |
| Arabic MSA | USD 0.399 | Microsoft Azure |
| Hindi | USD 0.403 | Microsoft Azure |
| Chinese | USD 0.964 | Microsoft Azure |
| Code | USD 0.318 | Microsoft Azure |

From BroadRouter's [real cost by language dataset](https://broadrouter.com/data/real-cost-by-language/), which covers 15 languages and content types for every model we could match to a measured tokenizer.

## Estimate your own bill

-   [LLM API cost calculator with GPT-5 Codex preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gpt-5-codex): your traffic and cache rate, against any of 428 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 Codex compare with other OpenAI models?

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

OpenAI models priced closest to GPT-5 Codex
| Model | Cheapest input | Cheapest output | Max context | Providers |
| --- | --- | --- | --- | --- |
| [GPT-5 (2025-08-07)](https://broadrouter.com/llm-api-pricing/gpt-5/) | USD 1.25 | USD 10 | — | 3 |
| [GPT-5.1](https://broadrouter.com/llm-api-pricing/gpt-5.1/) | USD 1.25 | USD 10 | — | 2 |
| [GPT-4.1 (2025-04-14)](https://broadrouter.com/llm-api-pricing/gpt-4.1/) | USD 2 | USD 8 | — | 3 |
| [o3 (2025-04-16)](https://broadrouter.com/llm-api-pricing/o3/) | USD 2 | USD 8 | — | 3 |
| [GPT-6 Sol](https://broadrouter.com/llm-api-pricing/gpt-6-sol/) | USD 2 | USD 10 | 1,050,000 | 6 |
| [GPT-6.1 Sol](https://broadrouter.com/llm-api-pricing/gpt-6.1-sol/) | USD 2 | USD 10 | 1,050,000 | 6 |

Priced closest from other makers: [Gemini 2.5 Pro](https://broadrouter.com/llm-api-pricing/gemini-2.5-pro/) (Google, USD 3.438) · [Gemini 3.5 Flash](https://broadrouter.com/llm-api-pricing/gemini-3.5-flash/) (Google, USD 3.375) · [Kimi K3](https://broadrouter.com/llm-api-pricing/kimi-k3/) (Moonshot AI, USD 3.763).

[All 428 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 Codex API cost per token?

From USD 1.25 per 1M input tokens (USD 0.00000125 per token) and USD 10 per 1M output tokens (USD 0.00001 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 Codex?

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

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

OpenAI publishes no price for GPT-5 Codex 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 1.25 / USD 10 per 1M tokens.

### Does GPT-5 Codex have cached input pricing?

Yes. The lowest is USD 0.13 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 Codex?

For 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning, over 30 days: USD 1,436 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-codex).

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

No provider in our data lists a free price for GPT-5 Codex 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-codex&utm_content=page-cta) ·

**Sources**

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