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…
Model by Google
Install
Pick your client. Read the repository before you give any tool access to your data.
{
"model": "google/gemini-3.1-pro-preview",
"baseURL": "https://openrouter.ai/api/v1"
}OpenAI-compatible API: point any OpenAI SDK at the base URL and use this model id.
Settings it needs
OPENROUTER_API_KEYrequiredsecret
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: code-generation, model-inference
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Price and limits
| Variant | Input $/M tokens | Output $/M tokens | Cached input $/M |
|---|---|---|---|
| Standard | $2 | $12 | $0.2 |
Batch API google/gemini-3.1-pro-preview:batch | $1 | $6 | — |
Price as of Oct 26, 2026 from OpenRouter · provider's own prices: ai.google.dev. Prices change often; check before you rely on one.
- Provider
- Model id
google/gemini-3.1-pro-preview- Context window
- 1,048,576 tokens (1M)
- Max output
- 65,536 tokens
- Input
- audio, file, image, text, video
- Output
- text
- Tool calling
- Yes
- Structured outputs
- Yes
- Reasoning
- Yes
- Weights
- Closed
- Released
- Feb 19, 2026
Details
- Auth
- API key
- License
- Proprietary
- Website
- ai.google.dev
- First seen
- Oct 24, 2026
- Last checked
- Oct 26, 2026
- Source
- OpenRouter
More from Google
- 0.950score

Gemini CLI Companion
Google
Enable Gemini CLI with direct access to your IDE workspace.
PluginAFreshness: A★ 107.7KVS Code +3 - 0.799score
Genkit
Google
Open-source Firebase framework for AI features and agent workflows in JavaScript, Go, Python and Dart, with model plugins.
HarnessAFreshness: A★ 6.5K↓ 95.8K/wk - 0.791score
ADK for Go
Google
Code-first Go toolkit for building agents with a tool ecosystem, composable multi-agent systems and Cloud Run deployment.
HarnessAFreshness: A★ 8.9K - 0.777score
ADK for TypeScript
Google
TypeScript toolkit for agents with Zod-typed tools, graph and multi-agent workflows, and Node.js or browser runtimes.
HarnessAFreshness: A★ 1.4K↓ 143.5K/wk - 0.734score
Google Agent Development Kit (ADK)
Google
Open-source toolkit for building, evaluating and deploying agents in Python, TypeScript, Go, Java and Kotlin, tuned for Gemini but model-agnostic.
HarnessAFreshness: A★ 22K↓ 2.4M/wk - 0.729score
Gemini CLI
Google
Open-source terminal agent that queries and edits codebases and automates tasks with Gemini models
AgentAFreshness: A★ 107.7K↓ 231.3K/wk
Cite this page
Gemini 3.1 Pro Preview: price, context window, tool use. Agent Mart. https://agentmart.dev/models/google-gemini-3-1-pro-preview (last updated 2026-10-26)