Available now
Google
gemini-3.1-pro-preview
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...
TextReasoningToolsFilesVisionAudio1MVideoCacheWebSearch
Input$0.32/ 1M
Output$1.92/ 1M
Endpointsopenai, gemini
Capabilities
ReasoningToolsVisionAudio inVideoFilesCacheStructuredWeb searchService tierURL contextStreamingSystem msg
Modalities
Input
audiofileimagetextvideo
Output
text
Quick stats
Context window1M
Max output65.5K
Modechat
TokenizerGemini
Performance
Loading performance data...
Supported parameters
| Parameter | Always | Default |
|---|---|---|
| frequency_penalty | — | (do not send) |
| include_reasoning | — | |
| max_tokens | — | |
| presence_penalty | — | (do not send) |
| reasoning | — | |
| repetition_penalty | — | (do not send) |
| response_format | — | |
| seed | — | |
| stop | — | |
| structured_outputs | — | |
| temperature | (do not send) | |
| tool_choice | — | |
| tools | — | |
| top_k | — | (do not send) |
| top_p | (do not send) |
§ 01
Pricing
| Input price | $0.32 · 1M tokens |
| Output price | $1.92 · 1M tokens |
| Compatible endpoints | openai, gemini |
| Vendor |
§ 02
Call gemini-3.1-pro-preview from your code
Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.
bash
curl https://api.unorouter.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-pro-preview",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
Frequently asked questions
How much does gemini-3.1-pro-preview cost per 1M tokens?
Input is priced at $0.32 per 1M tokens, output at $1.92 per 1M tokens. Billing is per token, no rounding to batch sizes.
How do I access gemini-3.1-pro-preview via API?
Send requests to the UnoRouter /v1/chat/completions endpoint with model=gemini-3.1-pro-preview. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.
§ 04
Similar models
Try gemini-3.1-pro-preview now
Create an API key and start making requests in under a minute.