Gemini 3.1 Pro Preview

google/gemini-3.1-pro-preview
FlagshipFeatured
VisionAudioToolsJSONReasoning
by Google · 2026-02-19

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...

ctx1.05M tokens
Max output65.5K
Inputaudio + file + image + text + video
Outputtext
p50 TTFT6.49 s
INPUT$2.00/ 1M tokens
OUTPUT$12.00/ 1M tokens
p50 TTFT6.49 s7d
p95 TTFT10.00 s7d
TRAFFIC3.6Mtokens / 7d

Google Gemini 3.1 Pro Preview is a flagship model from Google, offered in preview form. It is a multimodal model capable of processing text, image, video, audio, and file inputs. The model is…

What is Google Gemini 3.1 Pro Preview?

Who should use this model?

What are the key specifications?

How does it compare to other Gemini previews?

Code samples

Call from any SDK

OpenAI-compatible — keep the SDK you already use

  • OpenAI SDKhttps://api.orcarouter.ai/v1
  • Gemini SDKhttps://api.orcarouter.ai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key="$ORCAROUTER_API_KEY",
)

response = client.chat.completions.create(
    model="google/gemini-3.1-pro-preview",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Supported parameters

  • include_reasoning
  • max_tokens
  • reasoning
  • response_format
  • seed
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_p

Pricing

TierInput / 1M tokensOutput / 1M tokensCache read / 1MCache write / 1M
200K$2.00$12.00$0.200$0.375
$4.00$18.00$0.400$0.375
Tier selected by input token count of each request

Cost calculator

Tokens / month10MM
Input share70%%
Estimated / month $50.00 · With prompt caching $43.70

Estimate based on list price

Tiered pricing — this estimate uses base-tier rates.

Token & cost estimator

Input tokens: 20Cost per request: $0.006040

Estimate only — actual token counts depend on the provider's tokenizer.

Performance

p50 TTFT
6.49 s
Output speed
749 tok/s
p95 TTFT
10.00 s
Error rate
0%

Public benchmarks

55.5
AA Coding
Better than 75% of models compared
#25 of 106
57.2
AA Intelligence
Better than 80% of models compared
#21 of 110
GPQA Diamond
94.1
Humanity's Last Exam
44.7
IFBench
77.1
Long-Context Recall
72.7
SciCode
58.9
TerminalBench Hard
53.8
τ²-Bench
95.6
Source: artificialanalysis.ai

How it compares

Gemini 3.1 Pro PreviewGemini 3.1 Pro Preview Custom ToolsGemini 3 Flash PreviewGemini 3.5 Flash
Input $/M$2.00$4.00$0.50$1.50
Output $/M$12.00$18.00$3.00$9.00
Context1.0M1.0M1.0M1.0M
Quality10/1010/109/109/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What is the cost of using Gemini 3.1 Pro Preview on OrcaRouter?
Pricing details are not provided in the available facts. As a flagship model, it is typically priced higher per token than smaller models. Costs depend on input and output token usage. Check OrcaRouter’s current pricing page for exact rates.
How large is the context window?
The model supports a context window of 1,048,576 tokens (input). This means you can submit very long documents, code, or conversation history in a single request. The maximum output is 65,536 tokens.
What are the main strengths of this model?
Its main strengths include a massive context window (1M tokens), high output limit (65K tokens), multimodal input (audio, file, image, text, video), and a strong τ²-Bench score of 95.6, indicating high accuracy on agentic tasks.
How does Gemini 3.1 Pro Preview compare to Gemini 2.0 models?
It offers a much larger context window (1M vs. up to 32K) and higher output limit (65K vs. 8K). It also supports more input modalities. However, it is a preview version and may have less stability than Gemini 2.0 stable releases.
Does OrcaRouter handle data privacy for requests?
Data handling policies are not specified in the provided facts. Users should review OrcaRouter’s data processing and privacy documentation to understand how input and output data are treated.
How do I call this model via an OpenAI-compatible API?
Use the base URL https://api.orcarouter.ai/v1 and set the model ID to "google/gemini-3.1-pro-preview". The API follows the standard OpenAI chat completions format. Authentication requires an API key from OrcaRouter.
What is the τ²-Bench score and why does it matter?
The model scored 95.6 on τ²-Bench, a benchmark that measures task completion performance. This quantitative metric reflects the model’s ability to handle complex, multi-step tasks accurately.
Can I use this model for production?
As a preview model, it is intended for testing and experimentation. It may have lower rate limits, less reliability, and ongoing changes. For production, consider using a stable, non-preview model.
What input modalities are supported?
The model supports audio, file (e.g., PDFs, code files), image, text, and video inputs. All can be included in a single request for cross-modal reasoning.
Is the model available for streaming responses?
The available facts do not specify streaming support. OrcaRouter’s API likely supports streaming for compatible models, but for this preview, check the documentation for stream parameter availability.

Embed this badge

Google: Gemini 3.1 Pro Preview$2.00/M in6488ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/google/gemini-3.1-pro-preview" target="_blank"> <img src="https://www.orcarouter.ai/embed/google/gemini-3.1-pro-preview.svg" alt="Google: Gemini 3.1 Pro Preview on OrcaRouter" /> </a>
Markdown [![Google: Gemini 3.1 Pro Preview](https://www.orcarouter.ai/embed/google/gemini-3.1-pro-preview.svg)](https://www.orcarouter.ai/models/google/gemini-3.1-pro-preview)

Model card as data

GET /api/public/models/google/gemini-3.1-pro-previewOpen
Machine-readable:/llms.txt/llms-full.txt