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
26tok/s

P50, best across providers

Latency
1.51s

P50, best provider

AutoExacto benchmarks
GPQA DiamondTAU-BenchPrimeIntellect84.1%--DeepInfra84.9%76.8%DeepInfra84.8%76.1%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.62%

Availability over the last 3 days

Last 72 hours
Availability 98.62%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
98.54%

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.

Benchmark score summary for Google: Gemma 4 31B (free) (Artificial Analysis and Vals AI)
SourceBenchmarkScore
Artificial AnalysisGemma 4 31B (Reasoning) Intelligence Index4.4
Artificial AnalysisGemma 4 31B (Reasoning) Coding Index43.4
Artificial AnalysisGemma 4 31B (Reasoning) Agentic Index4.2
Artificial AnalysisGemma 4 31B (Reasoning) GPQA Diamond85.7%
Artificial AnalysisGemma 4 31B (Reasoning) HLE23.6%
Artificial AnalysisGemma 4 31B (Reasoning) IFBench75.6%
Artificial AnalysisGemma 4 31B (Reasoning) τ²-Bench Telecom59.9%
Artificial AnalysisGemma 4 31B (Reasoning) AA-LCR69.7%
Artificial AnalysisGemma 4 31B (Reasoning) τ-Bench Banking14.8%
Artificial AnalysisGemma 4 31B (Reasoning) GDPval-AA6.3%
Artificial AnalysisGemma 4 31B (Reasoning) CritPt1.4%
Artificial AnalysisGemma 4 31B (Reasoning) SciCode45.5%
Artificial AnalysisGemma 4 31B (Reasoning) Terminal-Bench Hard36.4%
Artificial AnalysisGemma 4 31B (Reasoning) Terminal-Bench 4.00.0%
Artificial AnalysisGemma 4 31B (Reasoning) Terminal-Bench 2.143.4%
Artificial AnalysisGemma 4 31B (Reasoning) AA-Omniscience Accuracy19.9%
Artificial AnalysisGemma 4 31B (Reasoning) AA-Omniscience Non-Hallucination Rate14.5%
Artificial AnalysisGemma 4 31B (Non-reasoning) Coding Index33.2
Artificial AnalysisGemma 4 31B (Non-reasoning) GPQA Diamond76.3%
Artificial AnalysisGemma 4 31B (Non-reasoning) HLE11.8%
Artificial AnalysisGemma 4 31B (Non-reasoning) IFBench53.5%
Artificial AnalysisGemma 4 31B (Non-reasoning) τ²-Bench Telecom65.5%
Artificial AnalysisGemma 4 31B (Non-reasoning) AA-LCR46.7%
Artificial AnalysisGemma 4 31B (Non-reasoning) τ-Bench Banking8.9%
Artificial AnalysisGemma 4 31B (Non-reasoning) GDPval-AA2.7%
Artificial AnalysisGemma 4 31B (Non-reasoning) CritPt0.0%
Artificial AnalysisGemma 4 31B (Non-reasoning) Terminal-Bench Hard30.3%
Artificial AnalysisGemma 4 31B (Non-reasoning) Terminal-Bench 2.129.2%
Vals AIGemma 4 31B IT CaseLaw v252.6%
Vals AIGemma 4 31B IT Finance Agent v1.150.8%
Vals AIGemma 4 31B IT MortgageTax61.4%
Vals AIGemma 4 31B IT SAGE82.8%
Vals AIGemma 4 31B IT Terminal-Bench 2.039.3%

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
144Mtokens
2.
88.3Mtokens
3.
Favicon for https://nousresearch.com
Hermes Agent
76.5Mtokens
4.
50.3Mtokens
5.
Favicon for https://openclaw.ai/
OpenClaw
45.2Mtokens
Rest of OpenRouter
5.3M
Top 5 Apps
1.69M

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