GPT-5.4 API Cost Calculator

OpenAI's GPT-5.4: $2.5/M input · $15/M output · $0.25/M cached input. Price your own workload below.

Presets:

What GPT-5.4 costs in practice

WorkloadInputOutputCost
Short chat message500250$0.0050
10-page document + summary7,000500$0.025
Agent / coding session50,00010,000$0.275
1M tokens in + 1M out1,000,0001,000,000$17.50

GPT-5.4 vs nearest rivals

Closest-priced alternatives on a mixed 10K-input / 2K-output request:

ModelInput $/MTokOutput $/MTokMixed request
GPT-5.4$2.5$15$0.055
Gemini 2.5 Pro$1.25$10$0.033
Claude Sonnet 5$2$10$0.040
Gemini 3.1 Pro Preview$2$12$0.044

Frequently asked questions

How much does the GPT-5.4 API cost?

GPT-5.4 costs $2.5 per million input tokens and $15 per million output tokens, with cached input at $0.25 per million (90% off).

How much does a typical chat message cost with GPT-5.4?

A short chat message (about 500 input and 250 output tokens) costs roughly $0.0050 with GPT-5.4. At 1,000 such requests a day, that is about $150.00 per month.

Is GPT-5.4 cheap compared to similar models?

GPT-5.4 has the #21 cheapest input rate of the 26 models we track. On a mixed workload (10K input / 2K output), it costs $0.055 per request, versus $0.033 for Gemini 2.5 Pro.

Related

Compare all models at once ·Count tokens in your prompt

Last updated 2026-08-03. Prices verified againstOpenAI's official pricing page; see themethodology.