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 | Claude Sonnet 5.5claude-sonnet-5.5 |
|---|---|---|
| Pricing | ||
| Input | $0 / 1M | $2.00 / 1M |
| Output | $0 / 1M | $10.00 / 1M |
| Cache Write | $0 / 1M | — |
| Cache Read | $0 / 1M | $0.20 / 1M |
| Cache Write (5m) | — | $2.50 / 1M |
| Cache Write (1h) | — | $4.00 / 1M |
| Web Search | — | $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 | Free | 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 Sonnet 5.5 is Anthropic's Sonnet-class model for well-scoped everyday work, serving as a direct upgrade to Sonnet 5. It excels at feature development, bug fixing, and creating polished documents, presentations, and spreadsheets, while offering clearer writing and communication than its predecessor. |