Skip to content
Not available in this workspace
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Support
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for google

Google: Gemma 4 31B (free)

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

Model weights
Compare

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

Compare
ProvidersPerformanceUptimeBenchmarksAppsActivityFAQ

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 Exacto (highest tool-calling accuracy).

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

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.

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows where this model lands among all models on OpenRouter.

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.

Activity

Token volume and request traffic to this model over time.

Quick Start

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.

About Google: Gemma 4 31B (free)

OpenRouter makes Google: Gemma 4 31B (free) available through a unified, OpenAI-compatible API using the model ID google/gemma-4-31b-it:free. It is served by Google AI Studio.

Google: Gemma 4 31B (free) accepts images, text and video and returns text. It has a 262,144-token context window and a maximum output of 32,768 tokens.

It was released on April 2, 2026.

More models from Google

  • Gemini 3.7 Flash
  • Gemini 3.6 Flash
  • Gemini 3.5 Flash Lite

Frequently asked questions

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.

FreeFree1.15s31 tps
--

Throughput

31tok/s

P50, best across providers

Latency

1.15s

P50, best provider

AutoExacto Benchmarks
GPQA DiamondTAU-Bench
WandB
85.7%--
SambaNova
85.0%--
Together
84.9%--
Together
84.4%--
DeepInfra Turbo
83.6%--
Crusoe
84.8%79.8%
DeepInfra
84.4%75.9%
DeepInfra Ultra
69.2%78.0%
+13 more providers
Uptime (3d)

100.00%

Availability (3d)

99.01%

Availability over the last 3 days

Last 72 hours
Availability 99.01%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
98.49%

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.

1.
Favicon for https://janitorai.com/
Janitor AI
Janitor AI is a chatbot platform where users create and chat with custom AI characters for interactive roleplay, storytelling, and immersive fiction.
1.68Btokens
2.
Favicon for https://openclaw.ai/
OpenClaw
OpenClaw is an open-source AI agent that connects to your messaging apps and takes real actions on your behalf, from running commands and browsing the web to managing files and sending emails.
455Mtokens
3.
Favicon for https://docs.langchain.com/
LangChain
new
168Mtokens
4.
Favicon for https://nousresearch.com
Hermes Agent
Hermes Agent is an open-source, self-improving AI agent by Nous Research that runs persistently with memory across sessions, and builds reusable skills from experience. It comes with 40+ built-in tools, including web search, browser automation, and vision, plus scheduled automations and subagents.
151Mtokens
5.
Favicon for https://riskforge.capital/
RiskForge Capital - FutunnHourlyDigestAgent
new
118Mtokens