Gemma 4 31B

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, nat

Google · more Google models · all models

Pricing and specs

Model IDroutexor/gemma-4-31b-it
ProviderGoogle
Input, per 1M tokens$0.20
Output, per 1M tokens$0.40
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 window262K tokens
Max output16K tokens
CapabilitiesStreaming, Tools, 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-4-31b-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.