47 model prices
  1. Home
  2. Models
  3. OpenAI
  4. GPT-5 mini

GPT-5 mini API pricing and context window

GPT-5 mini costs $0.25 per 1M input tokens and $2.00 per 1M output tokens on the OpenAI API. Cached input reads cost $0.025 per 1M. It accepts up to 272,000 input tokens and returns up to 128,000 output tokens. A typical chat request (10K input, 1K output) costs about $0.0045. Prices last updated November 27, 2026.

Last updated: Provider pricing pagePricing data: LiteLLM (MIT)

Input
$0.25
per 1M tokens
Output
$2.00
per 1M tokens
Cached input
$0.025
per 1M tokens
Context window
272,000
tokens
Max output
128,000
tokens

Deprecated; shuts down on December 11, 2026. Successor: GPT-6.1 Terra.

Pricing options

Input /1MOutput /1Mvs standard (input / output)
Batch API$0.125$1.00-50% / -50%
Flex$0.125$1.00-50% / -50%
Fast mode (formerly Priority)$0.45$3.60+80% / +80%

Typical task cost

TaskCost
Chat request (10K in + 1K out)$0.0045
Codebase question (100K in + 2K out)$0.029
Same question with cached context (100K cached + 2K out)$0.0065
Filling the whole context once (272K in)$0.068
1M tokens a month (750K in + 250K out)$0.688

Estimate your own workload in the calculator

GPT-5 mini compared with the previous and next version

ModelInput /1MOutput /1MWhat changes
OlderGPT-4o mini$0.15 -40%$0.60 -70%GPT-4o mini → GPT-5 mini: input: $0.15 → $0.25; output: $0.60 → $2.00; cached input: $0.075 → $0.025; context: 128K → 272K
+7 more differencesmax output: 16K → 128K; Batch API input: $0.075 → $0.125; Batch API output: $0.30 → $1.00; Flex: listed only for GPT-5 mini; Fast mode (formerly Priority) input: $0.25 → $0.45; Fast mode (formerly Priority) output: $1.00 → $3.60; shutdown date: January 14, 2027 → December 11, 2026

Capabilities and details

Similar models by price

ModelProviderInput /1MOutput /1MContext windowvs this model (input / output)
Mistral Large 3Mistral$0.50$1.50256K+100% / -25%
Gemini 2.5 FlashGoogle$0.30$2.501M+20% / +25%
GPT-5OpenAI$1.25$10.00272K+400% / +400%
GPT-5 nanoOpenAI$0.05$0.40272K-80% / -80%
GPT-5.1OpenAI$1.25$10.00272K+400% / +400%

Price history

DateInput /1MOutput /1MCached input /1M
$0.25$2.00$0.025

Tracking started on November 21, 2026. A new row appears only when a price changes.

Embed this price badge

GPT-5 mini API price

The badge shows the current list price and updates daily. Paste the HTML or Markdown into your site or README.

<a href="https://vibecodingturkey.com/models/gpt-5-mini"><img src="https://vibecodingturkey.com/models/badge/gpt-5-mini.svg" alt="GPT-5 mini API price" height="20"></a>
[![GPT-5 mini API price](https://vibecodingturkey.com/models/badge/gpt-5-mini.svg)](https://vibecodingturkey.com/models/gpt-5-mini)

Questions

How is GPT-5 mini different from GPT-4o mini?

GPT-4o mini → GPT-5 mini: input: $0.15 → $0.25; output: $0.60 → $2.00; cached input: $0.075 → $0.025; context: 128K → 272K; max output: 16K → 128K; Batch API input: $0.075 → $0.125; Batch API output: $0.30 → $1.00. +4 more differences in the table above.

When will GPT-5 mini be shut down?

GPT-5 mini is deprecated and shuts down on December 11, 2026. The listed successor is GPT-6.1 Terra.

Is there a batch discount for GPT-5 mini?

Yes. Through the Batch API it costs $0.125 per 1M input and $1.00 per 1M output tokens.

Does GPT-5 mini support prompt caching?

Yes. Cached input reads cost $0.025 per 1M tokens, 90% less than standard input.