gemma-4-31B-it

reasoning
multimodal
coding

Gemma‑4‑31B‑it is the flagship dense model of the entire lineup, which at the time of its release sets a new standard for quality and performance in the class of open models of comparable size. With 30.7 billion parameters, a deep architecture of 60 layers, and a 256‑thousand‑token context window, this model demonstrates high‑quality reasoning generation and programming skills, only slightly trailing the largest closed‑source and open‑source “giants.” Its architecture is based on a hybrid attention mechanism that alternates a local sliding window of 1024 tokens with full global layers to preserve context. To handle long sequences, the global layers use unified keys and values as well as proportional rotary position encoding (Proportional RoPE). These optimisations reduce KV cache requirements by up to 74% compared to traditional full‑attention mechanisms. The model is multimodal out‑of‑the‑box, processing text and images through a powerful vision encoder with ~550 million parameters.

According to the official developer blog, at launch Gemma‑4‑31B‑it ranks 3rd on the global Arena AI text leaderboard for open models and confidently outperforms models that are 20 times larger. The model achieves excellent results across a range of key benchmarks. On MMLU‑Pro it scores 85.2%, a significant improvement over Gemma‑3 27B’s 67.6%. The progress in reasoning and programming is even more striking: on LiveCodeBench the result nearly tripled — from 29.1% to 80.0%, and on the challenging mathematics test AIME 2026 the model achieves 89.2% versus 20.8% for its predecessor. On multimodal understanding tasks, the model also shows strong results: MMMU — 76.9%, MATH‑Vision — 85.6%.

Developers recommend the 31B model for scenarios that require high, proven generation quality and deep logical analysis, provided sufficient computational resources are available. Thanks to the Apache 2.0 licence, the model can be freely fine‑tuned and used in commercial products. The unquantised bfloat16 version fits on a single NVIDIA H100 with 80 GB of memory, while quantised variants can run efficiently on consumer GPUs, opening up opportunities for local deployment of powerful agentic systems and assistants.

For the developers’ usage recommendations for the model, please refer to this link: https://ai.google.dev/gemma/docs/core/model_card_4?hl=en


Announce Date: 11.03.2026
Parameters: 33B
Context: 263K
Layers: 60, using full attention: 10
Attention Type: Sliding Window Attention
Developer: Google DeepMind
Transformers Version: 5.5.0.dev0
vLLM Version: gemma4
License: Apache 2.0

Public endpoint

Use our pre-built public endpoints for free to test inference and explore gemma-4-31B-it capabilities. You can obtain an API access token on the token management page after registration and verification.
Model Name Context Type GPU Status Link

API access to gemma-4-31B-it endpoints

There are no public endpoints for this model yet.

Private endpoint

An endpoint is a server with pre-installed software that automatically downloads neural network weights and launches an OpenAI-compatible API to handle incoming requests.

A private endpoint is created within the user's project, belongs exclusively to the user, and is billed per server configuration in accordance with the infrastructure pricing.

We recommend creating private endpoints when you need to:

  • achieve maximum endpoint performance,
  • access the full context window for processing large requests and conversations,
  • ensure maximum security by processing data in a dedicated, isolated environment.

Recommended server configurations for creating a private inference endpoint gemma-4-31B-it

Prices:
Name GPU Price, hour TPS Max Concurrency
teslaa2-4.32.128.160
262,144.0
tensor
4 $1.26 1.067 Launch
teslaa10-4.16.64.160
262,144.0
tensor
4 $1.62 2.250 Launch
teslaa100-1.16.64.160
262,144.0
1 $2.37 51.27 2.075 Launch
rtx3090-4.16.64.160
262,144.0
tensor
4 $2.89 83.38 2.269 Launch
rtx5090-2.16.64.160
262,144.0
tensor
2 $2.93 1.287 Launch
rtx3090-4.16.128.160.nvlink
262,144.0
tensor
4 $3.01 2.269 Launch
rtx4090-4.16.64.160
262,144.0
tensor
4 $3.60 94.24 2.402 Launch
h100-1.16.64.160
262,144.0
1 $3.83 62.25 1.428 Launch
h100nvl-1.16.96.160
262,144.0
1 $4.11 86.54 1.907 Launch
teslaa100-2.24.96.160.nvlink
262,144.0
tensor
2 $4.61 4.871 Launch
h200-1.16.128.160
262,144.0
1 $4.74 3.104 Launch
h200-2.24.256.160.nvlink
262,144.0
tensor
2 $9.40 6.947 Launch
Prices:
Name GPU Price, hour TPS Max Concurrency
teslaa10-4.16.64.160
262,144.0
tensor
4 $1.62 1.811 Launch
teslaa100-1.16.64.160
262,144.0
1 $2.37 38.81 1.609 Launch
rtx3090-4.16.64.160
262,144.0
tensor
4 $2.89 57.68 1.970 Launch
rtx3090-4.16.128.160.nvlink
262,144.0
tensor
4 $3.01 1.970 Launch
rtx4090-4.16.64.160
262,144.0
tensor
4 $3.60 71.33 1.964 Launch
h100-1.16.64.160
262,144.0
1 $3.83 47.42 1.186 Launch
h100nvl-1.16.96.160
262,144.0
1 $4.11 70.42 1.571 Launch
teslaa100-2.24.96.160.nvlink
262,144.0
tensor
2 $4.61 4.507 Launch
h200-1.16.128.160
262,144.0
1 $4.74 2.862 Launch
rtx5090-4.16.128.160
262,144.0
tensor
4 $5.74 3.136 Launch
h200-2.24.256.160.nvlink
262,144.0
tensor
2 $9.40 6.678 Launch
Prices:
Name GPU Price, hour TPS Max Concurrency
h200-1.16.128.240
262,144.0
1 $4.74 1.996 Launch
teslaa100-2.24.256.240
262,144.0
tensor
2 $4.93 41.26 3.327 Launch
teslaa100-2.24.256.320.nvlink
262,144.0
tensor
2 $4.94 41.26 3.327 Launch
rtx5090-4.16.128.320
262,144.0
tensor
4 $5.76 1.988 Launch
dedicated-rtx3090-8.64.128.960-1
262,144.0
tensor
8 $6.04 2.270 Launch
rtx4090-8.44.256.240
262,144.0
tensor
8 $7.52 2.263 Launch
h100-2.24.256.240
262,144.0
tensor
2 $7.85 2.466 Launch
h100nvl-2.24.192.240
262,144.0
tensor
2 $8.17 75.84 3.235 Launch
h200-2.24.256.240.nvlink
262,144.0
tensor
2 $9.41 5.818 Launch

Related models

Need help?

Contact our dedicated neural networks support team at support@immers.cloud or send your request to the sales department at sale@immers.cloud.

We use cookies and web analytics services to ensure the proper functioning of the website, analyze web-site traffic, and improve the quality of our services.
By continuing to use the website, you consent to the Privacy Policy and consent to the processing of cookie files and technical data.