6月 🎉 GPT 85 折 🎉 直降 15% 全系列生效 🔥查看详情
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
最大输出 Token
66K
发布日期
2026-02-19
能力
视觉函数调用推理提示缓存网络搜索音频输入视频输入PDF 输入
可用供应商
GoogleCloudVertex
支持的协议
OpenAIopenaiGeminigemini

供应商

GoogleCloudVertex
输入 Token
$2/M
输出 Token
$12/M
缓存读取
$0.2/M
缓存写入
$4.5/M
音频输入
$2/M
缓存音频
$0.2/M
网络搜索
$0.014/R
接入协议
OpenAIopenai/v1/chat/completions
Geminigemini

代码示例

from google import genai
client = genai.Client(
api_key="YOUR_OFOX_API_KEY",
http_options={"api_version": "v1beta", "base_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。按量计费,无月费。