Compare models
Prices, specs and price history side by side. Data as of 2026-08-02
| Spec | Claude Sonnet 4Anthropic | GPT-4.1OpenAI |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Context window | 1M | 1.0M |
| Max output | 64K | 33K |
| Modalities | image, text, file → text | image, text, file → text |
| Open source | No | No |
| License | - | - |
| Released | - | - |
| Status | active | active |
| Input$ / 1M | 3 | 2cheapest |
| Output$ / 1M | 15 | 8cheapest |
| Cached$ / 1M | 0.3cheapest | 0.5 |
| Channel | openrouter | openrouter |
Price history
Overlaid price history. Solid = verified by us, dashed = estimated (archive).
Claude Sonnet 4GPT-4.1verified by usestimated (archive)