← All models
Gemini 3.1 Pro Preview
google/
Google model · Served by Google · live on the gateway
Input / 1M
$2.00
Output / 1M
$12.00
Context
1M tokens
Max output
66K tokens
Input
Text, Image, Video, Audio, Pdf
Released
7mo ago
Pricing
Input tokens$2.00 per 1M
Output tokens$12.00 per 1M
Provider list priceExactly what your balance is debited; our fee is charged when you buy credits
About Gemini 3.1 Pro Preview
Reasoning-first Gemini preview for agentic coding and complex problem solving
VisionReasoningTools
What it supports
- Tool calling (function calling)
- JSON mode and structured output
- Image input (vision)
- Audio input
- Extended reasoning
- Streaming responses
- OpenAI SDK, Anthropic SDK and any OpenAI-compatible client
Make a request
curl https://rapidrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-pro-preview",
"messages": [{ "role": "user", "content": "Hello" }]
}'Frequently asked
How do I call Gemini 3.1 Pro Preview through an OpenAI-compatible API?
Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to google/gemini-3.1-pro-preview. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.
What is the context window of Gemini 3.1 Pro Preview?
Gemini 3.1 Pro Preview has a context window of 1,048,576 tokens on Rapid Router, and returns up to 65,536 output tokens per reply.
What can Gemini 3.1 Pro Preview do?
On Rapid Router, Gemini 3.1 Pro Preview supports tool calling, JSON mode, image input, audio input, extended reasoning.
More Gemini models
CodeGemma 7B$0.070/M in · $0.070/M outCodeGemma 7B (free)Free/M in · Free/M outGemini 3 Flash Preview$0.500/M in · $3.00/M outGemini 3.1 Flash Lite Preview$0.250/M in · $1.50/M outGemini 3.1 Flash Lite Preview$0.250/M in · $1.50/M outGemini 3.1 Pro Preview Custom Tools$2.00/M in · $12.00/M outEvery Google model, priced →