API pricing and cost

GPT-5-Codex-Mini pricing

GPT 5 Codex Mini official API pricing is $1.50 per million input tokens and $6.00 per million output tokens.

Covers the 2025-11-07 GPT-5-Codex-Mini release. Superseded by GPT-5.1 Codex Mini pricing.

$1.50

Official input / 1M

Standard tier

$6.00

Official output / 1M

Standard tier

$1.59

Blended / 1M

4:1 input/output, 90% input cached

$159.00

Example monthly cost

10K requests, 8K input + 2K output/request, 90% input cached

Token charges only; tool calls, taxes, and other non-token fees are excluded.

Official API pricing

USD / 1M text tokens · Standard · Effective from 2026-01-02 · Last verified 2026-09-25

InputStandard text tier, per million tokens
$1.50
Cached inputInput served from the prompt cache
$0.375
Cache writeCharged once when a prompt enters the cache
$0.00
OutputStandard text tier, per million tokens
$6.00

Other modalities

  • image input: $1.50 / 1M tokens

    Migrated from MODEL_API_PRICE#59 (standard)

  • image cache read: $0.375 / 1M tokens

    cache_status = hit · Migrated cached input from MODEL_API_PRICE#60

  • image cache write: $0.00 / 1M tokens

    cache_status = write · Migrated cache write from MODEL_API_PRICE#60

API providers (1)

Published USD text API rates across hosting providers for GPT-5-Codex-Mini. Compare listed rates, effective dates, and service-tier notes for the same model.

Published USD API provider rates for GPT-5-Codex-Mini
ProviderInput / 1MCached / 1MOutput / 1MAdditional tiers & notes
OpenAI⁠OfficialEffective from 2026-01-02 · Last verified 2026-09-25$1.50$0.375$6.00—

What GPT-5-Codex-Mini costs to run

Four workloads costed at official standard rates. Cached-input share is an estimation assumption, not a provider guarantee; when no cached rate is published, all input is billed at the uncached rate. Non-token fees are excluded.

Estimated monthly cost of four workloads on GPT-5-Codex-Mini
WorkloadPer requestMonthly tokensInputOutputPer month
Chatbotshort turns1,500 in · 500 out× 100,000 requests150M in · 50M out$225.00$300.00$525.00$0.00525 / request
Assistant8K context · 90% cached8,000 in · 2,000 out× 10,000 requests80M in · 20M out$39.00$120.00$159.00$0.02 / request
RAGlong input, cached · 50% cached24,000 in · 800 out× 20,000 requests480M in · 16M out$450.00$96.00$546.00$0.03 / request
Coding agentlong output · 70% cached15,000 in · 4,000 out× 20,000 requests300M in · 80M out$213.75$480.00$693.75$0.03 / request
Start from

Monthly cost

$159.00

on GPT-5-Codex-Mini

Per request

$0.02

80M in · 20M out a month

Split

$39.00 + $120.00

input + output

GPT-5-Codex-Mini against comparable models

Benchmark-overlap peers and price-comparable same-type models, costed on the assistant workload above. All figures use the same workload and caching rule; lower price does not imply equivalent capability or service terms.

Blended price and monthly cost of GPT-5-Codex-Mini and comparable models
ModelBasisBlended / 1MPer monthvs GPT-5-Codex-Mini
Composer 2.5CursorLower-cost option$0.684$68.4057%cheaper · 2.3×
Doubao Seed 2.0 CodeByteDance Seed TeamLower-cost option$0.712$71.2055%cheaper · 2.2×
Kimi K2.7 CodeMoonshot AILower-cost option$1.01$101.2836%cheaper
Grok 4.5xAILower-cost option$1.58$157.600.9%cheaper
GPT-5-Codex-MiniOpenAI · this modelThis model$1.59$159.00—
Grok 4.6xAISimilar price$1.72$172.008.2%dearer
GPT-5.3 CodexOpenAISimilar price$3.07$306.6093%dearer

Catalog price position: #168 cheapest of 252 active priced models in the LLMLearner catalog (cheaper than 33% at the 4:1 mix with 90% of input assumed cached where published; official headline rates).

GPT-5-Codex-Mini pricing questions

How much does GPT-5-Codex-Mini cost per million tokens?
GPT 5 Codex Mini official API pricing is $1.50 per million input tokens and $6.00 per million output tokens. Cached input is billed at $0.375 per million tokens. At the default 4:1 input-to-output mix with 90% of input assumed cached, that is $1.59 per million blended tokens.
What does GPT-5-Codex-Mini cost per month, and what is included?
On the example Assistant workload (10,000 requests/month, 8,000 input and 2,000 output tokens/request, 90% input cached), GPT-5-Codex-Mini costs about $159.00/month ($0.02/request). This includes token charges at the official rate only; tool calls, off-peak or batch tiers, and taxes are excluded.
Is there a cheaper alternative to GPT-5-Codex-Mini?
Among the comparable models shown on this page, Composer 2.5 is cheaper at $0.684 per million blended tokens vs $1.59 for GPT-5-Codex-Mini. Compare benchmarks before switching, as a lower rate does not guarantee equivalent quality or service terms. Across all 252 active priced models in the LLMLearner catalog, GPT-5-Codex-Mini ranks 168th cheapest (cheaper than 33% at the default 4:1 mix).
Does GPT-5-Codex-Mini charge for cached input?
Yes, at a discount: $0.375 per million cached input tokens against $1.50 uncached, with cache writes billed at $0.00 per million.