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

技术顾问

扫码添加技术顾问

技术顾问