AGENTKERNEL
  1. Home
  2. All models
  3. Gemma 4 31B

Gemma 4 31B: price, performance and context

Open Gemma 4 31B by Google costs $0.20 per 1M input and $0.40 per 1M output tokens, handles up to 262.1K tokens in one request (≈ 790 pages of text) and scores 4.4 points on the AgentKernel performance index, rank 62 of 64.

Privacy: zero data retention with 10 providers, not in the EU. Availability over the last 24 h: 100%.

Updated Nov 25, 2026, 14:01 UTC · google/gemma-4-31b-it

Open in the interactive comparison

Key facts

Licence
Open weights: free to download and self-host
Input / 1M tokens
$0.20
Output / 1M tokens
$0.40
Context window
262.1K tokens
Max. output
16.4K tokens
Performance index
4.4 points · rank 62 of 64
Coding index
n/a
Agentic index
n/a
Cost at your usage
$0.30 / month
Knowledge cutoff
n/a
In the catalog since
Apr 02, 2026
Capabilities
Reasoning, Vision, Tool Calling

What do you get for $10.00?

Rules of thumb from the cost calculator, base rates without caching or taxes.

TaskCost per taskFor $10.00
Chat repliesA question with a short history, a detailed answer$0.0038,000
Email draftsBullet points in, a finished email out$0.0048,000
Document summariesRead 10 pages, write a one-page summary$0.00112,000
Code reviewsReview and comment on 500 lines of code$0.0026,700
Book analysesAnalyse a 300-page book in one go$0.021480

Cheaper with similar performance

ModelLicencePerformanceYour cost / month
gpt-oss-120bOpenAIOpen3.8$0.113
Nemotron 3.5 LightningNVIDIAOpen5.5$0.12
LFM3-1.7BLiquid AIOpen6$0.13

Stronger models

ModelLicencePerformanceYour cost / month
Mistral Medium 3.5MistralOpen4.6$3.375
Nemotron 3.5 LightningNVIDIAOpen5.5$0.12
LFM3-1.7BLiquid AIOpen6$0.13

Badge for your website

Shows this model’s current best placement and updates hourly. The same for every model and free, with no influence on the ranking.

AgentKernel ranking

Markdown (e.g. GitHub README)

[![AgentKernel](https://www.agentkernel.si/badge/google/gemma-4-31b-it.svg)](https://www.agentkernel.si/models/google/gemma-4-31b-it/)

HTML

<a href="https://www.agentkernel.si/models/google/gemma-4-31b-it/"><img src="https://www.agentkernel.si/badge/google/gemma-4-31b-it.svg" alt="AgentKernel ranking" height="20"></a>