GPT-5.4 nano API pricing

OpenAI charges $0.2 per million input tokens and $1.25 per million output tokens for GPT-5.4 nano (gpt-5.4-nano), and $0.02 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.000825, or $0.000412 through the batch API.

Prices updated November 14, 2026
Input / 1M tokens
$0.2
Output / 1M tokens
$1.25
Cached input / 1M tokens
$0.02
Typical request
$0.000825
Calculate the cost of your prompt →

GPT-5.4 nano price per million tokens

Token typeStandardBatch API
Input$0.2$0.1
Cached input$0.02$0.01
Output$1.25$0.625

API model id: gpt-5.4-nano. GPT-5.4 nano supports a 272K-token context window, up to 128K output tokens, image input, tool calling and reasoning.

What GPT-5.4 nano costs per request

Request1 request1,000 requests1M requests
Short chat message (300 in, 200 out)$0.00031$0.31$310.00
Typical request (1K in, 500 out)$0.000825$0.83$825.00
Long document summary (20K in, 1K out)$0.00525$5.25$5,250.00
Coding agent step (50K in, 2K out)$0.0125$12.50$12,500.00

At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words.

How GPT-5.4 nano compares

GPT-5.4 nano price history

GPT-5.4 nano has cost $0.2 per million input tokens and $1.25 per million output tokens since apicost.app started tracking prices on October 22, 2026.

Every LLM API price increase, cut, new and retired model, dated: LLM API price changes.

Models with a similar price

ModelProviderInput / 1MCached input / 1MOutput / 1MTypical request
Codestral 2508Mistral$0.3$0.03$0.9$0.00075
GPT-5.6 LunaOpenAI$0.2$0.02$1.2$0.0008
DeepSeek V3DeepSeek$0.27$0.07$1.1$0.00082
DeepSeek V4 1 Flash 1017Mistral$0.3$0.007$1.2$0.0009
DeepSeek FlashDeepSeek$0.3$0.006$1.2$0.0009
DeepSeek V4 FlashDeepSeek$0.3$0.006$1.2$0.0009
Gemini 3.1 Flash LiteGoogle Gemini$0.25$0.025$1.5$0.001
GPT-4.1 miniOpenAI$0.4$0.1$1.6$0.0012

Other OpenAI models

Every OpenAI model side by side, with batch, caching and long-context prices: OpenAI API pricing. Ways to pay less: batch API, prompt caching, the cheapest models.

Questions and answers

How much does the GPT-5.4 nano API cost?

OpenAI charges $0.2 per million input tokens and $1.25 per million output tokens for GPT-5.4 nano (gpt-5.4-nano), and $0.02 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.000825, or $0.000412 through the batch API.

Has the GPT-5.4 nano API price changed?

No. GPT-5.4 nano has cost $0.2 per million input tokens and $1.25 per million output tokens since apicost.app started tracking prices on October 22, 2026.

Is there a cheaper way to use GPT-5.4 nano?

Yes. The OpenAI batch API runs requests within 24 hours for $0.1 per million input tokens and $0.625 per million output tokens. Prompt caching lowers the price of repeated input to $0.02 per million tokens.

What is the context window of GPT-5.4 nano?

GPT-5.4 nano accepts up to 272,000 input tokens, roughly 204,000 words of English, and writes up to 128,000 output tokens per response. Filling the whole context window once costs $0.0544 in input tokens.

Is GPT-5.4 nano cheaper than Claude Haiku 5.5?

No. Claude Haiku 5.5 from Anthropic costs $0.1 input and $0.5 output per million tokens, so a typical request is $0.00035: 2.4× cheaper than GPT-5.4 nano.

Source: OpenAI pricing, via the LiteLLM price list.