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

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.