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.

Call Gemini 3.1 Pro Preview on Opper with the OpenAI SDK. Sign up without a credit card. Get started

Key info

Input
Output
Features
Context window
1M
Max output
66K
Input price
$2.00 /1M$0.20 cache read
Output price
$12.00 /1M
Released
  • US residency available
  • Zero data retention with abuse monitoring
  • Zero data retention on Enterprise
  • 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, zero data retention and training posture at a glance, with full data-handling detail per route below. Zero data retention on Google Cloud is available on Enterprise.

ProviderRegionZero data retentionTrainingInputOutputCache read
USNo$2.00$12.00$0.20
MultiNo$2.00$12.00$0.20
MultiNo$2.00$12.00$0.20

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.40%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 with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. US; SCCs; DPA available.

Zero data retention
With abuse monitoring, window not stated.
Training
No training on customer data.
Logging
Abuse monitoring
Abuse monitoring
On by default, holds flagged content, 55 days, a person can view samples
GDPR DPA
DPA available
Transfer mechanism
SCCs

Google Cloud — Multi-region

Zero data retention: nothing is logged, held for abuse monitoring or used for training. Available under a signed Enterprise agreement. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
Yes, on Enterprise. Nothing is logged, held for abuse monitoring or used for training.
Plan
Signed Enterprise agreement
Training
No training on customer data.
Logging
None
Abuse monitoring
On by default, keeps nothing
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

Google Cloud — Multi-region

Zero data retention with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
With abuse monitoring, window not stated.
Training
No training on customer data.
Logging
Abuse monitoring
Abuse monitoring
On by default, holds flagged content, 90 days, a person can view samples
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#101 of 665 LLMs
TierEfficient
Output speed135 tok/s
First token18.48s
Intelligence Index29.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. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Gemini 3.1 Pro Preview is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

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-3.1-pro-preview",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Use Gemini 3.1 Pro Preview in your apps

Pick your tool to see how to run it on Gemini 3.1 Pro Preview through Opper.

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