Gemma 4 31B Instruct Ultra

Chat model by Google.

Google language model featuring a 131,072-token context window. Engineered for dialogue, instruction following, and versatile text generation.

Models / Gemma 4 31B Instruct UltraID: deepinfra/google/gemma-4-31B-it-Ultra

Context window

Maximum input context length.

131.1K

tokens

Maker

Google

Served On: DeepInfra

Specifications

Context window, ranked against other chat models

Proportional scale: 0 to 1.05M tokens. Not ranked, no published context window: qwen-plus-2025-09-11, voxtral-small-24b-2507, qwen3.6-plus-2026-04-02.

Context window

131.1K

tokens
Max output

—

Modality

chat

Vision
Function calling
System prompt

Pricing

Rates are read live

Pricing for google/gemma-4-31B-it-Ultra is fetched from the live catalogue on load, so it is never served from a cache that could outlive a repricing.

Availability

Not enough data yet

We have not collected enough health probes for this model to publish an uptime or latency figure. A percentage from a handful of samples is fabricated precision, so none is shown until the sample count supports one.

How Gemma 4 31B Instruct Ultra is billed

Billed at the provider's list price, with no per-token markup.

Exact list price
Tokens settle at the published rate of the model that served your call.
Cache discounts passed through
Provider prompt-caching discounts reach your balance with no added fee.
Cost on every response
Each response carries the x-nr-request-cost header, so you can reconcile spend per request.

More from Google

Start building with google/gemma-4-31B-it-Ultra

One API key, three steps. Choose your tool to begin.

  1. Set your API key

    export NROUTER_API_KEY="<YOUR_API_KEY>"
  2. Configure Claude Code

    Choose a tool, then copy its setup from the panel.

npm install -g @anthropic-ai/claude-code
Claude Code · deepinfra/google/gemma-4-31B-it-Ultra
# Point Claude Code to nRouter gateway
export ANTHROPIC_BASE_URL="https://api.nrouter.ai"
export ANTHROPIC_API_KEY="$NROUTER_API_KEY"

# Launch with deepinfra/google/gemma-4-31B-it-Ultra
claude --model deepinfra/google/gemma-4-31B-it-Ultra

FAQs

What is Gemma 4 31B Instruct Ultra?

Google language model featuring a 131,072-token context window. Engineered for dialogue, instruction following, and versatile text generation.

How much does Gemma 4 31B Instruct Ultra cost?

Gemma 4 31B Instruct Ultra is billed at the provider's list price on nRouter with no per-token markup — tokens settle at the exact upstream rate. Input and output rates are read live, so see the pricing section above for the current figures.

What is the context length of Gemma 4 31B Instruct Ultra?

Gemma 4 31B Instruct Ultra supports a 131,072-token context window.

Does Gemma 4 31B Instruct Ultra support tool calling and structured outputs?

Yes. Gemma 4 31B Instruct Ultra supports tool calling (function calling), so it can invoke external tools and APIs during a conversation.

What inputs and outputs does Gemma 4 31B Instruct Ultra support?

Gemma 4 31B Instruct Ultra takes text and images as input and returns text as output.

How do I use Gemma 4 31B Instruct Ultra via nRouter?

Use any OpenAI-compatible client: point it at https://api.nrouter.ai/v1 with your nRouter API key and set the model to "deepinfra/google/gemma-4-31B-it-Ultra". The quick-start panel above has a copy-paste curl command for this model.

When was Gemma 4 31B Instruct Ultra released?

Gemma 4 31B Instruct Ultra was released on October 7, 2026.

Where is the Gemma 4 31B Instruct Ultra documentation?

Start at nrouter.ai/docs. The quick-start guide (nrouter.ai/docs/getting-started/quick-start) covers API keys and your first request, and the API reference (nrouter.ai/docs/api-reference) lists every parameter.

What other text models does Google have?

Other Google text models on nRouter include Gemini 3.1 Pro (nrouter.ai/models/gemini-3.1-pro), Gemma 4 31B Instruct (nrouter.ai/models/google-gemma-4-31b-it), Gemma 4 26B A4B Instruct (nrouter.ai/models/google-gemma-4-26b-a4b-it), Gemini 3.1 Flash Lite (nrouter.ai/models/gemini-3.1-flash-lite).