Gemma 4 31B IT is an open-source, instruction-tuned chat model created by Google. It is a multimodal model that accepts both text and image inputs and generates text outputs.
Input
Output
Context
262K
Max Output
33K
Parameters
31.3B
Input Modalities
Output Modalities
Some values come from web research and may be incorrect. Report incorrect data
Measured speed: 57 tok/s output speed · 0.65 s to first answer token · 0.65 s to first token
Bands compare this model with every model the same suite measured in our catalog.
Download 62.5 GB · Runs on vLLM v0.32.0 · 146 GGUF builds
| Precision | Weights | One request at 33K tokens | Smallest GPU that fits |
|---|---|---|---|
| FP16 / BF16 | 58.3 GB | 66.3 GB | 1x NVIDIA A100 PCIe 80GB (80 GB) |
| INT8 | 29.1 GB | 35.7 GB | 1x Moore Threads MTT S4000 (48 GB) |
| INT4 | 14.6 GB | 20.4 GB | 1x NVIDIA GeForce RTX 3090 (24 GB) |
Computed by Inferbase from the 31,273,088,876 parameters in the creator's Hugging Face repository; one request adds its KV cache, activations and framework overhead, with the layer layout estimated from the parameter count.
Request google-gemma-4-31b-it and routing picks a build. Use a build's model ID to pin it.
| Build | What it is | Model ID |
|---|---|---|
| FP8 | 8-bit floating-point weights | google-gemma-4-31b-it:fp8 |
| Turbo | Optimized serving build | google-gemma-4-31b-it:turbo |
Public resources
Specification sources
As of Nov 10, 2026.
Answered from the facts on this page, with their sources.
Gemma 4 31B IT has a context window of 262,144 tokens and a maximum output of 32,768 tokens (source: Creator or provider API). A provider may serve less; Inferbase routes on what each provider serves.
Yes. Gemma 4 31B IT is an open-weight model under the Apache 2.0 license. You can download and self-host it within the license terms.
Gemma 4 31B IT has 31,273,088,876 parameters (31.3B), as stated in the creator's Hugging Face repository.
Strengths: Open weights under a permissive license (apache-2.0); 262K token context window. Limitations: Below average on long-context reasoning among measured models. Each is computed from the model's stated facts and benchmark results.
Gemma 4 31B IT accepts Text and Image and produces Text. The Capabilities card lists the API features it supports, such as function calling and structured output.
Gemma 4 31B IT has published results from Artificial Analysis and Epoch AI. The Benchmarks card shows each score as reported, with its band among the models the same source measured. Scores are never combined across sources.
Yes. Gemma 4 31B IT is available on Inferbase Managed through the OpenAI-compatible API as google-gemma-4-31b-it. Request it by name, or request auto and routing picks it when it fits the request best.
The weights take 58.3 GB at FP16 / BF16, 29.1 GB at INT8, 14.6 GB at INT4, computed from the 31,273,088,876 parameters its creator publishes. Each request adds its KV cache and the framework's overhead. The hardware section shows one request and the smallest GPU that fits; the GPU planner sizes it for your context length and traffic.
Start on the free plan with 5,000 requests a month, no card required.