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.
💰microsoft/phi-4 is 100% cheaper than Google: Gemma 2 9B
⚡Google: Gemma 2 9B is 70ms faster than microsoft/phi-4
Price (lower is better), Speed/Latency (lower is better), Performance (higher is better)
| Spec | microsoft/phi-4 | Google: Gemma 2 9B |
|---|---|---|
| Provider | deepinfra | |
| Input price / 1M tokens | Free | $0.03 |
| Output price / 1M tokens | — | $0.09 |
| Context window | 16k tokens | 8k tokens |
| Latency (p50) | 70ms | — |
| Best benchmark score | — | — |
| Open source | No | No |
Microsoft Phi-4 14B — small language model achieving state-of-the-art results on reasoning tasks.
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?