google logo
google

Google: Gemini 3.1 Pro Preview (batch)

Source description (English)

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

Overview

Model specifications

Context
1,048,576 tokens
Maximum output
65,536 tokens
Architecture
text+image+file+audio+video->text
Tokenizer
Gemini
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$1
per 1M tokens
  • ≤200K$1
  • >200K$2
Output
$6
per 1M tokens
  • ≤200K$6
  • >200K$9
Image input
$1
per 1M tokens
Audio input
$1
per 1M tokens
  • ≤200K$1
  • >200K$2
Web search
$14
per 1,000 calls
API

Model configuration

Reasoning

Reasoning required
Yes
Default parameters
medium
Capabilities
high, medium, low
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

This submits an asynchronous batch using the base model ID. A job ID confirms submission, not completion.

API documentation

curl --fail-with-body https://openrouter.ai/api/beta/batches \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint":"/v1/chat/completions","model":"google/gemini-3.1-pro-preview","requests":[{"custom_id":"request-1","body":{"messages":[{"role":"user","content":"Hello!"}]}}]}'

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
Capabilities

InputOutput

Input
audiofileimagetextvideo
Output
text
Reasoning

No · high · medium · low

API

Supported API parameters

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p
Available providers

1 Provider

Checked: September 7, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Google

Not provided
Context
1.0M
Maximum output
66K
Input
$1
Output
$6
Cache read
Not provided
Cache write
Not provided
google

4 models

All models