google/gemini-3.1-pro-preview
Google GA 旗舰模型。18 项评测中 12 项排名第一,推理能力比 Gemini 3 Pro 提升 2 倍以上。100 万 token 上下文,编码、数学、多模态均强。适合复杂推理、高级代码流水线和研究级任务。
来源: gemini_x0.5 · 核验于 2026-06-05
缓存读 $0.1/M · 缓存写 —/M
| 档位 | 输入 | 缓存读 | 缓存写 | 输出 |
|---|---|---|---|---|
| Standard ≤200K | $1 | $0.1 | — | $6 |
| Standard >200K | $2 | $0.2 | — | $9 |
API 调用时用任一 ID 都可以。
google/gemini-3.1-pro-preview把 ONEHOP_KEY 占位符替换为你的 API Key。 创建 →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="google/gemini-3.1-pro-preview",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)最近 30 天 92 次请求