jishie

Gemma 4 31B Instruct

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

$1.53
Blended $/1M (3:1)
$1.36
Input $/1M
$2.05
Output $/1M
$3.41
1M in + 1M out
$1.36
Cache read $/1M
#5017 of 8,276
Cheapest rank
Provider
AI/ML API (aimlapi)
Kind
text (outputs text)
Context
256,000 tokens
Max output
16,384 tokens
Capabilities
tools reasoning text image

Same model, other providers

“Gemma 4 31B Instruct” is offered by 2 providers — cheapest-effective first. Berget.AI is the cheapest at $0.34 blended.

ProviderInputOutputBlendedContext
Berget.AI$0.275$0.55$0.34128k
AI/ML API (this)$1.36$2.05$1.53256k

Call it

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

Most providers are OpenAI-compatible — point base_url at AI/ML API 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 AI/ML API models · model index · JSON