Google: Gemini 3.1 Pro Preview SearchAPI 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万枚代币的价格
- $2.00 / $12.00input / output
- 缓存的输入
- 0.20美元每100万枚代币
- 上下文
- 100万枚代币最大产出量为6.5万枚
- 服务提供商
- 1
服务提供商
1 provider ·
价格走势
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:search", "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:search",
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:search",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 Gemini 3.1 Pro Preview Search 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/gemini-3.1-pro-preview:search;其余代码保持不变。
About Gemini 3.1 Pro Preview Search
- 请求示例
- 0.032美元10,000流入 + 1,000流出
- 实验室
- 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 Search costs from $2.00 per 1M input tokens and $12.00 per 1M output tokens on OpenCheap, with cached input at $0.20 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.032, and 1,000 such requests about $32.00.
One provider serves Gemini 3.1 Pro Preview Search on OpenCheap today. 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 Search is one of 102 Google models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the Gemini 3.1 Pro Preview Search API cost per 1M tokens?
Gemini 3.1 Pro Preview Search costs from $2.00 per 1M input tokens and $12.00 per 1M output tokens on OpenCheap, with cached input at $0.20 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one Gemini 3.1 Pro Preview Search request cost?
一个包含 10,000 个输入令牌和 1,000 个输出令牌的请求费用约为 0.032 美元,1,000 个此类请求的费用约为 32.00 美元。每个响应都会在 usage.cost 中报告其自身费用。
Which providers serve Gemini 3.1 Pro Preview Search?
One provider serves Gemini 3.1 Pro Preview Search on OpenCheap today. 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 Search?
其上下文窗口为100万个令牌(1,048,576),单次请求可处理约79万个英语单词。
How do I call the Gemini 3.1 Pro Preview Search API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gemini-3.1-pro-preview:search. One OpenCheap key works for every model; the rest of your code stays the same.
更多来自 Google 的内容
- Gemini 3.1 Pro 预览版gemini-3.1-pro-preview$1.40 / $8.40 per 1M · 1M context
- 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
- 杰玛 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
类似型号
- GPT 5.5OpenAI · 100万上下文每1M 2.00 美元 / 12.00 美元
- 克劳德 作品5.5Anthropic · 100万词上下文$2.00 / $10.00 per 1M16 % cheaper
- Qwen4 35B A3BQwen · 1M 语料库$1.47 / $4.41 per 1M61 % cheaper
- GPT 6.2 AstraOpenAI · 100万上下文每1M 2.27 美元 / 11.36 美元
- 元模型/Muse-Spark-Open-816B-A42BMeta · 100万上下文$1.25 / $4.25 per 1M63 % cheaper
- Qwen3.8 Max PrimeQwen · 1M 语料库每1M 3.76 美元 / 11.28 美元
Compare Gemini 3.1 Pro Preview Search with any model →Cheapest LLM API