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.
4 is the maximum. Remove one to add another.
| Attribute | Claude Sonnet 5claude-sonnet-5 | GPT-6 Astragpt-6-astra | Hy4 previewhy4-preview | GLM 5.3glm-5.3 |
|---|---|---|---|---|
| Pricing | ||||
| Input | $2.00 / 1M | $10.00 / 1M | $0.834 / 1M | $1.40 / 1M |
| Output | $10.00 / 1M | $50.00 / 1M | $2.50 / 1M | $4.40 / 1M |
| Cache Write (5m) | $2.50 / 1M | $10.00 / 1M | $0.834 / 1M | $1.40 / 1M |
| Cache Write (1h) | $4.00 / 1M | $10.00 / 1M | $0.834 / 1M | $1.40 / 1M |
| Cache Read | $0.20 / 1M | $10.00 / 1M | $0.834 / 1M | $1.40 / 1M |
| Web Search | $0 / 1M | $0 / 1M | $0 / 1M | $0 / 1M |
| Context | ||||
| Max context | 1M | 1M | 1M | 1M |
| Max output | N/A | N/A | N/A | N/A |
| Capabilities | ||||
| Vision | Yes | Yes | Yes | No |
| Function Calling | Yes | Yes | Yes | Yes |
| JSON Mode | Yes | Yes | Yes | Yes |
| Streaming | Yes | Yes | Yes | Yes |
| Catalogue | ||||
| Provider | Anthropic | OpenAI | Tencent | Z.AI |
| Category | chat | chat | chat | chat |
| Charge type | Pay As You Go | Pay As You Go | Pay As You Go | Pay As You Go |
| Released | — | — | — | — |
| Description | ||||
| Summary | Sonnet 5 is Anthropic's most capable Sonnet-class model, delivering frontier-level performance across coding, agentic workflows, and professional knowledge tasks. It supports text, image, and file inputs, features a 1M-token context window, and offers adaptive thinking with configurable reasoning levels (low, medium, high, max, and x-high) to balance speed, cost, and reasoning depth. Optimized for complex coding, long-horizon agent execution, and professional workflows, Sonnet 5 combines strong reasoning, robust instruction following, and enhanced safety features, including an updated tokenizer and real-time cyber safeguards for high-risk dual-use scenarios. | 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. | Tencent Hy4 Preview is a Mixture-of-Experts (MoE) model from Tencent, featuring 770B total parameters with 49B activated per token. It is designed for coding agents, complex tool-driven workflows, and professional productivity tasks that require strong planning and reliable execution. Optimized for context continuity and sustained multi-step work, Hy4 Preview is well suited for long-horizon coding, agentic automation, tool orchestration, and complex real-world workflows. | GLM-5.3 is Z.ai's large-scale reasoning model designed for complex software engineering and long-horizon agentic workflows. It supports text input and output with a 1M-token context window, enabling sustained reasoning across large codebases and extended multi-step tasks. Building on GLM-5.2, it delivers stronger coding performance while improving the balance between capability and token efficiency, making it well suited for autonomous coding agents, large-scale engineering workflows, and complex task execution. |