Atlas / Models / Google / Google: Gemini 3.1 Pro Preview

Google: Gemini 3.1 Pro Preview✓ Catalog verified

google/gemini-3.1-pro-preview

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation of the Gemini 3 series, it combines high-precision reasoning across text, image, video, audio, and code with a 1M-token context window. Reasoning Details must be preserved when using multi-turn tool calling, see our docs here: https://openrouter.ai/docs/use-cases/reasoning-tokens#preserving-reasoning. The 3.1 update introduces measurable gains in SWE benchmarks and real-world coding environments, along with stronger autonomous task execution in structured domains such as finance and spreadsheet-based workflows. Designed for advanced development and agentic systems, Gemini 3.1 Pro Preview improves long-horizon stability and tool orchestration while increasing token efficiency. It introduces a new medium thinking level to better balance cost, speed, and performance. The model excels in agentic coding, structured planning, multimodal analysis, and workflow automation, making it well-suited for autonomous agents, financial modeling, spreadsheet automation, and high-context enterprise tasks.

Input price
$2.00 /1M
Output price
$12.00 /1M
Context
1.0M
Modalities
audiofileimagetext
Released
Feb 19, 2026
Tool calling
✓ Yes
Atlas signal
94/100
01

Overview

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation of the Gemini 3 series, it combines high-precision reasoning across text, image, video, audio, and code with a 1M-token context window. Reasoning Details must be preserved when using multi-turn tool calling, see our docs here: https://openrouter.ai/docs/use-cases/reasoning-tokens#preserving-reasoning. The 3.1 update introduces measurable gains in SWE benchmarks and real-world coding environments, along with stronger autonomous task execution in structured domains such as finance and spreadsheet-based workflows. Designed for advanced development and agentic systems, Gemini 3.1 Pro Preview improves long-horizon stability and tool orchestration while increasing token efficiency. It introduces a new medium thinking level to better balance cost, speed, and performance. The model excels in agentic coding, structured planning, multimodal analysis, and workflow automation, making it well-suited for autonomous agents, financial modeling, spreadsheet automation, and high-context enterprise tasks.

Access: available through the official Google API. Context window: 1.0M.

Pricing and metadata from the ModelsAtlas catalog.Last refreshed Aug 5, 2026
02

Specifications

API identifiergoogle/gemini-3.1-pro-preview
ProviderGoogle
Model typeMultimodal LLM
Context window1.0M catalog
Input modalitiesaudio · file · image · text · video
Output modalitiestext
ReleasedFeb 19, 2026
TokenizerGemini
ModeratedNo
Architecture modalitytext+image+file+audio+video->text
Supported parameters
include_reasoningmax_tokensreasoningresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p
Source: provider documentation + catalog feedMethodology →

API defaults

Default parameters
{
  "top_p": null,
  "temperature": null,
  "frequency_penalty": null
}
03

Pricing

Live pricing components for google/gemini-3.1-pro-preview as published in the catalog.

$2.00
Input /1M
$12.00
Output /1M
Per request
$0.000002
Per image
Pricing componentRaw unit priceNormalizedUnit
Prompt tokens$0.000002$2.00 / 1MPer input token
Completion tokens$0.000012$12.00 / 1MPer output token
Request feeN/AN/APer request
Image fee$0.000002$0.000002Per image unit
Web search feeN/AN/APer search request
Source: catalog pricing feedCompare all pricing →Cheapest models →
04

Cost calculator

Estimate monthly spend from your own token volumes.

Scale / Volume

Estimated Total Cost

$3.4Calculated from current list pricing in the ModelsAtlas catalog.
05

Capabilities

CapabilityStatusWhat it means
Visual Understanding✓ SupportedImage and document analysis support
Audio Processing✓ SupportedSpeech and voice aligned flows
Tool Calling✓ SupportedSupports tools / function calling
Self-HostingNot advertisedDeploy outside managed APIs
Derived from catalog capability tags and supported parameters
06

Capability signals

Directional signals derived from model metadata and capability tags — not official benchmark submissions.

Google: Gemini 3.1 Pro Preview
MMLU Signal (Reasoning)
97signal
Coding Signal (HumanEval proxy)
97signal
Math Signal (GSM8K proxy)
87signal
Science Signal (GPQA proxy)
95signal
Estimated from metadata — not an official benchmark runAll benchmarks →Methodology →
07

Quick start

Call Google: Gemini 3.1 Pro Preview through an OpenAI-compatible client.

from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="google/gemini-3.1-pro-preview",
    messages=[{"role": "user", "content": "Explain quantum physics."}]
)

print(response.choices[0].message.content)
08

Alternatives

Closest models by context window from a different provider.

09

Sources & attribution

Pricing and metadata are maintained in the ModelsAtlas catalog.

Capability bars use metadata tags — directional estimates onlyHow we source and verify data →
10

Frequently asked questions

How much does Google: Gemini 3.1 Pro Preview cost?

$2.00 per 1M input tokens and $12.00 per 1M output tokens on the official Google API.

What is the context window of Google: Gemini 3.1 Pro Preview?

Google: Gemini 3.1 Pro Preview supports up to 1.0M tokens of context.

Does Google: Gemini 3.1 Pro Preview support tool / function calling?

Yes, Google: Gemini 3.1 Pro Preview supports tool / function calling — you can register tools and the model will emit structured tool calls.

How do I access Google: Gemini 3.1 Pro Preview?

Use the official Google API with the model id `google/gemini-3.1-pro-preview`. See the Quick start section above for code examples.