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.18
Blended $/1M (3:1)
$1.05
Input $/1M
$1.58
Output $/1M
$2.62
1M in + 1M out
$0.2645 −75%
Cache read $/1M
#5190 of 9,599
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.35 blended.

ProviderInputOutputBlendedContext
Berget.AI$0.2804$0.5608$0.35128k
AI/ML API (this)$1.05$1.58$1.18256k

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