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 Opus 4.8claude-opus-4-8 | Gemini 3.8 Flashgemini-3.8-flash | Claude Fable 5.1claude-fable-5.1 |
|---|---|---|---|
| Pricing | |||
| Input | $4.00 / 1M | $0.75 / 1M | $10.00 / 1M |
| Output | $20.00 / 1M | $3.75 / 1M | $50.00 / 1M |
| Cache Write (5m) | $5.00 / 1M | $0.75 / 1M | $12.50 / 1M |
| Cache Write (1h) | $8.00 / 1M | $0.75 / 1M | $20.00 / 1M |
| Cache Read | $0.40 / 1M | $0.75 / 1M | $1.00 / 1M |
| Web Search | $0 / 1M | $0 / 1M | $0 / 1M |
| Context | |||
| Max context | 1M | 1M | 1M |
| Max output | N/A | N/A | N/A |
| Capabilities | |||
| Vision | Yes | Yes | Yes |
| Function Calling | Yes | Yes | Yes |
| JSON Mode | Yes | Yes | Yes |
| Streaming | Yes | Yes | Yes |
| Catalogue | |||
| Provider | Anthropic | Anthropic | |
| Category | chat | chat | chat |
| Charge type | Pay As You Go | Pay As You Go | Pay As You Go |
| Released | — | — | — |
| Description | |||
| Summary | Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family, designed for highly autonomous agents, long-horizon workflows, and advanced knowledge work. It supports text, image, and file inputs with text output, includes reasoning capabilities, and features a 1M-token context window for maintaining coherence across extended tasks and sessions. The model excels at multi-step reasoning, complex coding, and end-to-end project orchestration, including large codebases, multi-stage debugging, and long-running asynchronous agent pipelines. Beyond software engineering, it is highly effective for document drafting, presentation creation, data analysis, and memory-driven workflows, delivering consistent quality across very long outputs and complex projects. | 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. | 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. |