Favicon for google

Google: Gemma 4 31B (free)

google/gemma-4-31b-it:free

Model weights

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

Providers

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 Floor (cheapest).

Performance

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).

Throughput
30tok/s

P50, best across providers

Latency
1.47s

P50, best provider

AutoExacto benchmarks
GPQA DiamondTAU-BenchDeepInfra84.9%76.8%DeepInfra84.8%76.1%PrimeIntellect84.1%76.7%SambaNova84.1%76.5%Novita85.1%73.9%ModelRun84.4%74.3%
+13 more providers

Uptime

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.

Uptime (3d)The model was reachable. Request routed to a provider.
100.00%
Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.
98.81%

Availability over the last 3 days

Last 72 hours
Availability 98.81%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.44%

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 provider routing options.

Benchmarks

Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.

Apps

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.

1.
Favicon for https://janitorai.com/
Janitor AI
142Mtokens
2.
97Mtokens
3.
Favicon for https://nousresearch.com
Hermes Agent
72.1Mtokens
5.
42.2Mtokens
Rest of OpenRouter
44.7M
Top 5 Apps
7.46M

Activity

Token volume and request traffic to this model over time.

API

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.

Not currently available through EU in-region routing. In-region routing docs

Documentation

Guides, cookbooks, blog posts, and tools for building with Google: Gemma 4 31B (free) on OpenRouter.

Frequently asked questions