jishie

Gemma 4 31B

nano-gpt/google/gemma-4-31b-it · family gemma · in: text, image, video → out: text · price provider-declared (via models.dev). Capabilities: tools reasoning text image video.

$0.19
Blended $/1M (3:1)
$0.1
Input $/1M
$0.45
Output $/1M
$0.55
1M in + 1M out
$0.05 −50%
Cache read $/1M
#1645 of 7,710
Cheapest rank
Provider
NanoGPT (nano-gpt)
Kind
text (outputs text)
Context
262,144 tokens
Max output
131,072 tokens
Capabilities
tools reasoning text image video

Same model, other providers

“Gemma 4 31B” is offered by 4 providers — cheapest-effective first. CoreWeave is the cheapest at $0.16 blended.

ProviderInputOutputBlendedContext
CoreWeave$0.1$0.34$0.16262k
NanoGPT (this)$0.1$0.45$0.19262k
NovitaAI$0.14$0.4$0.21262k
Neuralwatt$0.144$0.42$0.21262k

Call it

jishie indexes & prices models; it does not proxy inference.

Most providers are OpenAI-compatible — point base_url at NanoGPT 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):

← all NanoGPT models · model index · JSON