OpenAI · LLM API Modelactive

gpt-5.4

gpt-5.4 costs $2.50 per 1M input tokens, $0.25 cached input and $15.00 per 1M output tokens. Batch API: $1.25 input, $7.50 output.

Updated September 21, 2026
Input / 1M
$2.50
Output / 1M
$15.00
Cached Input
$0.25
Context Window
1.05M
Standard Input
$2.50 / 1M
Base prompt input rate
Standard Output
$15.00 / 1M
Completion output rate
Prompt Caching -50%
$0.25 / 1M
Cached prompt context
Batch API -50%
$1.25 / 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$2.50$1.25$1.25$5.00
Short context cached input$0.25$0.13$0.13$0.50
Short context cache writes----
Short context output$15.00$7.50$7.50$30.00
Long context input$5.00$2.50$2.50-
Long context cached input$0.50$0.25$0.25-
Long context cache writes----
Long context output$22.50$11.25$11.25-

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 token rates, Batch API discounts, and monthly estimated spend side-by-side with leading AI models.

Open LLM Cost Calculator →