品牌
Gemini
模型详情
通过无限星河AI(Infistar)调用 Gemini 的 gemini-3.1-pro-preview:查看精确模型 ID、兼容端点(openai · openai-response · anthropic · gemini)、透明人民币价格与快速接入示例。
精确模型 IDgemini-3.1-pro-preview
Gemini
openai · openai-response · anthropic · gemini
text
按实际 Token 用量结算
输入 ¥6.4504 / 输出 ¥38.7024(每百万 tokens),缓存读取 ¥0.6451
官方价:输入 ¥13.3627 / 输出 ¥80.1761
较官方参考价最高省 51%(不高于官方价)
使用统一 API Key 通过 POST /v1/chat/completions 调用 gemini-3.1-pro-preview:
curl https://infistar.cc/v1/chat/completions \
-H "Authorization: Bearer $INFISTAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-3.1-pro-preview","messages":[{"role":"user","content":"Hello"}]}'from openai import OpenAI
client = OpenAI(api_key="YOUR_INFISTAR_KEY", base_url="https://infistar.cc/v1")
res = client.chat.completions.create(model="gemini-3.1-pro-preview", messages=[{"role": "user", "content": "Hello"}])
print(res.choices[0].message.content)模型和价格可能调整。请登录账户确认可用模型,并在调用前查看当前价格。