Gemini 3.1 Pro Preview

Googlegoogle/gemini-3.1-pro-preview
Modality

Chat

Family

Gemini

Context window

—

Max output

—

Served On

Google Vertex AI

Gemini 3.1 Pro Preview is a chat model made by Google, served on nRouter.

Model pricing

Exact provider list price · 0% platform fee · x-nr-request-cost header

Rates are read live

Pricing for google/gemini-3.1-pro-preview is fetched from the live catalogue on load, so it is never served from a cache that could outlive a repricing.

Start building with google/gemini-3.1-pro-preview

One API key, three steps. Choose your tool to begin.

  1. Set your API key

    export NROUTER_API_KEY="<YOUR_API_KEY>"
  2. Configure Claude Code

    Choose a tool, then copy its setup from the panel.

npm install -g @anthropic-ai/claude-code
Claude Code · google/gemini-3.1-pro-preview
# Point Claude Code to nRouter gateway
export ANTHROPIC_BASE_URL="https://api.nrouter.ai"
export ANTHROPIC_API_KEY="$NROUTER_API_KEY"

# Launch with google/gemini-3.1-pro-preview
claude --model google/gemini-3.1-pro-preview

Specifications & capabilities

VisionFunction callingSystem prompt
Compare context window against peer models (—)

Context window, ranked against other chat models

Proportional scale: 0 to 272K tokens. Not ranked, no published context window: alibaba/qwen-mt-flash, alibaba/qwen3.7-flash, google/gemini-4-neon.

Benchmarks & performance rankings

Published LLM Arena category placements and Elo ratings for Gemini 3.1 Pro Preview.

LLM Arena category ratings
Overall#22

1480Elo

Coding#56

1483Elo

WebDev#90

1446Elo

Math#30

1485Elo

Creative Writing#18

1483Elo

Hard Prompts#33

1485Elo

Instruction Following#42

1465Elo

Multi-Turn#21

1486Elo

Longer Query#29

1482Elo

Non-English#20

1476Elo

Vision#22

1296Elo

Document#31

1443Elo

Source: huggingface.co · CC-BY-4.0

Availability

Collecting probe samples

Not enough health probe samples collected yet to publish an uptime or latency figure.

More from Google

FAQs

What is Gemini 3.1 Pro Preview?

Gemini 3.1 Pro Preview is a chat model made by Google, served on nRouter.

How much does Gemini 3.1 Pro Preview cost?

Gemini 3.1 Pro Preview is billed at the provider's list price on nRouter with no per-token markup — tokens settle at the exact upstream rate. Input and output rates are read live, so see the pricing section above for the current figures.

Does Gemini 3.1 Pro Preview support tool calling and structured outputs?

No. Gemini 3.1 Pro Preview does not support tool calling, so it cannot invoke external tools or functions.

What inputs and outputs does Gemini 3.1 Pro Preview support?

Gemini 3.1 Pro Preview takes text as input and returns text as output.

How do I use Gemini 3.1 Pro Preview via nRouter?

Use any OpenAI-compatible client: point it at https://api.nrouter.ai/v1 with your nRouter API key and set the model to "google/gemini-3.1-pro-preview". The quick-start panel above has a copy-paste curl command for this model.

Where is the Gemini 3.1 Pro Preview documentation?

Start at nrouter.ai/docs. The quick-start guide (nrouter.ai/docs/getting-started/quick-start) covers API keys and your first request, and the API reference (nrouter.ai/docs/api-reference) lists every parameter.

What other text models does Google have?

Other Google text models on nRouter include Gemini 4 Neon (nrouter.ai/models/google-gemini-4-neon), Gemini 4 Hydrogen (nrouter.ai/models/google-gemini-4-hydrogen), Gemini 4 Carbon (nrouter.ai/models/google-gemini-4-carbon), Gemini 3.5 Flash Lite (nrouter.ai/models/google-gemini-3.5-flash-lite).