OpenAI · LLM API Modelactive

gpt-5.4-nano

gpt-5.4-nano costs $0.20 per 1M input tokens, $0.02 cached input and $1.25 per 1M output tokens. Batch API: $0.10 input, $0.625 output.

Updated September 21, 2026
Input / 1M
$0.20
Output / 1M
$1.25
Cached Input
$0.02
Context Window
272K
Standard Input
$0.20 / 1M
Base prompt input rate
Standard Output
$1.25 / 1M
Completion output rate
Prompt Caching -50%
$0.02 / 1M
Cached prompt context
Batch API -50%
$0.10 / 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.20$0.10$0.10
Short context cached input$0.02$0.01$0.01
Short context cache writes---
Short context output$1.25$0.625$0.625
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.4-nano token rates, Batch API discounts, and monthly estimated spend side-by-side with leading AI models.

Open LLM Cost Calculator →