Gemini 3.1 Pro Preview

by Google

Released 64 days after Gemini 3 Flash Preview · All Google releases

Gemini 3.1 Pro is Google's most advanced reasoning model, built for complex problem-solving across mathematics, STEM, and software engineering. Launched in February 2026, it outperforms its predecessor Gemini 3 Pro across reasoning and multimodal benchmarks, scoring 77.1% on ARC-AGI-2 abstract reasoning and 80.6% on SWE-Bench Verified for real-world coding. With a 1M-token context window and multimodal inputs spanning text, audio, images, video, and entire code repositories, it analyzes large codebases, scientific papers, and heterogeneous datasets in a single request. The model supports an extended thinking mode, function calling, structured outputs, and code execution, enabling sophisticated agentic workflows and research applications. Versus Gemini 2.5 Pro, this generation delivers substantially better agentic performance and reasoning depth. For straightforward, cost-sensitive tasks, Gemini 3.1 Flash Lite is more economical, but Gemini 3.1 Pro remains the top choice for frontier-level reasoning and coding.

Key info

Input
Output
Features
Context window
1M
Max output
66K
Input price
$2.00 /1M
Output price
$12.00 /1M
Released
  • US residency available
  • Zero data retention on pay-as-you-go
  • No training by default
  • GDPR DPA available

Available routes

Gemini 3.1 Pro Preview runs on 3 different routes through the Opper gateway. Compare residency, ZDR, and training posture at a glance — full data-handling detail per route below.

ProviderRegionZero data retentionTrainingInputOutput
USNot by defaultNo$2.00$12.00
MultiZero data retentionNo$2.00$12.00
MultiNot by defaultNo$2.00$12.00

Uptime and availability

Gemini 3.1 Pro Preview runs on a single route through the Opper gateway today, so its availability is that provider's availability.

99.00%route uptime, last 30 days
Single route, no failover target within this model.

Name a second model in the same request and the gateway tries it on retriable errors, so a busy hour never has to reach your users. Set up a fallback chain.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. See uptime for every provider Opper monitors.

Data handling per route

Each route hosting Gemini 3.1 Pro Preview has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

Google Cloud United States🇺🇸

Zero data retention is not on by default — abuse monitoring. No training on customer data. US; SCCs; DPA 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
GDPR DPA
DPA available
Transfer mechanism
SCCs

Google Cloud Multi-region

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. GLOBAL; SCCs; DPA 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
Content cached for replay
Subprocessor access
Not established
GDPR DPA
DPA available
Transfer mechanism
SCCs

Google Cloud Multi-region

Zero data retention is not on by default — abuse monitoring. No training on customer data. GLOBAL; SCCs; DPA 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
GDPR DPA
DPA available
Transfer mechanism
SCCs

Benchmarks

Independent benchmark scores — composite indices for reasoning, coding, and math, plus individual eval scores where available.

Global rank#74 of 630 LLMs
TierStrong
Output speed117 tok/s
First token20.28s
Intelligence Index36.7
Coding Index68.8
Reasoning & knowledge
GPQA Diamond
94%
Humanity's Last Exam
47%
Long-context reasoning
82%
Coding
SciCode
59%
Agentic & tool use
Terminal-Bench Hard
54%
τ²-Bench Telecom
96%
Math & instruction following
IFBench
77%

Get started

Call Gemini 3.1 Pro Preview through the Opper gateway with one API key. Let your coding agent set it up, or call it directly — Opper 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 Opper for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "gemini/gemini-3.1-pro-preview",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Compare Gemini 3.1 Pro Preview with…

Side-by-side on privacy, EU hosting, 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