Gemma 3 4B

Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning,

Google · more Google models · all models

Pricing and specs

Model IDroutexor/gemma-3-4b-it
ProviderGoogle
Input, per 1M tokens$0.05
Output, per 1M tokens$0.10
Price sourceReference price from OpenRouter's listing, not the provider's own page. A direct call on your key can cost a different amount.
Context window131K tokens
Max output16K tokens
CapabilitiesStreaming, Vision, JSON

Your provider bills these tokens on your account. A listing is not a promise that your key has access to this model.

Call it

curl https://api.routexor.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTEXOR_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"model":"routexor/gemma-3-4b-it","messages":[{"role":"user","content":"Say hello briefly."}],"max_tokens":64}'

Add your Google key in the dashboard first. This call is billed by Google. See the docs for which request paths are supported.