Gemini 3.1 Pro Preview

Google audiochatreasoningtool_usevideovision Long

API ID: google/gemini-3.1-pro-preview-20260219

Input Price
$2.00
/1M tokens
Output Price
$12.00
/1M tokens
Cached Input
$0.20
Save 90%

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

💰
Price Ranking
#44 lowest price among 47 Audio models

Model Specifications

Context Length
1.0M
Max Output
66k
Release Date
2026-02-19
Capabilities
audio chat reasoning tool_use video vision
Input Modalities
audiofileimagetextvideo
Output Modalities
text

Best For

  • Complex reasoning, math problems, multi-step logic
  • Image analysis, document understanding, visual Q&A
  • Conversations, content writing, general assistance

Consider Alternatives For

  • Simple Q&A (cheaper models available)

💰 Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$4.50
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$138.00
/month
1000 tickets/day, ~800 tokens each
Data Analysis Pipeline
$189.00
/month
500 analyses/day, ~2k tokens each

Google Model Lineup

Compare all models from Google to find the best fit

Model Input Output Context Capabilities
Gemini 3.1 Pro Preview Current Free Free 1.0M audio chat reasoning tool_use video vision
Gemma 3n 4B Free Free 33k chat
Gemini 2.5 Flash Image Preview (Nano Banana) Free Free 33k chat vision image_gen
Gemma 3n 2B (free) Free Free 8k chat tool_use
Gemma 1 2B Free Free 8k chat
Gemma 1 2B Free Free 8k chat

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

OpenAI GPT-4o Audio
Input: $2.50
Output: $10.00
Context: 128k
OpenAI GPT Audio
Input: $2.50
Output: $10.00
Context: 128k
Meta Muse Spark 1.2
Input: $1.25
Output: $4.25
Context: 1.0M
Meta Muse Spark 1.1
Input: $1.25
Output: $4.25
Context: 1.0M

🚀 Quick Start

Get started with Gemini 3.1 Pro Preview API

Google AI Python SDK
import google.generativeai as genai

genai.configure(api_key="YOUR_API_KEY")
model = genai.GenerativeModel("gemini-3.1-pro-preview-20260219")

response = model.generate_content("Hello!")
print(response.text)