RunInfraby RightNow
  • Model APIsNew
  • Pricing
  • Research
  • Contact
DashboardSign inGet started
Loading related term
Loading related term
Loading related term
Loading related term
Home/Catalog/Gemma 4 31B
Model reference

Gemma 4 31B

This reference covers the dense flagship checkpoint and keeps family-only capabilities separate. It distinguishes model-vendor facts from third-party endpoint pricing.

Gemma 4 31B is the vendor reference for google/gemma-4-31B-it, as of 2026-08-12. Attention architecture: hybrid attention mechanism that interleaves local sliding window attention with full global attention, ensuring the final layer is always global; Context length: 256K tokens for the 12B, 26B, and 31B models, as of 2026-08-12. RunInfra has not measured this model; every figure below belongs to its named source, cited and dated.

Cited specifications

GroupFactSource-cited display valueSource and date
IdentityRelease identitygoogle/gemma-4-31B-it
SourceRetrieved 2026-08-12
IdentityFamily release dateApril 2, 2026
SourceRetrieved 2026-08-12
IdentityFlagship variant31B Dense; 30.7B parameters
SourceRetrieved 2026-08-12
IdentityFamily variantsE2B, E4B, 12B, 26B MoE, and 31B Dense; the 26B MoE has 25.2B total, 3.8B active, 8 active experts, 128 total experts, and 1 shared expert.
SourceRetrieved 2026-08-12
ArchitectureAttention architecturehybrid attention mechanism that interleaves local sliding window attention with full global attention, ensuring the final layer is always global
SourceRetrieved 2026-08-12
ArchitectureSliding windows512-1024 tokens
SourceRetrieved 2026-08-12
ContextContext length256K tokens for the 12B, 26B, and 31B models
SourceRetrieved 2026-08-12
ContextSmaller-family context128K tokens for the E2B and E4B models
SourceRetrieved 2026-08-12
ContextMaximum outputNot stated by Google for this artifact.
SourceRetrieved 2026-08-12
ModalitiesInputsAll models natively process video and images, supporting variable resolutions.
SourceRetrieved 2026-08-12
ModalitiesOutputtext output only
SourceRetrieved 2026-08-12
ModalitiesAgentic workflowsAgentic workflows: Native support for function-calling, structured JSON output
SourceRetrieved 2026-08-12
ModalitiesLanguages140+ languages
SourceRetrieved 2026-08-12
ModalitiesAudio scopeAudio input is not listed for the 31B model.
SourceRetrieved 2026-08-12
LicenseWeights licensereleased under a commercially permissive Apache 2.0 license
SourceRetrieved 2026-08-12
LicenseRepository accessApache 2.0 metadata; ungated repository
SourceRetrieved 2026-08-12
LicenseUse-policy pointerThe vendor model card links a Prohibited use policy page.
SourceRetrieved 2026-08-12
PricingOpenRouter listing$0.08 input and $0.35 output per 1M tokens
SourceRetrieved 2026-08-12
AvailabilityRepository familyVerified repositories include the 31B instruction and base checkpoints, the 26B MoE instruction checkpoint, and the 12B, E4B, and E2B instruction checkpoints, with additional base and QAT variants.
SourceRetrieved 2026-08-12
AvailabilityInstruction weightsgoogle/gemma-4-31B-it
SourceRetrieved 2026-08-12
AvailabilityBase weightsgoogle/gemma-4-31B
SourceRetrieved 2026-08-12
AvailabilityMixture instruction weightsgoogle/gemma-4-26B-A4B-it
SourceRetrieved 2026-08-12
AvailabilityInstruction weightsgoogle/gemma-4-12B-it
SourceRetrieved 2026-08-12
AvailabilityEfficient instruction weightsgoogle/gemma-4-E4B-it
SourceRetrieved 2026-08-12
AvailabilityEfficient instruction weightsgoogle/gemma-4-E2B-it
SourceRetrieved 2026-08-12

What the vendor says is new

"our most intelligent open models to date. Purpose-built for advanced reasoning"

SourceRetrieved 2026-08-12

"breakthrough capabilities made widely accessible under an Apache 2.0 license"

SourceRetrieved 2026-08-12

"intelligence-per-parameter means achieving frontier-level capabilities with less hardware"

SourceRetrieved 2026-08-12

Vendor-claimed benchmarks

These results are vendor-claimed, not independently measured by RunInfra.

BenchmarkVendor-claimed valueSource and date
Arena AI text leaderboard31B: #3 open model in the world on the industry-standard Arena AI text leaderboard
SourceRetrieved 2026-08-12
MMLU Pro85.2%
SourceRetrieved 2026-08-12
AIME 2026, no tools89.2%
SourceRetrieved 2026-08-12
Codeforces ELO2150
SourceRetrieved 2026-08-12

Serving support

Listed rows have a cited upstream support signal. They are not RunInfra measurements.

vLLM

A merged pull request implements Gemma 4 architecture support for MoE, multimodal input, reasoning, and tool use.

SourceRetrieved 2026-08-12

SGLang

The Gemma 4 cookbook states that all Gemma 4 models require the Triton attention backend for bidirectional image-token attention.

SourceRetrieved 2026-08-12

Serving concepts

  • Sliding-window attention->
  • Mixture-of-experts serving->
  • Context length->
  • KV cache->
  • Tokens per second->

What RunInfra measures when we measure it

RunInfra has not measured this model yet. When measurement is published, the record will state throughput, latency, memory, quality, serving conditions, and reproducible evidence.

  • Measurement methodology->
  • Measured package catalog->
  • Published benchmarks->

Questions about this model reference

What is Gemma 4 31B?

As of 2026-08-12, release identity: google/gemma-4-31B-it.

Where are the Gemma 4 31B weights?

As of 2026-08-12, repository family: Verified repositories include the 31B instruction and base checkpoints, the 26B MoE instruction checkpoint, and the 12B, E4B, and E2B instruction checkpoints, with additional base and QAT variants.

Can I run Gemma 4 31B myself?

As of 2026-08-12, repository family: Verified repositories include the 31B instruction and base checkpoints, the 26B MoE instruction checkpoint, and the 12B, E4B, and E2B instruction checkpoints, with additional base and QAT variants.

RunInfraby RightNow

© 2026 RunInfra. All rights reserved.

System status
Pipeline BuilderModel APIsCost CalculatorPricingStartupsBenchmarksDocsResearchNewsContact
Backed by
YCombinator
AICPA Type II
SOC 2
NVIDIA Inception ProgramNVIDIA Inception Program
Ask AI about RunInfra
Part of RightNow
SecurityDPAAUPCookiesTermsPrivacy