Skip to content
Not available in this workspace
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Support
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for google

Google: Gemini 3.1 Pro Preview

google/gemini-3.1-pro-preview

Compare

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(opens in new tab). 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.

Modalities

In / Out Price

$2 / $12per 1M

Context

1M

Released

Feb 19, 2026

Compare
ProvidersPricingPerformanceUptimeBenchmarksAppsActivityFAQ

Providers

Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick — Balanced (price + speed), Nitro (fastest), or Exacto (highest tool-calling accuracy).

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows where this model lands among all models on OpenRouter.

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

Activity

Token volume and request traffic to this model over time.

Quick Start

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

About Google: Gemini 3.1 Pro Preview

OpenRouter makes Google: Gemini 3.1 Pro Preview available through a unified, OpenAI-compatible API using the model ID google/gemini-3.1-pro-preview. Requests can be routed across 2 providers, including Google Vertex and Google AI Studio, with automatic failover when an endpoint is unavailable.

Google: Gemini 3.1 Pro Preview accepts audio, files such as PDFs, images, text and video and returns text. It has a 1,048,576-token context window and a maximum output of 65,536 tokens.

On OpenRouter, Google: Gemini 3.1 Pro Preview costs $2.00/M input tokens and $12.00/M output tokens, with separate rates for Cache Read at $0.20/M tokens, Cache Write at $0.375/M tokens, Image Input at $2.00/M tokens, Input Audio at $2.00/M tokens, Input Audio Cache at $0.20/M tokens and Web Search at $14.00/1K calls. Effective pricing can be lower when prompt caching applies. It was released on February 19, 2026.

More models from Google

  • Gemini 3.7 Flash
  • Gemini 3.6 Flash
  • Gemini 3.5 Flash Lite

Frequently asked questions

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.

Gemini 3.1 Pro Preview costs $2.00/M input tokens and $12.00/M output tokens, with separate rates for Cache Read at $0.20/M tokens, Cache Write at $0.375/M tokens, Image Input at $2.00/M tokens, Input Audio at $2.00/M tokens, Input Audio Cache at $0.20/M tokens and Web Search at $14.00/1K calls.

Gemini 3.1 Pro Preview has a 1,048,576 token context window. It supports up to 65,536 completion tokens.

Yes. Gemini 3.1 Pro Preview accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.

Gemini 3.1 Pro Preview accepts audio, files such as PDFs, images, text and video as input and returns text.

Gemini 3.1 Pro Preview is served by 2 providers on OpenRouter: Google Vertex and Google AI Studio. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.

Gemini 3.1 Pro Preview was released on February 19, 2026.

$2.00$12.00$0.20$0.204.51s108 tps
99.56%
$2.00$12.00$0.20$0.203.11s90 tps
85.95%

Throughput

108tok/s

P50, best across providers

Latency

3.11s

P50, best provider

AutoExacto Benchmarks
GPQA DiamondTAU-Bench
Google AI Studio
94.3%74.7%
Google Vertex
--78.0%
auto-routing
--73.3%
Uptime (3d)

100.00%

Availability (3d)

99.77%

Availability over the last 3 days

Last 72 hours
Availability 99.77%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.74%
Without Routing
94.75%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and customization options.

1.
Favicon for https://nousresearch.com
Hermes Agent
Hermes Agent is an open-source, self-improving AI agent by Nous Research that runs persistently with memory across sessions, and builds reusable skills from experience. It comes with 40+ built-in tools, including web search, browser automation, and vision, plus scheduled automations and subagents.
24Btokens
2.
Favicon for https://claude.ai/apple-touch-icon.png
Claude Code
Claude Code is Anthropic's agentic coding tool that reads your entire codebase, plans and executes changes across files, runs tests, and iterates on failures, all from natural language prompts.
19.6Btokens
3.
Favicon for https://sillytavern.app/
SillyTavern
SillyTavern is the LLM frontend for power users, a chat interface that connects to any model and gives deep control through character creation, roleplay, and prompt customization.
13.3Btokens
4.
Favicon for https://janitorai.com/
Janitor AI
Janitor AI is a chatbot platform where users create and chat with custom AI characters for interactive roleplay, storytelling, and immersive fiction.
12.3Btokens
5.
Favicon for https://www.site123.com/
SITE123
new
10.1Btokens