deepseek-v4-pro vs gemma-4-31b
gemma-4-31b is 1.3× cheaper on input than deepseek-v4-pro.
| deepseek-v4-pro | gemma-4-31b | |
|---|---|---|
| Input / 1M | $1.32 | $0.99 |
| Cached input / 1M | $0.044 | — |
| Output / 1M | $3.96 | $1.49 |
| Context window | 1M | 131K |
| Max output | 393K | 41K |
| Provider | DeepSeek | Cerebras |
| Vision | No | Yes |
| Tool calling | Yes | Yes |
| Token count | estimated | estimated |
Which to pick
- Cheaper input: gemma-4-31b
- Cheaper output: gemma-4-31b
- Larger context: deepseek-v4-pro
List price is not production cost. Output length, cache hit rate, retries and task quality move the real number more than the headline rate does — price your own prompt on the token ledger before deciding.
Related comparisons
deepseek-v4-pro detail · gemma-4-31b detail · All DeepSeek pricing · All comparisons