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 31Bgemma-4-31b-it | Claude Fable 5.2claude-fable-5.2 |
|---|---|---|
| Pricing | ||
| Input | $0.14 / 1M | $8.00 / 1M |
| Output | $0.40 / 1M | $40.00 / 1M |
| Cache Write (5m) | $0.14 / 1M | $10.00 / 1M |
| Cache Write (1h) | $0.14 / 1M | $16.00 / 1M |
| Cache Read | $0.14 / 1M | $0.20 / 1M |
| Web Search | $0 / 1M | $0 / 1M |
| Context | ||
| Max context | 262.1K | 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 | |
| Category | chat | chat |
| Charge type | 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. | Claude Fable 5.2 is Anthropic's most capable model for advanced technical work and open-ended problem solving, delivering significant improvements in coding, reasoning, and vision over Fable 5.1. It excels at exceptionally complex tasks, including large-scale software migrations, electronic system design, and advanced scientific and mathematical research. With up to 30% faster output generation, clearer communication, and always-on adaptive extended thinking, Fable 5.2 supports configurable reasoning effort from low to max (default high), with thinking preserved across turns. Designed for frontier engineering, scientific discovery, and ambitious long-horizon agentic workflows, it complements Opus 5.5 as a specialized option for the most demanding technical challenges. |