Side by side pricing and context for GPT-4.1 and Claude Sonnet 5. Rates are curated catalog values with last verified dates on each model page.
GPT-4.1
Strong all-round OpenAI model with a very large context window. Prefer for long documents, tool-heavy apps, and workloads that benefit from prompt caching.
Input $2.00 / Output $8.00 per 1M
Context 1M · Exact (o200k_base)
Claude Sonnet 5
Balanced Claude for most production apps: strong quality without Opus cost. Check the introductory vs standard rate note and re-run TokenCALC after pricing changes.
Input $2.00 / Output $10.00 per 1M
Context 1M · Approx (Anthropic family)
Quick take
- Input rates match on this snapshot.
- GPT-4.1 is cheaper on output in this catalog snapshot.
- Both last verified on their model pages (2026-08-02 / 2026-08-02).
Rate table
| Metric | GPT-4.1 | Claude Sonnet 5 |
|---|---|---|
| Input / 1M | $2.00 | $2.00 |
| Output / 1M | $8.00 | $10.00 |
| Cached input / 1M | $0.500 | $0.200 |
| Context | 1M | 1M |
| Tokenizer | Exact (o200k_base) | Approx (Anthropic family) |