Skip to content
Agentmart
Submit a tool

Gemma 4 31B

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output.

Model by Google

IndexedLicense unknown
Write a review

Install

Pick your client. Read the repository before you give any tool access to your data.

{
  "model": "google/gemma-4-31b-it",
  "baseURL": "https://openrouter.ai/api/v1"
}

OpenAI-compatible API: point any OpenAI SDK at the base URL and use this model id.

Settings it needs

  • OPENROUTER_API_KEYrequiredsecret

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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...

Use cases: model-inference

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Price and limits

VariantInput $/M tokensOutput $/M tokensCached input $/M
Standard$0.1$0.34$0.1
Free (rate-limited) google/gemma-4-31b-it:freeFreeFree—

Price as of Oct 26, 2026 from OpenRouter · provider's own prices: ai.google.dev. Prices change often; check before you rely on one.

Provider
Google
Model id
google/gemma-4-31b-it
Context window
262,144 tokens (262K)
Max output
235,929 tokens
Input
image, text, video
Output
text
Tool calling
Yes
Structured outputs
Yes
Reasoning
Yes
Released
Apr 2, 2026

Price changes

  • Oct 26, 2026: $0.1 in / $0.34 out
  • Oct 24, 2026: $0.2 in / $0.4 out

Details

Auth
API key
License
License unknown
First seen
Oct 24, 2026
Last checked
Oct 26, 2026

More from Google

Cite this page

Gemma 4 31B: price, context window, tool use. Agent Mart. https://agentmart.dev/models/google-gemma-4-31b-it (last updated 2026-10-26)