- Home
- Models
- Comparisons
- Claude Sonnet 5.5 vs GPT-5.4
Claude Sonnet 5.5 vs GPT-5.4: API pricing and context window
Claude Sonnet 5.5 is 20% cheaper than GPT-5.4 for input ($2.00 vs $2.50 per 1M tokens) and 33% cheaper for output ($10.00 vs $15.00). Context window: 1,000,000 tokens for Claude Sonnet 5.5, 1,050,000 for GPT-5.4. A 10K-input, 1K-output request costs $0.03 on Claude Sonnet 5.5 and $0.04 on GPT-5.4.
- Claude Sonnet 5.5
- $2.00 / $10.00 Input / Output, per 1M tokens · 1M context window
- GPT-5.4
- $2.50 / $15.00 Input / Output, per 1M tokens · 1.05M context window
Side by side
| Field | Claude Sonnet 5.5 | GPT-5.4 | Claude Sonnet 5.5 vs GPT-5.4 |
|---|---|---|---|
| Input | $2.00 | $2.50 | -20% |
| Output | $10.00 | $15.00 | -33% |
| Cached input | $0.10 | $0.25 | -60% |
| Context window | 1,000,000 | 1,050,000 | -5% |
| Max output | 128,000 | 128,000 | |
| Long-context threshold | none | 272,000 | |
| Batch API input | $1.00 | $1.25 | -20% |
| Batch API output | $5.00 | $7.50 | -33% |
| Image input | Yes | Yes | |
| Function calling | Yes | Yes | |
| Reasoning | Yes | Yes | |
| Prompt caching | Yes | Yes | |
| PDF input | Yes | Yes | |
| Structured output | Yes | Yes | |
| Extra-high reasoning effort | Yes | Yes |
Cost per task
| Task | Claude Sonnet 5.5 | GPT-5.4 | Cheaper |
|---|---|---|---|
| Chat request (10K in + 1K out) | $0.03 | $0.04 | Claude Sonnet 5.5 (25% less) |
| Codebase question (100K in + 2K out) | $0.22 | $0.28 | Claude Sonnet 5.5 (21% less) |
| Same question, context cached (100K cached + 2K out) | $0.03 | $0.055 | Claude Sonnet 5.5 (45% less) |
| Long document (300K in + 4K out) | $0.64 | $1.59 | Claude Sonnet 5.5 (60% less) |
| 1M tokens a month (750K in + 250K out) | $4.00 | $5.63 | Claude Sonnet 5.5 (29% less) |
Estimate your own workload in the calculator
Which one to pick
- Pick Claude Sonnet 5.5 to spend less: it is cheaper on every task above. A chat request costs $0.03 vs $0.04, and 1M tokens a month $4.00 vs $5.63.
- GPT-5.4 bills the whole request at $5.00 input and $22.50 output per 1M once a prompt passes 272K tokens; Claude Sonnet 5.5 lists no long-context surcharge.
- Through the Batch API, Claude Sonnet 5.5 is cheaper for input and output: $1.00 vs $1.25 and $5.00 vs $7.50 per 1M tokens.
- Claude Sonnet 5.5 charges less for cached input reads: $0.10 vs $0.25 per 1M tokens.
Full pages: Claude Sonnet 5.5 · GPT-5.4
More comparisons
- GPT-5.5 vs GPT-5.4
- GPT-5.4 vs GPT-5.2
- Claude Sonnet 5.5 vs Gemini 3.8 Flash
- Claude Sonnet 5.5 vs Gemini 3.5 Flash
- GPT-5.4 vs Gemini 3.8 Flash
- GPT-5.4 vs Gemini 3.5 Flash
- GPT-5.4 vs Grok 4.3
- Claude Opus 5.5 vs Claude Sonnet 5.5
Questions
Which is cheaper, Claude Sonnet 5.5 or GPT-5.4?
Claude Sonnet 5.5 is 20% cheaper than GPT-5.4 for input ($2.00 vs $2.50 per 1M tokens) and 33% cheaper for output ($10.00 vs $15.00). A 10K-input, 1K-output request costs $0.03 on Claude Sonnet 5.5 and $0.04 on GPT-5.4.
Which has the larger context window, Claude Sonnet 5.5 or GPT-5.4?
GPT-5.4 accepts more: 1,050,000 input tokens, against 1,000,000 for Claude Sonnet 5.5. Both return up to 128,000 output tokens.
How much does a typical request cost on Claude Sonnet 5.5 and GPT-5.4?
A chat request with 10K input and 1K output tokens costs $0.03 on Claude Sonnet 5.5 and $0.04 on GPT-5.4. A 100K-token codebase question with a 2K answer costs $0.22 and $0.28.
What are the differences between Claude Sonnet 5.5 and GPT-5.4?
Claude Sonnet 5.5 / GPT-5.4: input: $2.00 / $2.50; output: $10.00 / $15.00; cached input: $0.10 / $0.25; context window: 1,000,000 / 1,050,000; long-context threshold: none / 272,000; Batch API input: $1.00 / $1.25; Batch API output: $5.00 / $7.50.