Google: Gemma 4 31B TEEAPI pricing
Gemma 4 31B TEE is Google DeepMind's dense open-weight multimodal model, released under Apache 2.0. It takes text and image input, produces text, offers configurable thinking and native function calling, and is aimed at reasoning, coding and agentic workflows.
- 每100万枚代币的价格
- $0.12 / $0.37input / output
- 缓存的输入
- $0.012per 1M tokens
- 上下文
- 262K tokens131K max output
- 服务提供商
- 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/gemma4-31b", "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/gemma4-31b",
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/gemma4-31b",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 Gemma 4 31B TEE 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/gemma4-31b;其余代码保持不变。
About Gemma 4 31B TEE
- 请求示例
- $0.001610,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.
用文字表述价格
Gemma 4 31B TEE costs from $0.12 per 1M input tokens and $0.37 per 1M output tokens on OpenCheap, with cached input at $0.012 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.0016, and 1,000 such requests about $1.57.
One provider serves Gemma 4 31B TEE on OpenCheap today. Its context window is 262K tokens (262,144), room for roughly 200,000 words of English in one request.
Gemma 4 31B TEE is one of 102 Google models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the Gemma 4 31B TEE API cost per 1M tokens?
Gemma 4 31B TEE costs from $0.12 per 1M input tokens and $0.37 per 1M output tokens on OpenCheap, with cached input at $0.012 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one Gemma 4 31B TEE request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0016, and 1,000 such requests about $1.57. Every answer reports its own cost in usage.cost.
Which providers serve Gemma 4 31B TEE?
One provider serves Gemma 4 31B TEE 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 Gemma 4 31B TEE?
Its context window is 262K tokens (262,144), room for roughly 200,000 words of English in one request.
How do I call the Gemma 4 31B TEE API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gemma4-31b. One OpenCheap key works for every model; the rest of your code stays the same.
更多来自 Google 的内容
- Gemma 4 31B Thinking TEEgemma4-31b:thinking$0.12 / $0.37 per 1M · 262K context
- 杰玛 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
类似型号
- DeepSeek V3.2DeepSeek · 163K context$0.22 / $0.34 per 1M
- GLM 5.1Zhipu · 204K context$0.15 / $0.46 per 1M
- Ternary Bonsai 2 27BPrismML · 262K context$0.075 / $0.50 per 1M
- Hy3Tencent · 262K context$0.066 / $0.26 per 1M31 % cheaper
- Solar Pro 4 ContributorUpstage · 524K context$0.09 / $0.36 per 1M
- GLM 4.6Zhipu · 202K context$0.044 / $0.18 per 1M52 % cheaper