$T TokenCostDB
Verified: 2026-11-30 Direct Official Pricing Provider: OpenAI

OpenAI: GPT-5.4 API Pricing & Monthly Cost Calculator

OpenAI: GPT-5.4 by OpenAI is priced at $2.50 per 1M input tokens and $15.00 per 1M output tokens with a 1.05M context window. Prompt caching reduces repeated prefix reads to $0.25/1M (90% savings). Batch API lowers rates to $1.25 in / $7.50 out.

Standard Input / 1M
$2.50
Standard Output / 1M
$15.00
Cache Read / Write
$0.25 / —
Context / Max Output
1.05M / 128K

Direct Official vs. OpenRouter Gateway

Comparing direct vendor pricing against multi-provider OpenRouter routing for openai/gpt-5.4.

Channel Input / 1M Output / 1M Cache Read
Direct Official $2.50 $15.00 $0.25
OpenRouter Gateway $2.50 $15.00 $0.25
Gateway vs direct output spread: 0% Primary Pricing Source →

1M to 1B Token Cost Tiers

Reference monthly spend assuming a standard 75% input / 25% output workload mix.

Monthly Volume Standard 75% Cached Batch API
1M tokens $5.63 $4.36 $2.81
10M tokens $56.25 $43.59 $28.13
100M tokens $562.50 $435.94 $281.25
1B tokens $5,625 $4,359 $2,813

Interactive OpenAI: GPT-5.4 Bill Estimator

Adjust request volume, tokens, and prompt cache hit ratio.

Estimated Monthly Total
$1,032
Cache Hit %60%
Input: $240.00Cache Read: $36.00Output: $720.00Per 1K reqs: $17.20

Closest Price-Tier Alternatives

Model Input / 1M Output / 1M Context
Google: Gemini 4 Neon $3.00 $15.00 1.05M
Anthropic: Claude Sonnet 4.6 $3.00 $15.00 1M
Anthropic: Claude Sonnet 4.5 $3.00 $15.00 1M
OpenAI: GPT-5.2 $1.75 $14.00 400K
OpenAI: GPT-5.3-Codex $1.75 $14.00 400K
OpenAI: GPT-5.2-Codex $1.75 $14.00 400K

Optimize Inference & Self-Hosting

Compare OpenAI: GPT-5.4 against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.

Model Specifications & FAQs

GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system. It features a 1M+ token context window (922K input, 128K output) with support for...

How much does OpenAI: GPT-5.4 API cost per 1M tokens?

OpenAI: GPT-5.4 costs $2.50 per 1M input tokens and $15.00 per 1M output tokens (official direct provider rate), verified on 2026-11-30.

Does OpenAI: GPT-5.4 support prompt caching or batch discounts?

Yes, cached input reads cost $0.25 per 1M tokens (90% off standard input). Batch API reduces rates to $1.25 input and $7.50 output per 1M tokens.

What is the context window and max output for OpenAI: GPT-5.4?

OpenAI: GPT-5.4 supports a 1,050,000-token context window and up to 128,000 output tokens per completion.