Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function calling, and multilingual support across 140+ languages. Strong on coding, reasoning, and document understanding tasks. Apache 2.0 license.
Modalities
Price
Free
Context
262K
Released
Apr 2, 2026
Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick — Balanced (price + speed), Nitro (fastest), or Exacto (highest tool-calling accuracy).
Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).
Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.
Scores on standardized evaluations. Higher percentages are better — and rank percentile shows where this model lands among all models on OpenRouter.
Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.
Token volume and request traffic to this model over time.
Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function calling, and multilingual support across 140+ languages. Strong on coding, reasoning, and document understanding tasks. Apache 2.0 license.
Yes. The pricing shown on this page for Gemma 4 31B (free) is zero, so you are not charged for prompt or completion tokens. Free endpoints are rate limited — see the rate limit docs.
Gemma 4 31B (free) has a 262,144 token context window. It supports up to 32,768 completion tokens.
Yes. Gemma 4 31B (free) accepts tools and tool_choice for function calling. It supports response_format for JSON output, without JSON-schema enforcement.
Gemma 4 31B (free) accepts images, text and video as input and returns text.
Gemini 3.7 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash Lite and 25 more are other text models from Google.
Gemma 4 31B (free) was released on April 2, 2026.
| Free | Free | 1.15s | 31 tps |
Throughput
31tok/s
P50, best across providers
Latency
1.15s
P50, best provider
100.00%
99.01%
When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and customization options.