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 | GLM 5glm-5 | GPT-6 Astragpt-6-astra | Claude Fable 5.1claude-fable-5.1 | Gemini 3.8 Flashgemini-3.8-flash |
|---|---|---|---|---|
| Pricing | ||||
| Input | $0.60 / 1M | $10.00 / 1M | $10.00 / 1M | $0.75 / 1M |
| Output | $2.20 / 1M | $50.00 / 1M | $50.00 / 1M | $3.75 / 1M |
| Cache Write (5m) | $0.60 / 1M | $10.00 / 1M | $12.50 / 1M | $0.75 / 1M |
| Cache Write (1h) | $0.60 / 1M | $10.00 / 1M | $20.00 / 1M | $0.75 / 1M |
| Cache Read | $0.60 / 1M | $10.00 / 1M | $1.00 / 1M | $0.75 / 1M |
| Web Search | $0 / 1M | $0 / 1M | $0 / 1M | $0 / 1M |
| Context | ||||
| Max context | 202.8K | 1M | 1M | 1M |
| Max output | N/A | N/A | N/A | N/A |
| Capabilities | ||||
| Vision | Yes | Yes | Yes | Yes |
| Function Calling | Yes | Yes | Yes | Yes |
| JSON Mode | Yes | Yes | Yes | Yes |
| Streaming | Yes | Yes | Yes | Yes |
| Catalogue | ||||
| Provider | Z.AI | OpenAI | Anthropic | |
| 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 | GLM-5 is Z.AI's flagship open-source foundation model, engineered for complex systems design and long-horizon agent workflows. Built with expert developers in mind, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With strong agentic planning, deep backend reasoning, and iterative self-correction capabilities, GLM-5 extends beyond traditional code generation to support full-system construction and autonomous execution, making it well suited for advanced engineering and agent-driven development environments. | 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. | Claude Fable 5.1 is an upgraded version of Fable 5, delivering broad improvements with particularly strong gains in agentic coding, long-running workflows, and professional knowledge work. It excels at large code refactors, front-end and visual code generation, financial analysis, and complex analytical tasks. Compared with Fable 5, it also produces more concise plans and summaries while maintaining strong performance across extended tasks, making it a natural upgrade for existing Fable workflows and a strong option alongside Opus 5 for reasoning-intensive applications. | Gemini 3.8 Flash is Google's most intelligent Flash-class model, delivering significant improvements over Gemini 3.7 Flash across software engineering, agentic workflows, and complex multi-step reasoning. Designed to combine strong capability with Flash-tier efficiency, it is well suited for coding assistants, autonomous agents, and high-throughput production workflows that require responsive performance without sacrificing reasoning quality. |