PromptPriceCalculate

Model comparison

GPT-5.4 vs Claude Sonnet 4.6 Cost Calculator

GPT-5.4

$2.5/M input

$15/M output

$0.25/M cached input

Flagship short/long context pricing seed.

Claude Sonnet 4.6

$3/M input

$15/M output

$0.3/M cached input

Balanced Claude seed; US inference may add 1.1x.

Quick estimate

No API key needed. Pick a model, paste your question, choose the answer length, and get a close cost estimate.

$2.5/M input$15/M output400,000 ctxCache pricingBatchFlexPriority

3. How long will the AI answer be?

Your estimate will appear here.

Paste a prompt, choose an answer length, and calculate.

Example request costs

Short prompt

GPT-5.4: $0.0100

Claude Sonnet 4.6: $0.0105

Long coding prompt

GPT-5.4: $0.1375

Claude Sonnet 4.6: $0.1500

App build planning prompt

GPT-5.4: $0.0550

Claude Sonnet 4.6: $0.0600

Which is cheaper, GPT-5.4 or Claude Sonnet 4.6?

GPT-5.4 has the lower combined input plus output seed rate for this comparison.

Why might my bill differ from this comparison?

Cache usage, tools, search, long-context tiers, region multipliers, and provider-reported token counts can change the final bill.