Gemini 3.1 Pro Preview

by Google

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
  • US residency available
  • Zero data retention via Enterprise
  • No training by default
  • GDPR DPA available

Available routes

Gemini 3.1 Pro Preview runs on 2 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
GeminiUSEnterpriseNo$2.00$12.00
Google CloudUSEnterpriseNo$2.00$12.00

Training posture across routes: No training on prompts by default.

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.

Gemini β€” United StatesπŸ‡ΊπŸ‡Έ

Zero data retention is available via Opper Enterprise contract. No training on customer data. US; SCCs; DPA available.

Zero data retention
Available via Opper Enterprise contract.
Training
No training on customer data.
Logging
Abuse monitoring
Third-party access
None disclosed
GDPR DPA
DPA available
Transfer mechanism
SCCs

Google Cloud β€” United StatesπŸ‡ΊπŸ‡Έ

Zero data retention is available via Opper Enterprise contract. No training on customer data. US; SCCs; DPA available.

Zero data retention
Available via Opper Enterprise contract.
Training
No training on customer data.
Logging
Abuse monitoring
Third-party access
None disclosed
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#11 of 531 LLMs
TierStrong
Output speed132 tok/s
First token29.49s
Intelligence Index46.5
Coding Index68.8
Reasoning & knowledge
GPQA Diamond
94%
Humanity's Last Exam
45%
Long-context reasoning
73%
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 your coding agent β€” Claude Code, Cursor, Codex, and more β€” 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 300+ models

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

Get startedView Documentation
Gemini 3.1 Pro Preview by Google β€” pricing, benchmarks | Opper AI