Google: gemini-3.1-proAPI pricing
Gemini 3.1 Pro is a language model from Google. It reads and writes text.
- 每100万枚代币的价格
- $0.50 / $3.50input / output
- 上下文
- 1M tokens
- 服务提供商
- 1
服务提供商
1 provider ·
1M 背景
支持的参数12
- 抽样
温度top_p种子logit_bias- 处罚
频率惩罚存在惩罚- 输出
停止response_formatlogprobstop_logprobs- 工具
工具工具选择
价格走势
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", "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",
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",
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;其余代码保持不变。
About gemini-3.1-pro
- 请求示例
- $0.008510,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 costs from $0.50 per 1M input tokens and $3.50 per 1M output tokens on OpenCheap. 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.0085, and 1,000 such requests about $8.50.
One provider serves gemini-3.1-pro 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 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 API cost per 1M tokens?
gemini-3.1-pro costs from $0.50 per 1M input tokens and $3.50 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 11:48 UTC.
What does one gemini-3.1-pro request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0085, and 1,000 such requests about $8.50. Every answer reports its own cost in usage.cost.
Which providers serve gemini-3.1-pro?
One provider serves gemini-3.1-pro 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?
其上下文窗口为100万个令牌(1,048,576),单次请求可处理约79万个英语单词。
How do I call the gemini-3.1-pro API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gemini-3.1-pro. One OpenCheap key works for every model; the rest of your code stays the same.
更多来自 Google 的内容
- 杰玛 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
- Nano Banana(Gemini 2.5 闪存镜像)gemini-2.5-flash-image每 1M · 32K 上下文 $0.32 / $2.63
- Gemini 2.5 Flash Litegemini-2.5-flash-lite每1M·1M上下文 $0.10 / $0.40
- Gemini 2.5 Flash 预览版 05-20(无需思考)gemini-2.5-flash-preview-05.20:nothink每1M·1M上下文 $0.30 / $2.50
类似型号
- Amazon Nova 2 LiteAmazon · 1M context$0.32 / $2.63 per 1M26 % cheaper
- MiniMax M4MiniMax · 1M 上下文$0.60 / $2.33 per 1M31 % cheaper
- 元模型/Muse-Spark-Open-816B-A42BMeta · 100万上下文$1.25 / $4.25 per 1M
- Qwen4 35B A3BQwen · 1M 语料库$1.47 / $4.41 per 1M
- mistralai/Mistral-Large-4-1T-A52BMistral · 1M 语境$0.70 / $2.10 per 1M36 % cheaper
- OrcaCyber Ling 3.2 FlashOrcaRouter · 1M 上下文$0.60 / $1.80 per 1M45 % cheaper