Google: Gemini 3.1 Pro Preview

google/gemini-3.1-pro-previewGoogle GeminiActive router
Get API key

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

Published all-in NGN rates reflect upstream inference, multi-provider routing, and platform settlement. Accessible via /v1/chat/completions, /v1/messages, and /v1/responses.

Context window
1.05Mtokens
1,048,576 max buffer
Max output
65.5Ktokens
65,536 completion limit
Input rate
₦3,312.11per 1M
Standard prompt rate
Output rate
₦19,872.61per 1M
Billed in integer kobo

Providers & routing

SwitchRouter unifies multiple cloud hosts for this model. Requests route to the primary host and automatically fail over if it degrades.

1 active deployment
ProviderRouting roleInput / 1MOutput / 1MLatency (P50)Status
OpenRouterPrimary route₦3,312.11₦19,872.61No dataOperational
Cost estimatorNaira wallet
₦728.66100K in · 20K out
Input
₦331.21
Output
₦397.45
Runs per ₦2,000 top-up
2
Quickstart
bash
curl https://api.switchrouter.dev/v1/chat/completions \
  -H "Authorization: Bearer $SWITCHROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-pro-preview",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
Availability & Telemetry
No dataawaiting traffic
Measured uptime (30d)
No data
P50 request latency
No data
Recorded requests
No samples
Failover strategy
Single upstream
Capabilities
3 / 4supported
Streaming
Supported
Tool calling
Supported
Structured output
Supported
Image / Vision
Not listed
Modalities & Protocol
Text onlytext
Accepts
text
Returns
text
Settlement
Naira wallet (kobo)
Protocol
/v1/chat/completions

Start building with SwitchRouter.

Connect your app or coding agent in seconds. Route across frontier models through one endpoint — then launch your app and start building what's next.

Start building
Google: Gemini 3.1 Pro Preview — SwitchRouter · SwitchRouter