Published capabilities
- Vision
- Tool calling
- Streaming
- Structured
- Reasoning
Model ID : gemini-3.1-pro-preview
Model ID
gemini-3.1-pro-preview
Context window
1,048,576 tokens
Maximum output
65,536 tokens
Input / 1M tokens
4.00 USD
Output / 1M tokens
18.00 USD
Cache read / 1M tokens
$0.40
Cache write / 1M tokens
$0.40
Cache reads reuse stored tokens; cache writes create the provider cache.
Authorized plans : bronze, gold, silver, pro, business
This model is also available with credits without a subscription.
curl https://api.routerlab.ch/v1/chat/completions \
-H "Authorization: Bearer $ROUTERLAB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-3.1-pro-preview","max_tokens":128,"messages":[{"role":"user","content":"Hello RouterLab"}]}'Related models