Compare models
Put up to 4 models beside each other — token prices, context windows, capabilities and provider, from the same catalogue the model pages read.
| Attribute | Claude Sonnet 4.6claude-sonnet-4-6 | GPT-6 Astragpt-6-astra |
|---|---|---|
| Pricing | ||
| Input | $2.40 / 1M | $10.00 / 1M |
| Output | $12.00 / 1M | $50.00 / 1M |
| Cache Write (5m) | $3.00 / 1M | $10.00 / 1M |
| Cache Write (1h) | $4.80 / 1M | $10.00 / 1M |
| Cache Read | $0.24 / 1M | $10.00 / 1M |
| Web Search | $0 / 1M | $0 / 1M |
| Context | ||
| Max context | 1M | 1M |
| Max output | N/A | N/A |
| Capabilities | ||
| Vision | Yes | Yes |
| Function Calling | Yes | Yes |
| JSON Mode | Yes | Yes |
| Streaming | Yes | Yes |
| Catalogue | ||
| Provider | Anthropic | OpenAI |
| Category | chat | chat |
| Charge type | Pay As You Go | Pay As You Go |
| Released | — | — |
| Description | ||
| Summary | Sonnet 4.6 is Anthropic's most capable Sonnet-class model, delivering frontier-level performance across coding, agent workflows, and professional knowledge tasks. It excels at iterative development, complex codebase navigation, and end-to-end project execution, supported by strong contextual understanding and persistent task handling. Beyond engineering tasks, Sonnet 4.6 produces polished documents and analyses while demonstrating reliable computer-use capabilities for web QA, workflow automation, and structured productivity workflows, making it well suited for both development and professional applications. | GPT-6 Astra is OpenAI's flagship model for demanding end-to-end professional work, designed for advanced analysis, software engineering, deep research, scientific tasks, and document creation. It is particularly strong in long-horizon agentic workflows, including tasks that require sustained reasoning, tool orchestration, and computer and browser use, making it well suited for complex autonomous workflows and production-grade knowledge work. |