Skip to content
OpenAI

Gpt 5.4 Mini

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

Gpt 5.4 Mini Pricing & Specifications

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

What is Gpt 5.4 Mini?

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

Capabilities

text vision function calling reasoning pdf web search json mode

Gpt 5.4 Mini Cost Examples

Short prompt (500 tokens)

$0.000375

Medium prompt (2K tokens)

$0.00150

Long output (4K tokens)

$0.01800

Count tokens for Gpt 5.4 Mini

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

Open Token Counter

Similar Models to Gpt 5.4 Mini

OpenAI

Ft:Gpt 4.1 Mini 2025 04 14

$0.80/1M in 1.0M ctx

OpenAI

Gpt Audio Mini

$0.60/1M in 128K ctx

OpenAI

Gpt Audio Mini 2025 10 06

$0.60/1M in 128K ctx

OpenAI

Gpt Audio Mini 2025 12 15

$0.60/1M in 128K ctx

Frequently Asked Questions

How much does Gpt 5.4 Mini cost per token? +
Gpt 5.4 Mini costs $0.75 per 1M input tokens and $4.50 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.003000.
What is the context window for Gpt 5.4 Mini? +
Gpt 5.4 Mini 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 Mini? +
Gpt 5.4 Mini 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 Mini good for coding tasks? +
Yes, Gpt 5.4 Mini supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.
Token Counter | Pricing Calculator | Model Comparison | All OpenAI Models