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 访问所有功能。

