现已可用
Google

gemini-3.1-pro-preview

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation...

TextReasoningToolsFilesVisionAudio1MVideoCacheWebSearch
输入$0.60/ 1M
输出$3.60/ 1M
端点gemini, openai

能力

推理工具视觉音频输入视频文件缓存结构化网络搜索服务级别URL上下文流式系统消息

模态

输入
audiofileimagetextvideo
输出
text

快速统计

上下文窗口1M
最大输出65.5K
模式chat
分词器Gemini

性能

正在加载性能数据...

支持的参数

参数始终默认值
frequency_penalty-(不发送)
include_reasoning-
max_tokens-
presence_penalty-(不发送)
reasoning-
repetition_penalty-(不发送)
response_format-
seed-
stop-
structured_outputs-
temperature(不发送)
tool_choice-
tools-
top_k-(不发送)
top_p(不发送)
§ 01

价格

输入价格$0.60 · 百万 Token
输出价格$3.60 · 百万 Token
兼容端点gemini, openai
供应商Google
§ 02

在您的代码中调用 gemini-3.1-pro-preview

将任意 OpenAI 兼容 SDK 指向 UnoRouter,并按名称请求模型。将 YOUR_API_KEY 替换为您控制台中的真实密钥。

bash
curl https://api.unorouter.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-pro-preview",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

登录以自动填入您的 API 密钥

§ 03

常见问题

gemini-3.1-pro-preview 每百万 Token 多少钱?

输入价格 $0.60 / 百万 Token,输出价格 $3.60 / 百万 Token。按 Token 计费,不按批次大小取整。

如何通过 API 访问 gemini-3.1-pro-preview?

向 UnoRouter 的 /v1/chat/completions 端点发送请求,指定 model=gemini-3.1-pro-preview。任意 OpenAI 兼容客户端库均可使用。鉴权采用标准 Bearer Token。

§ 04

相似模型

立即试用 gemini-3.1-pro-preview

创建 API 密钥,不到一分钟就能开始请求。

查看全部模型