OpenAI · LLM API Modelactive

gpt-5-mini

gpt-5-mini costs $0.25 per 1M input tokens, $0.025 cached input and $2.00 per 1M output tokens. Batch API: $0.125 input, $1.00 output.

Updated September 21, 2026
Input / 1M
$0.25
Output / 1M
$2.00
Cached Input
$0.025
Context Window
272K
Standard Input
$0.25 / 1M
Base prompt input rate
Standard Output
$2.00 / 1M
Completion output rate
Prompt Caching -50%
$0.025 / 1M
Cached prompt context
Batch API -50%
$0.125 / 1M
Asynchronous 24h batch

Save up to 50% on OpenAI API token spend

Connect your OpenAI account — we'll optimize Batch API workflows and prompt caching efficiency.

Flagship models

All rates listed in USD per 1 Million (1M) tokens unless noted

StandardBatchFlexFast mode
Pricing Metric / Parameter
Standard RATE
(per 1M)
Batch RATE
(per 1M)
Flex RATE
(per 1M)
Fast mode RATE
(per 1M)
Short context input$0.25$0.125$0.125$0.45
Short context cached input$0.025$0.0125$0.0125$0.045
Short context cache writes----
Short context output$2.00$1.00$1.00$3.60
Long context input----
Long context cached input----
Long context cache writes----
Long context output----

Source: OpenAI official pricing page, verified 2026-09-21. Prices in USD per 1M tokens.

AI / LLM
LLM API Cost Comparison

Compare OpenAI model costs against Anthropic & Gemini

Use our free LLM Cost Calculator to benchmark gpt-5-mini token rates, Batch API discounts, and monthly estimated spend side-by-side with leading AI models.

Open LLM Cost Calculator →