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 | Gemma 4 31B (Free)gemma-4-31b-it:free | GPT-6 Astragpt-6-astra | Claude Fable 5.1claude-fable-5.1 |
|---|---|---|---|
| Pricing | |||
| Input | $0 / 1M | $10.00 / 1M | $10.00 / 1M |
| Output | $0 / 1M | $50.00 / 1M | $50.00 / 1M |
| Cache Write | $0 / 1M | — | — |
| Cache Read | $0 / 1M | $10.00 / 1M | $1.00 / 1M |
| Cache Write (5m) | — | $10.00 / 1M | $12.50 / 1M |
| Cache Write (1h) | — | $10.00 / 1M | $20.00 / 1M |
| Web Search | — | $0 / 1M | $0 / 1M |
| Context | |||
| Max context | 262.1K | 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 | OpenAI | Anthropic | |
| Category | chat | chat | chat |
| Charge type | Free | Pay As You Go | Pay As You Go |
| Released | — | — | — |
| Description | |||
| Summary | Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model, supporting text and image inputs with text outputs. It features a 256K token context window, configurable thinking/reasoning modes, native function calling, and broad multilingual support across 140+ languages. The model delivers strong performance in coding, reasoning, and document understanding, making it well suited for developer workflows, multilingual applications, and structured knowledge tasks. | 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. |