Gemma 4 31B is Google's language model with a 256K context window, starting at $0.14 / 1M input and $0.4 / 1M output. Google DeepMind's 31B-parameter Gemma 4 open multimodal LLM, handling text and image inputs with text output.
Specifications
Canonical IDgoogle-gemma-4-31b
TypeLanguage
StatusActive
CreatorGoogleGoogle
Providers
Context Window256K tokens
Input ModalitiesImageText
Output ModalitiesText
Reasoning Effortsdefault
Parameters31B
Benchmarks
Intelligence Index
29.4
#94
Coding Index
43.4
#39
GPQA
0.9
#52
HLE
0.2
#59
IFBench
0.8
#28
Time to First Token
0.93s
#341
SciCode
0.4
#55
LCR
0.6
#85
TerminalBench Hard
0.4
#50
TAU2
0.6
#159
Output TPS
34.7
#244

Capabilities

Input2/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

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
Amazon Bedrock logo
Amazon Bedrock
bedrock_mantle/google.gemma-4-31b
$0.14$0.4

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Gemma 4 31B256K$0.140$0.400Current
Gemma 4 26B A4B256K$0.130$0.400Available
Gemma 4 31BAvailable
Gemma 4 12BAvailable
Gemma 4 26B A4BAvailable
Gemma 4 E4BAvailable
Gemma 4 E2B128K$0.040$0.080Available
Gemma 4 E4BAvailable
Gemma 4 E2BAvailable
Gemma 4Available
Gemma 4 26B131K$0.030$0.165Available

Model IDs

bedrock_mantle/google.gemma-4-31b
gemma-4-31b
gemma-4-31b-non-reasoning
google-gemma-4-31b