Google logo

Gemma 4 31B Instruct


Gemma 4 31B Instruct is Google logoGoogle's language model with a 262K context window and up to 131K output tokens, available from 2 providers, starting at $0.130 / 1M input and $0.380 / 1M output. Instruction-tuned Gemma 4 dense 31B model supporting text and image inputs with configurable reasoning mode and a 256K token context window.
Spec
Canonical IDgoogle-gemma-4-31b-instruct
TypeLanguage
StatusActive
CreatorGoogleGoogle
Providers
Context Window262K tokens
Max Output131K tokens
Input ModalitiesImagePdfTextVideo
Output ModalitiesText
Reasoning Effortsdefault
Parameters31B
Release Date · 16 days ago

Capabilities

Input4/5
Text
Image
Audio·
Video
PDF
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities2/13
Reasoning
Adaptive Reasoning·
Function Calling
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

ProviderStandard
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
OpenRouter logo
OpenRouter
google/gemma-4-31b-it
$0.130$0.380$0.020
Vercel AI Gateway logo
Vercel AI Gateway
google/gemma-4-31b-it
$0.140$0.400N/A

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Gemma 4 26B A4B Instruct262K$0.080$0.350Available
Gemma 4 31B Instruct262K$0.130$0.380Current
Gemma 4 31B IT262KAvailable

HuggingFace

2,122 likes3,513,465 downloads/month3,517,353 total downloads

Model IDs