Gemma 4 31B

Pick up to 3 models · pricing, context and capabilities · simulate your product cost

Data updated on September 30, 2026· 217 models

Google4 31B

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

Reasoning estimated
Speed estimated
Input
Output
Context
262 K tokens
Max output
16 K
Input, $ per 1M tokens
$0.090
Output, $ per 1M tokens
$0.340
Cache read, $ per 1M
$0.050
Batch (input / output)
—
Tool calling
Yes
Released
04/02/2026
Knowledge cutoff
—
API id
google/gemma-4-31b-it

Summary from the data

Gemma 4 31B is a Google model available by API since 04/02/2026. It costs $0.090 per million input tokens and $0.340 per million output tokens, accepts 262 K tokens of context and generates up to 16 K tokens per response. Input: image, text, video; output: text. It has a reasoning mode. It supports tool calling. With 10,000 requests a month of 1,500 input and 400 output tokens it would cost about $2.71 a month.

Compare Gemma 4 31B with…

All Google models →

What would your product cost?

Estimate the monthly cost with your app's real volume. List prices, no cache or batch discounts.

Gemma 4 31B
$2.71/mo

The 6 cheapest for this scenario (chat, last 12 months)

  1. 1Lyria 3 Pro Preview Google$0.00
  2. 2Lyria 3 Clip Preview Google$0.00
  3. 3Qwen3.7 Flash Qwen$0.97
  4. 4DeepSeek V4 Flash 0731 DeepSeek$1.55
  5. 5Ministral 3 3B 2512 Mistral$1.90
  6. 6Qwen3.5-Flash Qwen$2.02

Frequently asked questions

How much does Gemma 4 31B cost per million tokens?

Gemma 4 31B costs $0.090 per million input tokens and $0.340 per million output tokens (USD, list price). Cache read: $0.050. Batch tier: not published.

What context window does Gemma 4 31B have?

Gemma 4 31B accepts 262 K tokens of context per request and generates up to 16 K tokens per response.

Does Gemma 4 31B accept images, audio or files?

Input: image, text, video. Output: text.

Does Gemma 4 31B have a reasoning mode and tool calling?

It has a reasoning mode. It supports tool calling.

When was Gemma 4 31B released and what is its knowledge cutoff?

Gemma 4 31B has been available by API since 04/02/2026. Knowledge cutoff: not published.

What would an app built on Gemma 4 31B cost?

With 10,000 requests a month of 1,500 input and 400 output tokens, Gemma 4 31B would cost about $2.71 a month at list price, without cache or batch discounts.

What is the API id of Gemma 4 31B?

The id is google/gemma-4-31b-it. It is the name passed in the model parameter of the API (or on OpenRouter).

Where do the prices come from and how often are they updated?

From the public catalogs of OpenRouter, models.dev and LiteLLM, which publish each provider's list prices. They sync once a day and the last update date is shown above the comparison.

What does price per million tokens mean?

It is what the provider charges per million tokens you send (input) or the model generates (output). A token is roughly 4 characters. Output almost always costs more than input.

Sources: OpenRouter, models.dev and LiteLLM. Prices in USD per million tokens, list price, no volume discounts. Prompt tokens are an estimate; each provider's tokenizer may differ.