PromptPriceCalculate

OpenAI API pricing calculator

GPT-5.4 Pricing Calculator: Input and Output Token Costs

Estimate prompt, response, cached input, and volume costs for GPT-5.4. Pricing verified 2026-06-25 from the provider source.

Quick estimate

No API key needed. Pick a model, paste your question, choose the answer length, and get a close cost estimate.

$2.5/M input$15/M output400,000 ctxCache pricingBatchFlexPriority

3. How long will the AI answer be?

Your estimate will appear here.

Paste a prompt, choose an answer length, and calculate.

Pricing table

Input: $2.5 per 1M tokens

Output: $15 per 1M tokens

Cached input: $0.25 per 1M tokens

Context window: 400,000 tokens

Source: https://platform.openai.com/docs/pricing

Example prompt costs

A 2,000 token prompt and 1,000 token answer costs about $0.020000 before tool add-ons.

Flagship short/long context pricing seed.

How much does GPT-5.4 cost per 1M input tokens?

GPT-5.4 is seeded at $2.5 per 1M input tokens for the standard tier.

How much does GPT-5.4 cost per 1M output tokens?

GPT-5.4 is seeded at $15 per 1M output tokens.

Does GPT-5.4 support cached input pricing?

Yes. The cached input seed price is $0.25 per 1M tokens.