Gemma 4
digitalocean/gemma-4-31B-it · family gemma · in: text, image, video → out: text · price provider-declared (via models.dev). Capabilities: tools text image video.
$0.26
Blended $/1M (3:1)
$0.18
Input $/1M
$0.5
Output $/1M
$0.68
1M in + 1M out
$0.036 −80%
Cache read $/1M
#1974 of 7,710
Cheapest rank
- Provider
- DigitalOcean (
digitalocean) - Kind
- text (outputs text)
- Context
- 256,000 tokens
- Max output
- 8,192 tokens
- Capabilities
- tools text image video
Same model, other providers
“Gemma 4” is offered by 2 providers — cheapest-effective first. This one (DigitalOcean) is the cheapest.
| Provider | Input | Output | Blended | Context |
|---|---|---|---|---|
| DigitalOcean (this) | $0.18 | $0.5 | $0.26 | 256k |
| LLMTR | $2 | $5 | $2.75 | 131k |
Call it
jishie indexes & prices models; it does not proxy inference.
Most providers are OpenAI-compatible — point base_url at DigitalOcean and pass this model id:
curl $BASE_URL/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
-d '{"model":"gemma-4-31B-it","messages":[{"role":"user","content":"hello"}]}'
Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):