AI Model Intelligence

Comparison · 2026-05-12

GPT-5 vs Claude Sonnet 4.5 (latest)

Side-by-side comparison of pricing, context window and capabilities for GPT-5 (OpenAI) and Claude Sonnet 4.5 (latest) (Anthropic). Focus: flagship.

GPT-5Claude Sonnet 4.5 (latest)
VendorOpenAIAnthropic
Input price / 1M tokens$1.25$3.00
Output price / 1M tokens$10.00$15.00
Total per 1M (in + out)$11.25$18.00
Context window400K200K
Max output tokens128K64K
Tool callingYesYes
Structured outputYesUnknown
ReasoningYesYes
Vision inputYesYes
Open weightsNoNo
Provider availability20 providers16 providers
Release date2025-08-072025-09-29
Knowledge cutoff2024-09-302025-07-31

Quick takeaway

  • GPT-5 is 1.6× cheaper per 1M tokens (input + output combined).
  • GPT-5 has a larger context window (400K vs 200K).
  • Only GPT-5 supports structured output / JSON mode.
  • GPT-5 is more widely available across providers (20 vs 16).
GPT-5 · See all 20 providers →Claude Sonnet 4.5 (latest) · See all 16 providers →

Last updated:

Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.

Data is sourced from models.dev and normalized for comparison. Prices and capabilities may change. Always verify critical production decisions with the provider's official documentation.