OpenAI logoGPT-5 Mini API cost and pricing

Budget compact business replies with this exact model's live input, output and cache prices. The three scenarios below separate usage assumptions from current rates.

gpt-5-mini

Provider lifecycle notice

Shuts down on December 11, 2026. Catalog availability and provider lifecycle are separate checks. Provider source

Live token and cache rates

Fresh input / 1M tokens
$0.25
Output / 1M tokens
$2.00
Cached input / 1M tokens
$0.025 per 1M tokens
Cache write / 1M tokens
No extra fee
Cached output
Not offered
Web search (optional)
$10.00 per 1K searches

A cache hit must be reported by the provider. Without a separate cached-input rate, normal input pricing applies. Cache creation uses a listed write rate when applicable; generated output never receives a cached-output discount.

Three monthly workload estimates

Illustrative scenarios, not measured traffic or promised bills. Input includes system instructions, history and tool results. All output, including chargeable reasoning, must fit the assumed output count. These totals assume no cache hits or writes.

WorkloadInput / requestOutput / requestRequests / monthMonthly estimate
Short question answering1,50030010,000$10.42
compact business replies1,2002503,000$2.50
Long-context review40,0001,500500$6.51

Formula: round each request's (input tokens × input rate + output tokens × output rate) / 1,000,000 up to the next INR paise, then multiply by request count. Billing stays in INR paise; display currency does not change charges. No GST surcharge is added.

Standard, thinking and Fast variants

Each enabled variant has its own ID. The same per-token rate can still produce different bills when reasoning or answer lengths differ. Fast-serving rates are read from their own rows, never inferred from the base model.

What the estimate leaves out

Extra agent steps, growing conversation history, additional billable requests, web searches (billed per search, and their results add input tokens), external tools, multimodal inputs and provider-specific conditions can change totals. Check recorded usage and current prices after testing a representative workload. Use the calculator for explicit cache counts rather than assuming every repeated prompt qualifies.

Model-specific checks

Check the provider lifecycle notice before a new deployment; an enabled catalog row does not promise indefinite availability.

Context capacity
400,000 tokens
Maximum output
128,000 tokens
Current usage price
$0.25 in / $2.00 out per 1M tokens

Limits are provider-published where a source exists, not independently tested TokenRex request limits. Exact-version benchmarks remain on the model page; scores from another variant are not copied here.

Sources and verification

TokenRex's live catalog determines availability and charges. Provider documents describe upstream behavior; they do not prove that every native feature is exposed here. These examples are not a claim of a completed live API test.

Get API keyCustom cost calculatorTool-specific integrations