Pricing comparison

GPT-5.4 vs Claude Opus 4.7

Per-token pricing, full-workload cost ladders, and monthly volume projections. Numbers sourced directly from each provider's rate card.

OpenAI

GPT-5.4

Input
$2.50 / 1M
Output
$15.00 / 1M
Cached input
$0.250 / 1M
Context
1.1M
Max output
128K

Anthropic

Claude Opus 4.7

Input
$5.00 / 1M
Output
$25.00 / 1M
Cached input
-
Context
1M
Max output
128K

Cost per request

Four common workload shapes, input tokens and a 1:2 output ratio (a standard chat/completion pattern). Long-context surcharges apply automatically where the provider charges them.

ScenarioTokens (in / out)GPT-5.4Claude Opus 4.7Winner
Short prompt100 / 200$0.0033$0.0063GPT-5.4
Typical request1,000 / 2,000$0.0325$0.0633GPT-5.4
Long document10,000 / 5,000$0.1000$0.2012GPT-5.4
Large prompt100,000 / 10,000$0.4000$0.8625GPT-5.4

Monthly bill at scale

Projected monthly cost at typical request volume, assuming the "typical request" shape above (1k in, 2k out).

TrafficReq / monthGPT-5.4Claude Opus 4.7Delta
Small SaaS1,000$32.50$63.25GPT-5.4 -$30.75
Growing product10,000$325.00$632.50GPT-5.4 -$307.50
Heavy usage100,000$3,250$6,325GPT-5.4 -$3,075

Which should you use?

For the typical chat-shape request (~1k input, 2k output), GPT-5.4 comes out 95% cheaper. If you're picking one as the default, that's usually the right choice on cost alone.

GPT-5.4 wins on both sides of the bill - cheaper input and cheaper output. If the quality gap is in your favour, there's no cost argument for the other side.

Context window differs: GPT-5.4 holds 1.1M of input vs 1M on the other side. If you regularly push past the smaller ceiling, the comparison ends there.

Live cost calculator

Type in any token counts - both prices update instantly. Uses base input/output rates (no cache discount, no long-context tier).

GPT-5.4

$0.0100

per request

Claude Opus 4.7

$0.0201

per request

GPT-5.4 is $0.0101 cheaper per request (50.3% less).

Try both in the estimator →

Drop your actual prompt in, tokens are counted with the provider's own tokenizer, and the dollar number matches what lands on your invoice.

Frequently asked

Which is cheaper, GPT-5.4 or Claude Opus 4.7?
On a typical 1,000-input / 2,000-output request, GPT-5.4 costs ~$0.0325 vs ~$0.0633 on Claude Opus 4.7. Input or output rates can flip the answer for very lopsided workloads - see the cost ladder above.
What's the difference in per-token pricing?
GPT-5.4 charges $2.50 per 1M input tokens and $15.00 per 1M output tokens. Claude Opus 4.7 charges $5.00 / $25.00 per 1M.
Which has the bigger context window?
GPT-5.4 is larger (1.1M) vs 1M on the other.
Is there a cached-input discount on either?
GPT-5.4 caches at $0.250 per 1M (90% off). Claude Opus 4.7 does not publish a cached-input rate. Workloads with repeated static prefixes see the biggest savings.
How fresh is this comparison?
GPT-5.4 was re-verified on 2026-04-06 and Claude Opus 4.7 on 2026-04-17 against each provider's published rate card. Calcis re-checks every row on a rolling schedule and re-deploys when a provider changes pricing.

GPT-5.4 verified 2026-04-06 · Claude Opus 4.7 verified 2026-04-17. Rate cards at OpenAI and Anthropic.