OpenAI logo

OpenAI: GPT-5.4

openai/gpt-5.4

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...

Modalities

TextImageFiles / PDFText

In / out price

$2.5 / $15 per 1M

Context

1.05M

Released

Mar 5, 2026

Why use GPT-5.4

  • Understands images
  • Reads PDFs and other files
  • Step-by-step reasoning mode
  • Tool and function calling (agent-ready)
  • Structured (JSON) outputs
  • Very long context: whole books or codebases in one prompt

Pricing

Input$2.5 / 1M tokens
Output$15 / 1M tokens
Cached input (read)$0.25 / 1M tokens

List prices via OpenRouter, checked daily. Real cost depends on the provider and on reasoning tokens.

How it ranks

Coding index71.1

Source: Artificial Analysis (artificialanalysis.ai) via OpenRouter (openrouter.ai/rankings).

Cost calculator

Pick a task, set how often you run it, and compare what it costs on each model.

ModelPer runPer monthPer 1,000 runs
OpenAI: GPT-5.4$0.032$32.00$32.00

Estimates from list prices via OpenRouter; real bills vary by provider and reasoning tokens.

Will it fit? Context window simulator

Each square is about one page (500 words). Colored squares are your content; grey squares are free space in the model's context window.

Your content

  • Novel (90,000 words)

Total: about 120,000 tokens (≈ 90,226 words). Token counts are estimates.

Models

OpenAI: GPT-5.4

1,050,000 tokens ≈ 1,579 pages

Fits: uses 11% of the window (room for 8× this much).

Write with the best model for the job

WordGPT picks and switches models for you: drafting, editing and files in one place. Free plan, no credit card.

Try it free

More from OpenAI