Available now
Google

gemma-4-31b-it

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, native function...

TextReasoningToolsFilesOpen WeightsVisionAudio128KVideo256K
InputFree
OutputFree
Context128K
Endpointsopenai
§ 01

Pricing

Input price$0.00 · 1M tokens
Output price$0.00 · 1M tokens
Context window128K tokens
Compatible endpointsopenai
VendorGoogle
§ 02

Call gemma-4-31b-it from your code

Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.

bash
curl https://api.unorouter.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemma-4-31b-it",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Sign in to auto-fill your API key

§ 03

Frequently asked questions

How much does gemma-4-31b-it cost per 1M tokens?

Input is priced at $0.00 per 1M tokens, output at $0.00 per 1M tokens. Billing is per token, no rounding to batch sizes.

How do I access gemma-4-31b-it via API?

Send requests to the UnoRouter /v1/chat/completions endpoint with model=gemma-4-31b-it. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.

What is the context window of gemma-4-31b-it?

gemma-4-31b-it supports a context window of 128K tokens, shared between your prompt and the model's response.

§ 04

Similar models

Try gemma-4-31b-it now

Create an API key and start making requests in under a minute.

View all models