Gemini 3.1 Pro is the next generation in the Gemini series of models, a suite of highly-capable, natively multimodal, reasoning models. Gemini 3 Pro is now Google’s most advanced model for complex tasks, and can comprehend vast datasets, challenging problems from different information sources, including text, audio, images, video, and entire code repositories
1M 上下文視窗
66K 最大輸出 token
發布日期: 2026-02-19
支援的協定:openaigemini
可用供應商:Vertex
能力:視覺函式呼叫推理提示快取網路搜尋音訊輸入影片輸入PDF 輸入
定價
| 類型 | 價格 |
|---|---|
| 輸入 Token | $2/M |
| 輸出 Token | $12/M |
| 音訊輸入 | $2/M |
| 快取讀取 | $0.2/M |
| 快取寫入 | $4.5/M |
| 快取音訊 | $0.2/M |
| 網路搜尋 | $0.014/R |
程式碼範例
from google import genaiclient = genai.Client(api_key="YOUR_OFOX_API_KEY",http_options={"api_version": "v1beta", "url": "https://api.ofox.ai/gemini"},)response = client.models.generate_content(model="google/gemini-3.1-pro-preview",contents="Hello!",)print(response.text)
相關模型
常見問題
Google: Gemini 3.1 Pro Preview 在 Ofox.ai 上的價格為輸入 $2/M/百萬 Token,輸出 $12/M/百萬 Token。按量計費,無月費。
Google: Gemini 3.1 Pro Preview 支援 1M Token 的上下文視窗,最大輸出 66K Token,可處理大型文件並維持長對話。
只需將 base URL 設定為 https://api.ofox.ai/v1,並使用你的 Ofox API Key。API 相容 OpenAI 格式——只需更改 base URL 和 API Key 即可。
Google: Gemini 3.1 Pro Preview 支援以下能力:視覺, 函式呼叫, 推理, 提示快取, 網路搜尋, 音訊輸入, 影片輸入, PDF 輸入。透過 Ofox.ai 統一 API 存取所有功能。

