OpenAI · LLM API Modelactive

gpt-5-nano

gpt-5-nano costs $0.05 per 1M input tokens, $0.005 cached input and $0.40 per 1M output tokens. Batch API: $0.025 input, $0.20 output.

Updated September 21, 2026
Input / 1M
$0.05
Output / 1M
$0.40
Cached Input
$0.005
Context Window
272K
Standard Input
$0.05 / 1M
Base prompt input rate
Standard Output
$0.40 / 1M
Completion output rate
Prompt Caching -50%
$0.005 / 1M
Cached prompt context
Batch API -50%
$0.025 / 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

StandardBatchFlex
Pricing Metric / Parameter
Standard RATE
(per 1M)
Batch RATE
(per 1M)
Flex RATE
(per 1M)
Short context input$0.05$0.025$0.025
Short context cached input$0.005$0.0025$0.0025
Short context cache writes---
Short context output$0.40$0.20$0.20
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-nano token rates, Batch API discounts, and monthly estimated spend side-by-side with leading AI models.

Open LLM Cost Calculator →