jishie

Gemma 4 31B IT

huggingface/google/gemma-4-31B-it · family gemma · price provider-declared (via models.dev), USD per 1M tokens. Capabilities: toolsreasoningtextimage.

$0.21Blended $/1M (3:1)
$0.14Input $/1M
$0.4Output $/1M
$0.541M in + 1M out
Cache read $/1M
#1376 of 5,000Cheapest rank
Provider
Hugging Face (huggingface)
Context
262,144 tokens
Max output
32,768 tokens
Capabilities
toolsreasoningtextimage

Same model, other providers

“Gemma 4 31B IT” is offered by 9 providers — cheapest-effective first. QVAC is the cheapest at $0.00 blended.

ProviderInputOutputBlendedContext
QVACfreefree$0.00262k
Kenarifreefree$0.00262k
UnoRouterfreefree$0.00262k
Kilo Gateway$0.08$0.35$0.15262k
CrofAI$0.1$0.3$0.15262k
LLM Gateway$0.102$0.297$0.15262k
OpenRouter$0.1$0.34$0.16262k
Lilac$0.11$0.35$0.17262k
Hugging Face (this)$0.14$0.4$0.21262k

Call it

jishie indexes & prices models; it does not proxy inference. Most providers are OpenAI-compatible — point base_url at Hugging Face and pass this model id:

curl $BASE_URL/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
  -d '{"model":"google/gemma-4-31B-it","messages":[{"role":"user","content":"hello"}]}'

Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):