All models / Compare
Gemma 3 4B vs Phi 4
Gemma 3 4B is 2.2× cheaper on output at the lowest-priced provider. Prices and providers update hourly.
Prices in US dollars per million tokens. Typical is the median across providers. Green marks the better value.
| Gemma 3 4B | Phi 4 | |
|---|---|---|
| Cheapest output | $0.050 | $0.11 |
| Typical output | $0.090 | $0.13 |
| Cheapest input | $0.040 | $0.056 |
| Providers | 2 | 1 |
| Context window | 128K | 16K |
| Fastest measured | — | — |
| Parameters | — | 14.7B |
| License | — | MIT |
| Self-hosting memory | — | Check hardware |