Google: DiffusionGemmaAPI pricing
DiffusionGemma is a language model. It reads and writes text.
- 每100万枚代币的价格
- $0.05 / $0.15input / output
- 缓存的输入
- $0.025per 1M tokens
- 上下文
- 262K tokens32K max output
- 服务提供商
- 2
服务提供商
2 providers ·
262K 上下文 · 32K 最大输出
支持的参数9
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format- 推理
推理include_reasoning- 未确认
工具
- 1 more provider through partner hosts · from $0.053 in · $0.16 out
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/diffusiongemma", "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/diffusiongemma",
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/diffusiongemma",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 DiffusionGemma 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/diffusiongemma;其余代码保持不变。
About DiffusionGemma
- 请求示例
- $0.0006510,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.
用文字表述价格
DiffusionGemma costs from $0.05 per 1M input tokens and $0.15 per 1M output tokens on OpenCheap, with cached input at $0.025 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.00065, and 1,000 such requests about $0.65.
2 providers serve DiffusionGemma on OpenCheap. Its context window is 262K tokens (262,144), room for roughly 200,000 words of English in one request.
DiffusionGemma is one of 102 Google models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the DiffusionGemma API cost per 1M tokens?
DiffusionGemma costs from $0.05 per 1M input tokens and $0.15 per 1M output tokens on OpenCheap, with cached input at $0.025 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one DiffusionGemma request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.00065, and 1,000 such requests about $0.65. Every answer reports its own cost in usage.cost.
Which providers serve DiffusionGemma?
2 providers serve DiffusionGemma 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 DiffusionGemma?
Its context window is 262K tokens (262,144), room for roughly 200,000 words of English in one request.
How do I call the DiffusionGemma API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/diffusiongemma. 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
- 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
- Gemini 2.5 Progemini-2.5-pro-exp-03.25每1M 1.25美元 / 10.00美元
类似型号
- GLM 4.7Zhipu · 202K context$0.032 / $0.14 per 1M10 % cheaper
- GLM 4.6Zhipu · 202K context$0.044 / $0.18 per 1M
- Ternary Bonsai2 9BPrismML · 262K context$0.08 / $0.13 per 1M6 % cheaper
- Kimi K2.5Moonshot · 26.2万上下文$0.017 / $0.083 per 1M47 % cheaper
- Nemotron 3.5 Content SafetyNVIDIA · 131K context$0.05 / $0.15 per 1M
- lfm3-1.7bOther labs · 262K context$0.08 / $0.20 per 1M