Loading...
Loading...
Side-by-side comparison of API pricing, context window, latency, and benchmark performance. Data refreshed daily from provider APIs and ModelStop's own latency probes.
💰google/gemma-4-31B-it is 100% cheaper than Google: Gemma 2 9B
⚡Google: Gemma 2 9B is 809ms faster than google/gemma-4-31B-it
Price (lower is better), Speed/Latency (lower is better), Performance (higher is better)
| Spec | google/gemma-4-31B-it | Google: Gemma 2 9B |
|---|---|---|
| Provider | deepinfra | |
| Input price / 1M tokens | Free | $0.03 |
| Output price / 1M tokens | — | $0.09 |
| Context window | 262k tokens | 8k tokens |
| Latency (p50) | 809ms | — |
| Best benchmark score | — | — |
| Open source | No | No |
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...
Gemma 2 9B by Google is an advanced, open-source language model that sets a new standard for efficiency and performance in its size class. Designed for a wide variety of...
Want to swap in a different model or estimate monthly costs?