Gemma 4 31B Instruct

LLM
Google

Gemma 4 31B Instruct is a multimodal chat model by Google designed for instruction-following tasks. It accepts text and image inputs, supports function calling and structured outputs, and offers a 262K token context window.

Context tokens

262,144

Output tokens

8,192

Released

Apr 2, 2026

Schema

Supports configurable thinking modes; thinking can be enabled or disabled per request. Accepts text and image inputs only (audio is not supported at this model size).

Schema documentation

Capabilities

Tool use
Structured output
Thinking
Multimodal

Supported input media

image
text

Supported tools

  • Google Maps

    Grounding with Google Maps connects the generative capabilities of Gemini with the rich, factual, and up-to-date data of Google Maps. This feature enables developers to easily incorporate location-aware functionality into their applications. When a user query has a context related to Maps data, the Gemini model leverages Google Maps to provide factually accurate and fresh answers that are relevant to the user's specified location or general area.

  • Google Search

    Grounding with Google Search connects the Gemini model to real-time web content and works with all available languages. This allows Gemini to provide more accurate answers and cite verifiable sources beyond its knowledge cutoff.

  • Seclai Content Tools

    Inspect source documents connected to your account. Includes tools for loading full content, reading character ranges, searching within documents, viewing stats, and listing available content sources. When a source_connection_content_version_id is provided in agent run metadata it is used as the default. Otherwise the model can discover content via list_content_sources.

  • Seclai Knowledge Base

    Search your knowledge bases using semantic similarity. Includes search_knowledge_base and list_knowledge_bases. When a knowledge_base_id is provided in the prompt or agent run metadata it is used as the default. Otherwise the model can discover available knowledge bases at runtime.

  • Seclai Memory Banks

    Manage persistent memory across agent runs. Includes tools for listing memory banks, writing entries, searching memory via semantic similarity, and loading entries in chronological order. Supports two memory types: 'conversation' (speaker-attributed turns) and 'general' (freeform text). Use key to organize entries by topic, session, or user.

  • Seclai Web Tools

    Fetch web pages and search the web from within agent prompt calls. Includes seclai_web_fetch for retrieving page content in markdown, HTML, or plain text, and seclai_web_search for finding relevant pages with content snippets.

Pricing

TypeCreditsUnits
Input5.19Credits per 1k tokens
Output12.90Credits per 1k tokens

Variants

No variants available for this model.

Try This Model

Write a prompt and experiment with Gemma 4 31B Instruct in the model experiments page. You can compare it with other models side by side.