Gemini 3.1 Pro (preview)
Availablegoogle/gemini-3.1-proGoogle's Pro model, with a higher price above 200K prompt tokens.
- Chat
- 1.05M context
- 66K max output
- Vision
- Tools
Pricing
- Input
- $2 / 1M tokens
- Output
- $12 / 1M tokens
- Cached input
- $0.20 / 1M tokens
- Input, prompts over 200K
- $4 / 1M tokens
- Output, prompts over 200K
- $18 / 1M tokens
Once a prompt reaches 200,000 tokens, the whole request is billed at the long-prompt rate.
What it costs
A typical request: 2,000 tokens in, 500 out$0.01
1,000 of those requests$10.00
Performance on SparrowCodes
Measured from real requests over the last 7 days.
No traffic yet. Speed, latency and success rate appear here once this model has served requests on SparrowCodes; we don't show estimates.
Official benchmarks
Scores published by the model's maker, under their test conditions.
The maker hasn't published benchmark scores we could verify for this model.
Specifications
- Type
- Chat
- Served by
- Context window
- 1,048,576 tokens
- Maximum output
- 65,536 tokens
- Input types
- Text, Image
- Tool calling
- Supported
Use it
curl https://api.sparrowcodes.com/v1/chat/completions \
-H "Authorization: Bearer $SPARROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-pro",
"messages": [{"role": "user", "content": "Explain rate limiting in one paragraph."}]
}'Set "model" to google/gemini-3.1-pro. The response includes its exact cost.