Gemma 4 31B

by Google

Released 28 days after Gemini 3.1 Flash Lite Preview · Announcement · All Google releases

Gemma 4 31B IT is the instruction-tuned version of the dense 31-billion parameter flagship, tuned for chat, task completion, and agentic workflows. It accepts text, image, and video inputs and carries a 256K token context window for handling extensive documents and conversations. The model supports native function calling, structured output, configurable thinking modes for step-by-step reasoning, and multilingual understanding across more than 140 languages. Built for both complex reasoning and local execution, Gemma 4 31B IT handles coding, multimodal analysis, and agent-driven tasks, while a hybrid attention design keeps long-context processing efficient. Instruction tuning improves natural conversation and adherence to system prompts. Released April 2, 2026, under the Apache 2.0 license.

Key info

Input
Output
Features
Context window
256K
Max output
8K
Input price
/1M
Output price
/1M
Released
  • onchain settlement available
  • US residency available
  • Zero data retention on pay-as-you-go
  • No training by default
  • no-KYC deposit available

Available routes

Gemma 4 31B runs on 8 different routes through the qynio gateway. Compare residency, zero retention, and training posture at a glance — full data-handling detail per route below.

ProviderRegionZero data retentionTrainingInputOutput
EUZero data retentionNo$0.29$0.58
USZero data retentionNo$0.13$0.38
USNot by defaultNo$0.18$0.50
USNot by defaultNo
USZero data retentionNo$0.13$0.37
EUZero data retentionNo$0.23$0.41
USZero data retentionNo$0.14$0.40
EUZero data retentionNo$0.46$2.44

Uptime and availability

Gemma 4 31B runs on 4 independently monitored routes through the qynio gateway. A direct integration leaves you on one of them, the gateway serves whichever is healthy.

100%effective uptime, last 30 days
Averaged across these routes on their own, a single provider reached 99.66% over the same window.
Daily status through the gateway, which serves each request from whichever route is healthy.
4 monitored providers serve Gemma 4 31B.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. 4 further routes for this model are not on the board yet and are not counted above. See uptime for every provider qynio monitors.

Data handling per route

Each route hosting Gemma 4 31B has its own privacy posture, residency, and no-KYC terms. Postures are maintained by qynio with a last-verification timestamp.

Berget Sweden🇸🇪

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. EU; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
Not applicable — data stays in EU

DeepInfra United States🇺🇸

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. US; unknown; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
unknown

DigitalOcean United States🇺🇸

Zero data retention is not on by default — a moderation hold applies. No training on customer data. US; dpf sccs; deposit available.

Zero data retention
Not by default — a moderation hold applies. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Holds content for review
Caching
Content cached for replay
Subprocessor access
No subprocessor reads content
no-KYC deposit
deposit available
Transfer mechanism
dpf sccs

Google Cloud United States🇺🇸

Zero data retention is not on by default — abuse monitoring. No training on customer data. US; wallets; deposit available.

Zero data retention
Not by default — abuse monitoring. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
Abuse monitoring
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
wallets

Geodd United States🇺🇸

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. US; wallets; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
No hold on content
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
wallets

Infercom Germany🇩🇪

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. EU; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
No subprocessor reads content
no-KYC deposit
deposit available
Transfer mechanism
Not applicable — data stays in EU

Novita United States🇺🇸

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. US; wallets; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
wallets

Regolo Italy🇮🇹

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. EU; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
No hold on content
Caching
Not established
Subprocessor access
No subprocessor reads content
no-KYC deposit
deposit available
Transfer mechanism
Not applicable — data stays in EU

Get started

Call Gemma 4 31B through the qynio gateway with one API key. Let your coding agent set it up, or call it directly — qynio is drop-in compatible with the OpenAI, Anthropic, and Google AI SDKs.

Set it up with your agent

Copy this and paste it into a coding agent like Claude Code, Cursor or Codex and it'll wire up qynio for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.QYN_API_KEY,
baseURL: "https://api.qyn.io/v3/compat",
});
const completion = await client.chat.completions.create({
model: "gemini/gemma-4-31b",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Compare Gemma 4 31B with…

Side-by-side on privacy, crypto rails, pricing, and benchmarks.

Other models from Google

Start building with 700+ models

One API key. Every major provider. Up and running in minutes.

Get startedView Documentation