現已上線
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
輸入$0.60/ 1M
輸出$3.60/ 1M
端點gemini, openai
能力
推理工具視覺音訊輸入影片檔案快取結構化網路搜尋服務級別URL上下文串流系統訊息
模態
輸入
audiofileimagetextvideo
輸出
text
快速統計
上下文視窗1M
最大輸出65.5K
模式chat
分詞器Gemini
效能
正在載入效能資料...
支援的參數
| 參數 | 始終 | 預設值 |
|---|---|---|
| frequency_penalty | - | (不傳送) |
| include_reasoning | - | |
| max_tokens | - | |
| presence_penalty | - | (不傳送) |
| reasoning | - | |
| repetition_penalty | - | (不傳送) |
| response_format | - | |
| seed | - | |
| stop | - | |
| structured_outputs | - | |
| temperature | (不傳送) | |
| tool_choice | - | |
| tools | - | |
| top_k | - | (不傳送) |
| top_p | (不傳送) |
§ 01
價格
| 輸入價格 | $0.60/每百萬 tokens |
| 輸出價格 | $3.60/每百萬 tokens |
| 相容端點 | gemini, openai |
| 供應商 |
§ 02
從您的程式碼呼叫 gemini-3.1-pro-preview
將任何 OpenAI 相容 SDK 指向 UnoRouter,並以名稱請求模型。請將 YOUR_API_KEY 換成您儀表板上的真實金鑰。
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
常見問題
gemini-3.1-pro-preview 每百萬 tokens 的費用是多少?
輸入每百萬 tokens 定價 $0.60,輸出每百萬 tokens 定價 $3.60。計費以 token 為單位,不會湊整到批次大小。
我要如何透過 API 使用 gemini-3.1-pro-preview?
將請求送至 UnoRouter 的 /v1/chat/completions 端點,並將 model 設為 gemini-3.1-pro-preview。任何 OpenAI 相容的用戶端程式庫都可使用。驗證採用標準 Bearer token。
§ 04