// google

Gemma 4 31B

google/gemma-4-31b-it

reasoningtool callingimage inputvideo inputprompt caching
OpenRouter + LiveBenchAll modelsFull leaderboard

Gemma 4 31B costs $0.090 per 1M input tokens and $0.340 per 1M output tokens with a 262K-token context window.

A reasoning, tool-calling model from google, released Apr 2, 2026. LiveBench hasn't published a run for it, so this page carries measured price and specs only — no benchmark numbers.

Input / 1M
$0.090
Output / 1M
$0.340
Context
262K
LiveBench overall
Not evaluated

Specs and pricing

Input price

USD per 1M prompt tokens

$0.090
Output price

USD per 1M completion tokens, reasoning included

$0.340
Blended price

3:1 input:output — #65 cheapest of 343 listed models

$0.152
Cached input read

Blank means not priced separately — not free

$0.050
Cache write
Context window262,144 tokens
Max output16,384 tokens
Input modalitiesimage, text, video
Tool callingYes
Extended reasoningYes
Knowledge cutoff
ListedApr 2, 2026
All Google API pricing

Also listed as google/gemma-4-31b-it:free (Free blended)— the same model at a different price or rate limit.

What Gemma 4 31B costs to run

Monthly list cost across five workload shapes, using the published cached-input rate where there is one. A floor, not a quote — batch discounts and cache writes aren't included.

WorkloadPer month
Support chatbot

1.2K in / 400 out × 200K requests

$45.92/mo
RAG assistant

8K in / 600 out × 100K requests

$76.40/mo
Coding agent

40K in / 4K out × 20K requests

$76.80/mo
Document extraction

20K in / 1.5K out × 50K requests

$113.50/mo
Bulk classification

500 in / 20 out × 5M requests

$239.00/mo
Price your own workload

Compare Gemma 4 31B with

Benchmarked models at a similar price.

Gemma 4 31B FAQ

How much does Gemma 4 31B cost?

Gemma 4 31B lists at $0.090 per 1M input tokens and $0.340 per 1M output tokens, with cached input reads at $0.050 per 1M. A RAG assistant handling 100K requests a month (8K tokens in, 600 out) comes to about $76.40 at list price.

What is the context window of Gemma 4 31B?

Gemma 4 31B accepts up to 262,144 tokens of context and can return up to 16,384 output tokens per response.

Does Gemma 4 31B support tool calling?

Yes — Gemma 4 31B supports tool (function) calling and exposes extended reasoning. It accepts image, text, video input.

How does Gemma 4 31B score on benchmarks?

LiveBench has not published a run for Gemma 4 31B yet. Until it does, compare it on price and specs, or run your own evaluation on your own tasks.

What is the API model ID for Gemma 4 31B?

On OpenRouter the model ID is "google/gemma-4-31b-it". It was listed on Apr 2, 2026.

More from google

How these numbers are produced

  • Price and specs — provider list data from OpenRouter, refreshed every 15 minutes. “Blended” is a 3:1 input:output mix.
  • Scores and ranksLiveBench release 2026-06-25. Ranks count only models that have a published run; a blank means “not evaluated”, never “bad”.
  • Cost per point — the measured dollars LiveBench spent on the run, divided by the score it earned.

Published benchmarks rank models on someone else's tasks. Before committing, see LLM & agent evaluation for building an eval on your own.