Claude Sonnet 5.5 vs GPT-5.4: document workflows & text pricing
For a document-heavy application, first separate document capacity from the cost of the generated answer. Sonnet 5.5 and GPT-5.4 have similar published context scales but different base text rates.
Two cost components, one estimate
Sonnet's base rates are $2 input and $10 output per million tokens. GPT-5.4 lists $2.50 input and $15 output. Repeated context can qualify for a cache-read rate; creating a cache may add a separate fee excluded by this calculator. Enter cached tokens only when your request actually qualifies.
Read each documented limit literally
The shared context windows are 1,000,000 for Sonnet and 1,050,000 for GPT-5.4, with 128,000 maximum output for each. A separate input ceiling is not verified for either in this catalogue. The empty field is intentionally not replaced with an invented unlimited-input claim.
Evaluate the output your application needs
Document summaries, structured extraction and code modifications require different acceptance checks. Compare exact source fidelity and valid output on representative inputs. This page does not convert a large context window or a higher rate into a quality score.
Documented specifications and standard direct API rates, manually checked 2026-10-09. Evaluation suggestions are editorial guidance; no measured comparative quality or speed is claimed.
Unknown fields are not evidence of equal capabilities. Specifications describe support, not comparative answer quality.
BENCHMARK EVIDENCE
No reliable data available
Comparable results with confirmed reuse permission have not been published here yet.
A published result must include the exact model version, benchmark version, original value and unit, test date, conditions and source. No scores or overall rankings are inferred.
Text tokens only. Billable output includes reasoning tokens where applicable. Excludes cache creation, tools, media and regional or processing-tier uplifts.
KNOW YOUR API COST
A small prompt. A clearer budget.
Same token counts for both models. Standard paid text rates in USD. Output must include all billable reasoning tokens.
Cached input is included in total input. No cache creation/storage, tools, media, taxes or regional/priority/Batch fees. Tokenizers differ; equal token counts do not imply equal text length.
17 estimated credits / comparison17,000 credits across 1,000 comparisons.Reference estimate only. Playground uses verified OpenRouter charges; 1,000 credits = $1. A + B round up together once for each comparison.
See how your prompt behaves.
Choose an enabled official model pair in the Playground. Your maximum reservation is shown before running; confirmed usage determines the final charge.