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 | Gemini 4 Hydrogengemini-4-hydrogen |
|---|---|---|
| Pricing | ||
| Input | $0.14 / 1M | $1.50 / 1M |
| Output | $0.40 / 1M | $7.50 / 1M |
| Cache Write (5m) | $0.14 / 1M | $1.50 / 1M |
| Cache Write (1h) | $0.14 / 1M | $1.50 / 1M |
| Cache Read | $0.14 / 1M | $1.50 / 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 | ||
| 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. | Gemini 4 Hydrogen is Google's high-efficiency multimodal model in the Gemini 4 family, optimized for high-throughput agentic workflows, coding, and multi-model routing. It delivers strong performance at lower cost and latency than Gemini 4 Carbon, supporting text, image, audio, video, and file inputs for versatile multimodal applications. Designed for scalable production workloads and long-horizon execution, Gemini 4 Hydrogen supports up to 1M output tokens through continuation and configurable reasoning effort levels (low, medium, high, and xhigh) to balance reasoning depth, speed, and cost. It is well suited for coding assistants, autonomous agents, complex workflow automation, and large-scale AI systems. |