Gemini

Google: Gemini 3.1 Pro Preview

Chat
google/gemini-3.1-pro-preview

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
支援的協定:OpenAIopenaiGeminigemini
可用供應商:GoogleCloudVertex
能力:視覺函式呼叫推理提示快取網路搜尋音訊輸入影片輸入PDF 輸入

定價

類型價格
輸入 Token$2/M
輸出 Token$12/M
音訊輸入$2/M
快取讀取$0.2/M
快取寫入$4.5/M
快取音訊$0.2/M
網路搜尋$0.014/R

程式碼範例

from google import genai
client = 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。按量計費,無月費。

微信社群

掃碼加入開發者交流群

微信社群

Discord

加入 Discord 社群

Discord

技術顧問

掃碼新增技術顧問

技術顧問