Claude Sonnet 5 vs GPT-5
A side-by-side comparison of Claude Sonnet 5 and GPT-5 — intelligence, context, capabilities, and price.
| Spec | ||
|---|---|---|
| Context window | 1M | 400K |
| Streaming | ||
| Reasoning | ||
| Tool use | ||
| Web search | ||
| Vision (image input) | ||
| Document input | ||
| Video | ||
| Audio |
Claude Sonnet 5 pricing
- Input$4 / 1M tokens
- Cached input$0.4 / 1M tokens
- 5m cache write$5 / 1M tokens
- 1h cache write$8 / 1M tokens
- Output$20 / 1M tokens
- Web search (when used)$20 / 1,000 searchs
List prices plus 100%. Higher reasoning can use more output tokens. TryAI charges a one-credit minimum and rounds each run's aggregate cost up once.
View Claude Sonnet 5details →GPT-5 pricing
- Input$2.5 / 1M tokens
- Cached input$0.25 / 1M tokens
- Output$20 / 1M tokens
- Web search (when used)$20 / 1,000 calls
List prices plus 100%. Higher reasoning can use more output tokens. TryAI charges a one-credit minimum and rounds each run's aggregate cost up once.
View GPT-5details →Claude Sonnet 5 vs GPT-5: FAQ
- Is Claude Sonnet 5 better than GPT-5?
- Anthropic's previous fast workhorse, replaced by Claude Sonnet 5.5 at the same price. OpenAI's original GPT-5 workhorse, retired in favour of GPT-5.6 Luna — smarter, cheaper, and a larger context window. The best choice depends on your workload — compare context window, capabilities, and price above, or try both on TryAI.
- Which is cheaper, Claude Sonnet 5 or GPT-5?
- See the pricing rows above for live per-token or per-generation costs. TryAI bills both from one pay-as-you-go balance.