Google: Gemma 4 31B

31B

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

Context
262K
Max output
16K
Input price
$0.2/1M tokens
Output price
$0.4/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode

Details

Model IDgoogle/gemma-4-31b-it
Provider OpenRouter
Creator Google AI
Familygemma-4
License—
Status—
Typechat
Input modalitiesimage, text, video
Output modalitiestext
Open weight—
Parameters31B
Architecture—
Context window262K tokens
Max input—
Max output16K tokens
Reasoning tokens—
Knowledge cutoff—
Release date
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Pricing

Input
$0.2
Output
$0.4
Cache write
—
Cache read
$0.05
Batch in
—
Batch out
—

Family Comparison: gemma-4

ModelContextMax outPricing
Google: Gemma 4 26B A4B (free)262K33K—
Google: Gemma 4 31B (free)262K33K—
Google: Gemma 4 26B A4B 262K236K$0.09$0.3
Google: Gemma 4 31B262K16K$0.2$0.4
Google: Gemma 4 31B (batch)262K236K$0.39$0.97

API

GET/v1/models/openrouter/google/gemma-4-31b-it

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.

Changes · 14 entries
google/gemma-4-31b-itupdateca7a400Nov 2, 2026, 03:02 AM
pricinginput$0.13→$0.2output$0.38→$0.4cached input$0.02→$0.05
google/gemma-4-31b-itupdateb92059eOct 15, 2026, 06:37 AM
pricinginput$0.09→$0.2output$0.34→$0.4
google/gemma-4-31b-itupdatee3d7dedAug 31, 2026, 04:13 AM
max_output_tokens262144→16384
pricinginput$0.1→$0.09cached input$0.1→$0.05
google/gemma-4-31b-itupdatedbe2d73Jul 31, 2026, 06:07 AM
pricinginput$0.14→$0.1output$0.4→$0.34
google/gemma-4-31b-itupdate97fe10eJul 25, 2026, 09:55 AM
max_output_tokens8192→262144
pricinginput$0.1→$0.14output$0.35→$0.4
google/gemma-4-31b-itupdatebf78dcfJul 25, 2026, 05:49 AM
max_output_tokens262144→8192
pricinginput$0.22→$0.1output$0.55→$0.35cached input$0.12→$0.1
google/gemma-4-31b-itupdate20c73acJul 17, 2026, 02:34 AM
pricinginput$0.12→$0.22output$0.35→$0.55cached input$0.09→$0.12
google/gemma-4-31b-itupdateab879c8Jun 18, 2026, 08:32 AM
max_output_tokens8192→262144
pricingoutput$0.36→$0.35
google/gemma-4-31b-itupdated68a4f1Jun 10, 2026, 02:10 AM
max_output_tokens16384→8192
pricingoutput$0.37→$0.36cached input$0.02→$0.09
google/gemma-4-31b-itupdated9ddd19May 14, 2026, 07:26 AM
pricinginput$0.13→$0.12output$0.38→$0.37
google/gemma-4-31b-itupdatec8065d6Apr 25, 2026, 10:39 AM
max_output_tokens131072→16384
google/gemma-4-31b-itupdate1867defApr 14, 2026, 10:11 AM
pricinginput$0.14→$0.13output$0.4→$0.38cached input$0.02
google/gemma-4-31b-itupdatefdb701fApr 5, 2026, 05:48 AM
capabilitiestool callyes
tools["function_calling"]
google/gemma-4-31b-itcreatec2a7935Apr 4, 2026, 01:05 AM