Side-by-side comparison of pricing, 12 benchmarks, and generation speed.
| Metric | Claude 3 Sonnet | GPT-4o (May '24) |
|---|---|---|
| Input ($/M tokens) | $3 | $5 |
| Output ($/M tokens) | $15 | $15 |
Data from Artificial Analysis API — 12 benchmarks
Claude 3 Sonnet is cheaper overall. Its blended price (3:1 input/output ratio) is $6.00/M tokens vs $7.50/M for GPT-4o (May '24).
GPT-4o (May '24) wins 7 out of 12 benchmarks compared to 1 for Claude 3 Sonnet. See the detailed benchmark chart above for per-category results.
GPT-4o (May '24) generates tokens faster at 78 tok/s vs 0 tok/s. Claude 3 Sonnet also has lower time-to-first-token (0.00s vs 0.54s).
Choose based on your priorities: Claude 3 Sonnet for lower cost, GPT-4o (May '24) for stronger benchmark performance, and GPT-4o (May '24) for faster generation. For latency-sensitive apps, check the TTFT comparison above.