Google: Gemini 3.1 Pro PreviewAPI pricing
Google's preview release of Gemini 3.1 Pro, which refines Gemini 3 Pro for reasoning, coding and agentic tool use. It reads text, images, video, audio and PDFs, replies in text, and supports thinking.
- 每100万枚代币的价格
- $1.40 / $8.40input / output−30%
- 缓存的输入
- $0.14per 1M tokens
- 上下文
- 100万枚代币最大产出量为6.5万枚
- 服务提供商
- 8
- 最快
- 854 tok/sSurplus
服务提供商
8 providers ·
- Route 11M context · 65K max outputCache $0.10 · 96.6 s · 1 tok/s · 75 %96.6 s · 1 tok/sInput $1.05Cache read $0.10Output $6.30Latency 96.6 sSpeed 1 tok/sUptime 75 %$1.05 in$6.30 out
- Route 21M context · 65K max outputCache $0.21 · 3.15 s · 70 tok/s · 99.9 %3.15 s · 70 tok/sInput $2.10Cache read $0.21Output $12.60Latency 3.15 sSpeed 70 tok/sUptime 99.9 %$2.10 in$12.60 out
- Route 31M context · 65K max outputCache $0.38 · 3.47 s · 97 tok/s · 97.9 %3.47 s · 97 tok/sInput $3.78Cache read $0.38Output $22.68Latency 3.47 sSpeed 97 tok/sUptime 97.9 %$3.78 in$22.68 out
支持的参数10
- 抽样
温度top_p种子- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
- Route 11M context · 65K max outputCache $0.10 · 1.10 s · 240 tok/s · 99.8 %1.10 s · 240 tok/sInput $1.05Cache read $0.10Output $6.30Latency 1.10 sSpeed 240 tok/sUptime 99.8 %$1.05 in$6.30 out
- Route 21M context · 65K max outputCache $0.21 · 5.55 s · 96 tok/s · 99.7 %5.55 s · 96 tok/sInput $2.10Cache read $0.21Output $12.60Latency 5.55 sSpeed 96 tok/sUptime 99.7 %$2.10 in$12.60 out
- Route 31M context · 65K max outputCache $0.38 · 100 %Input $3.78Cache read $0.38Output $22.68Latency —Speed —Uptime 100 %$3.78 in$22.68 out
支持的参数9
- 抽样
温度top_p种子- 输出
response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
停止
1M 上下文 · 32K 最大输出
支持的参数9
- 抽样
温度top_plogit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
1M 上下文 · 65K 最大输出量
支持的参数11
- 抽样
温度top_ptop_k种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
1M 上下文 · 65K 最大输出量
支持的参数12
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
支持的参数11
- 抽样
温度top_ptop_k种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
1M 上下文 · 32K 最大输出
支持的参数9
- 抽样
温度top_plogit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
- 1 more provider through partner hosts · from $2.10 in · $12.57 out
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/gemini-3.1-pro-preview", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gemini-3.1-pro-preview",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/gemini-3.1-pro-preview",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 Gemini 3.1 Pro 预览版 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/gemini-3.1-pro-preview;其余代码保持不变。
About Gemini 3.1 Pro Preview
- 标价
- $2.00 / $12.00in / out per 1M
- 保存与列表
- 30 %on a 1 : 3 input-to-output mix
- 请求示例
- $0.02210,000 in + 1,000 out
- 实验室
- 102 个谷歌模型
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
Gemini 3.1 Pro Preview costs from $1.40 per 1M input tokens and $8.40 per 1M output tokens on OpenCheap, with cached input at $0.14 per 1M tokens. Its list price is $2.00 per 1M input tokens and $12.00 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 30 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.022, and 1,000 such requests about $22.40.
8 providers serve Gemini 3.1 Pro Preview on OpenCheap. Its context window is 1M tokens (1,048,576), room for roughly 790,000 words of English in one request.
Gemini 3.1 Pro Preview is one of 102 Google models on OpenCheap.
The public list price is $2.00 per 1M input tokens and $12.00 per 1M output tokens. OpenCheap is from $1.40 and $8.40, as of 2026-12-04 11:48 UTC.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the Gemini 3.1 Pro Preview API cost per 1M tokens?
Gemini 3.1 Pro Preview costs from $1.40 per 1M input tokens and $8.40 per 1M output tokens on OpenCheap, with cached input at $0.14 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one Gemini 3.1 Pro Preview request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.022, and 1,000 such requests about $22.40. Every answer reports its own cost in usage.cost.
Is Gemini 3.1 Pro Preview cheaper on OpenCheap than its list price?
Its list price is $2.00 per 1M input tokens and $12.00 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 30 % less here.
Which providers serve Gemini 3.1 Pro Preview?
8 providers serve Gemini 3.1 Pro Preview on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of Gemini 3.1 Pro Preview?
其上下文窗口为100万个令牌(1,048,576),单次请求可处理约79万个英语单词。
How do I call the Gemini 3.1 Pro Preview API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gemini-3.1-pro-preview. One OpenCheap key works for every model; the rest of your code stays the same.
更多来自 Google 的内容
- Gemini 3.1 Pro (Preview High)gemini-3.1-pro-preview:high每1M · 1M上下文 $2.00 / $12.00
- Gemini 3.1 Pro (Preview Low)gemini-3.1-pro-preview:low每1M · 1M上下文 $2.00 / $12.00
- Gemini 3.1 Pro Preview Searchgemini-3.1-pro-preview:search每1M · 1M上下文 $2.00 / $12.00
- 杰玛 4 26B A4B 它gemma-4-26b-a4b每100万·26.2千上下文 $0.01 / $0.03
- 杰玛 4 31B 它gemma-4-31b每100万·26.2万上下文 $0.012 / $0.036
- google/gemma-3-27b-itgemma-3-27b每100万·13.1万上下文 $0.02 / $0.05
- Gemini 3.5 Flashgemini-3.5-flash$1.50 / $9.00 per 1M · 1M context
- DiffusionGemmadiffusiongemma每100万·26.2万上下文 $0.05 / $0.15
类似型号
- Qwen4 35B A3BQwen · 1M 语料库$1.47 / $4.41 per 1M45 % cheaper
- 元模型/Muse-Spark-Open-816B-A42BMeta · 100万上下文$1.25 / $4.25 per 1M47 % cheaper
- 克劳德 作品5.5Anthropic · 100万词上下文$2.20 / $11.00 per 1M
- anthracite-org/magnum-v4-72b无烟煤 · 32K 上下文$2.50 / $5.00 per 1M34 % cheaper
- GPT 5.5OpenAI · 100万上下文每1M 2.00 美元 / 12.00 美元
- 克劳德·索内特 5Anthropic · 100万词上下文$1.10 / $5.50 per 1M34 % cheaper
Compare Gemini 3.1 Pro Preview with any model →Cheapest LLM API