Skip to content
OpenAI

Gpt 5.4 Nano

Gpt 5.4 Nano is available via OpenAI with a 272K context window and up to 128,000 output tokens. Pricing: $0.2000/1M input tokens, $1.25/1M output tokens.

Gpt 5.4 Nano Pricing & Specifications

Input Price$0.20 per 1M tokens
Output Price$1.25 per 1M tokens
Context Window272,000 tokens (272K)
Max Output128,000 tokens
ProviderOpenAI

What is Gpt 5.4 Nano?

Gpt 5.4 Nano is a large language model by OpenAI with a 272K context window and up to 128,000 output tokens. It costs $0.20 per 1M input tokens and $1.25 per 1M output tokens. Gpt 5.4 Nano is available via OpenAI with a 272K context window and up to 128,000 output tokens. Pricing: $0.2000/1M input tokens, $1.25/1M output tokens.

Capabilities

text vision function calling reasoning pdf web search json mode

Gpt 5.4 Nano Cost Examples

Short prompt (500 tokens)

$0.000100

Medium prompt (2K tokens)

$0.00040

Long output (4K tokens)

$0.00500

Count tokens for Gpt 5.4 Nano

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Gpt 5.4 Nano

OpenAI

Ft:Gpt 4.1 Nano 2025 04 14

$0.20/1M in 1.0M ctx

OpenAI

Gpt 5 Mini

$0.25/1M in 272K ctx

OpenAI

Gpt 5 Mini 2025 08 07

$0.25/1M in 272K ctx

OpenAI

Gpt 4o Mini

$0.15/1M in 128K ctx

Frequently Asked Questions

How much does Gpt 5.4 Nano cost per token? +
Gpt 5.4 Nano costs $0.20 per 1M input tokens and $1.25 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.000825.
What is the context window for Gpt 5.4 Nano? +
Gpt 5.4 Nano supports a context window of 272,000 tokens (272K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Gpt 5.4 Nano? +
Gpt 5.4 Nano can generate up to 128,000 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Gpt 5.4 Nano good for coding tasks? +
Yes, Gpt 5.4 Nano supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.
Token Counter | Pricing Calculator | Model Comparison | All OpenAI Models