OpenAI, released Mar 5, 2026

GPT-5.4

GPT-5.4 is an OpenAI model from March 5, 2026 that brought their Codex and general GPT lines together into one system. It's an older release in the lineup now - GPT-6.1 Terra, GPT-6.2 Sol, and GPT-6.2 Astra all came out later in the year - and it sits in the middle on price, costing more than Sol and Terra while staying a lot cheaper than Astra. It's built for mixed coding and general API work where you want a huge context window, long replies, and support for images, files, and tools.

Already paying for ChatGPT?

GPT-5.4 costs $15 per 1M output tokens. Use GPT-6.2 Sol through your ChatGPT plan instead, $0 per token.

Get your API key Free plan, no card needed

Updated

GPT-5.4 pricing and specs

Input
$2.50per 1M tokens
Output
$15per 1M tokens
Cached input
$0.25per 1M tokens
Context window
1.1M1,050,000 tokens
Max output
128K128,000 tokens
Released
Mar 5, 2026
Accepts
TextImagesFiles
Features
Tool callingReasoningStructured outputs

What GPT-5.4 is good at

  • Working across big codebases or long documents. Because it combines the coding and general lines with a huge context window and very generous output limits, you can feed a lot in and still get long replies back.
  • Pipelines that take PDFs and images - it handles text, images, and PDF files directly.
  • Agent loops and structured data extraction, since tool calling and structured JSON output are both supported.
  • Mixed workloads where only some calls need extra thinking. Reasoning mode is optional, so you can leave it off for basic prompts and turn it on when a task actually calls for it.

Good to know

  • Newer OpenAI models are cheaper. GPT-6.1 Terra and GPT-6.2 Sol both launched later in 2026 at lower rates for input and output, so for a new project it's worth checking those first unless you're already running on GPT-5.4.
  • Output tokens cost a lot more than input tokens here, and with how big the output limit is, long generations can add up fast.
  • Reasoning mode isn't always on (you enable it when you want it), which keeps you on one model across different kinds of requests.

GPT-5.4 vs similar models

API price per 1M tokens
ModelInputOutputPlan2APIContext
GPT-5.4$2.50$15Not available1.1M
GPT-6.2 Astra$8$40$0 on ChatGPT1.1M
GPT-6.2 Astra Pro$8$40Not available1.1M
GPT-6.2 Sol$2$10$0 on ChatGPT1.1M
Gemini 4 Neon$3$15Not available1M
Ember-1$3$15Not available1M

GPT-5.4 cost per month

Tokens a month at $2.50 input and $15 output per 1M
WorkloadAPI price
Side project2M in, 500K out$12.50
Production app25M in, 5M out$138
Agents at scale250M in, 50M out$1,375

FAQ

How much does the GPT-5.4 API cost?

GPT-5.4 costs $2.50 per 1M input tokens and $15 per 1M output tokens, and cached input costs $0.25 per 1M.

What is the GPT-5.4 context window?

GPT-5.4 takes 1,050,000 tokens of context, with up to 128,000 output tokens per request.

When was GPT-5.4 released?

OpenAI released GPT-5.4 on Mar 5, 2026.

Can I use GPT-5.4 with my subscription?

Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6.2 Sol runs through your ChatGPT plan at $0 per token instead.

Should I pick GPT-5.4 or one of the GPT-6 models?

For most new builds, look at the newer models first. GPT-6.2 Sol and GPT-6.1 Terra came out later and cost less, while GPT-6.2 Astra sits at the pricey top end of the lineup. But if you already have a working setup on GPT-5.4, there's no rush to move off it.

Is GPT-5.4 a coding model or a general-purpose one?

Both. OpenAI merged their Codex and GPT lines into GPT-5.4, so it covers coding and general text, image, and PDF work in the same model.

More OpenAI models

All 57 OpenAI models

Already paying for ChatGPT? Use GPT-6.2 Sol through your plan, $0 per token.

  • Free: 1 subscription, no daily cap, no card
  • Pro: $12 a month

GPT-6.2 Sol at $0 per tokenFree plan, no card needed

Get your API key

Guides

80