jishie

Gemma 3 4B IT

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

$0.06
Blended $/1M (3:1)
$0.05
Input $/1M
$0.1
Output $/1M
$0.15
1M in + 1M out
Cache read $/1M
#725 of 7,215
Cheapest rank
Provider
Hugging Face (huggingface)
Kind
text (outputs text)
Context
131,072 tokens
Max output
131,072 tokens
Capabilities
tools text image

Same model, other providers

“Gemma 3 4B IT” is offered by 7 providers — cheapest-effective first. Nvidia is the cheapest at $0.00 blended.

ProviderInputOutputBlendedContext
Nvidiafreefree$0.00131k
Amazon Bedrock$0.04$0.08$0.05131k
Hugging Face (this)$0.05$0.1$0.06131k
Deep Infra$0.05$0.1$0.06131k
Kilo Gateway$0.05$0.1$0.06131k
OpenRouter$0.05$0.1$0.06131k
NanoGPT$0.2006$0.2006$0.20128k

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-3-4b-it","messages":[{"role":"user","content":"hello"}]}'

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

← all Hugging Face models · model index · JSON