jishie

Gemma 3 4B

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

$0.09
Blended $/1M (3:1)
$0.0688
Input $/1M
$0.1375
Output $/1M
$0.21
1M in + 1M out
$0.055 −20%
Cache read $/1M
#888 of 8,275
Cheapest rank
Provider
AI/ML API (aimlapi)
Kind
text (outputs text)
Context
131,000 tokens
Max output
32,768 tokens
Capabilities
tools text image

Same model, other providers

“Gemma 3 4B” is offered by 2 providers — cheapest-effective first. Merge Gateway is the cheapest at $0.05 blended.

ProviderInputOutputBlendedContext
Merge Gateway$0.04$0.08$0.05128k
AI/ML API (this)$0.0688$0.1375$0.09131k

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-3-4b-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