Google logo

Google: Gemma 4 31B

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

Modalities

ImageTextVideoText

In / out price

$0.090 / $0.34 per 1M

Context

262K

Released

Apr 2, 2026

Why use Gemma 4 31B

  • Understands images
  • Step-by-step reasoning mode
  • Tool and function calling (agent-ready)
  • Structured (JSON) outputs

Pricing

Input$0.090 / 1M tokens
Output$0.34 / 1M tokens
Cached input (read)$0.050 / 1M tokens

List prices via OpenRouter, checked daily. Real cost depends on the provider and on reasoning tokens.

How it ranks

Intelligence index14.7
Coding index43.4
Agentic index4.2

Source: Artificial Analysis (artificialanalysis.ai) via OpenRouter (openrouter.ai/rankings).

Cost calculator

Pick a task, set how often you run it, and compare what it costs on each model.

ModelPer runPer monthPer 1,000 runs
Google: Gemma 4 31B$0.0008$0.752$0.752

Estimates from list prices via OpenRouter; real bills vary by provider and reasoning tokens.

Will it fit? Context window simulator

Each square is about one page (500 words). Colored squares are your content; grey squares are free space in the model's context window.

Your content

  • Novel (90,000 words)

Total: about 120,000 tokens (≈ 90,226 words). Token counts are estimates.

Models

Google: Gemma 4 31B

262,144 tokens ≈ 395 pages

Fits: uses 46% of the window (room for 2× this much).

Write with the best model for the job

WordGPT picks and switches models for you: drafting, editing and files in one place. Free plan, no credit card.

Try it free

More from Google