Google: Gemini 3.8 FlashAPI pricing
Gemini 3.8 Flash, Google's September 2026 successor to 3.7 Flash, is aimed at long software engineering tasks and agents. It also targets enterprise workflows, reads text, images, video, audio and PDFs, and thinks at low, medium or high.
- 每100万枚代币的价格
- $0.45 / $2.25input / output−40%
- 缓存的输入
- $0.045per 1M tokens
- 上下文
- 100万枚代币最大产出量为6.5万枚
- 服务提供商
- 8
- 最快
- 798 tok/sAiHubMix
服务提供商
8 providers ·
1M 背景
支持的参数12
- 抽样
温度top_p种子logit_bias- 处罚
频率惩罚存在惩罚- 输出
停止response_formatlogprobstop_logprobs- 工具
工具工具选择
- Route 11M context · 65K max outputCache $0.039 · 14.6 s · 40 tok/s · 88 %14.6 s · 40 tok/sInput $0.39Cache read $0.039Output $1.97Latency 14.6 sSpeed 40 tok/sUptime 88 %$0.39 in$1.97 out
- Route 21M context · 65K max outputCache $0.079 · 2.18 s · 80 tok/s · 100 %2.18 s · 80 tok/sInput $0.79Cache read $0.079Output $3.94Latency 2.18 sSpeed 80 tok/sUptime 100 %$0.79 in$3.94 out
- Route 31M context · 65K max outputCache $0.14 · 1.75 s · 78 tok/s · 100 %1.75 s · 78 tok/sInput $1.42Cache read $0.14Output $7.09Latency 1.75 sSpeed 78 tok/sUptime 100 %$1.42 in$7.09 out
支持的参数8
- 抽样
种子- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
温度
- Route 11M context · 65K max outputCache $0.039 · 2.42 s · 69 tok/s · 100 %2.42 s · 69 tok/sInput $0.39Cache read $0.039Output $1.97Latency 2.42 sSpeed 69 tok/sUptime 100 %$0.39 in$1.97 out
支持的参数9
- 抽样
温度top_p种子- 输出
response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
停止
- Route 21M context · 65K max outputCache $0.079 · 2.71 s · 65 tok/s · 100 %2.71 s · 65 tok/sInput $0.79Cache read $0.079Output $3.94Latency 2.71 sSpeed 65 tok/sUptime 100 %$0.79 in$3.94 out
支持的参数8
- 抽样
top_p种子- 输出
response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
温度停止
- Route 31M context · 65K max outputCache $0.14 · 9.44 s · 70 tok/s · 99.7 %9.44 s · 70 tok/sInput $1.42Cache read $0.14Output $7.09Latency 9.44 sSpeed 70 tok/sUptime 99.7 %$1.42 in$7.09 out
支持的参数7
- 抽样
种子- 输出
response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
温度停止
1M 上下文 · 65K 最大输出量
支持的参数8
- 抽样
温度top_plogit_bias- 处罚
存在惩罚- 输出
停止结构化输出- 工具
工具工具选择
1M 上下文 · 65K 最大输出量
支持的参数9
- 抽样
top_k种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 未确认
温度
1M 上下文 · 65K 最大输出量
支持的参数12
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
1M 上下文 · 65K 最大输出量
支持的参数7
- 抽样
logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 未确认
温度
支持的参数9
- 抽样
top_k种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 未确认
温度
价格走势
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.8-flash", "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.8-flash",
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.8-flash",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 Gemini 3.8 Flash 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/gemini-3.8-flash;其余代码保持不变。
About Gemini 3.8 Flash
- 标价
- $0.75 / $3.75in / out per 1M
- 保存与列表
- 40 %on a 1 : 3 input-to-output mix
- 请求示例
- $0.006710,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.8 Flash costs from $0.45 per 1M input tokens and $2.25 per 1M output tokens on OpenCheap, with cached input at $0.045 per 1M tokens. Its list price is $0.75 per 1M input tokens and $3.75 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 40 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0067, and 1,000 such requests about $6.75.
8 providers serve Gemini 3.8 Flash on OpenCheap. Its context window is 1M tokens (1,048,576), room for roughly 790,000 words of English in one request.
Gemini 3.8 Flash is one of 102 Google models on OpenCheap.
The public list price is $0.75 per 1M input tokens and $3.75 per 1M output tokens. OpenCheap is from $0.45 and $2.25, as of 2026-12-04 11:48 UTC.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the Gemini 3.8 Flash API cost per 1M tokens?
Gemini 3.8 Flash costs from $0.45 per 1M input tokens and $2.25 per 1M output tokens on OpenCheap, with cached input at $0.045 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one Gemini 3.8 Flash request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0067, and 1,000 such requests about $6.75. Every answer reports its own cost in usage.cost.
Is Gemini 3.8 Flash cheaper on OpenCheap than its list price?
Its list price is $0.75 per 1M input tokens and $3.75 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 40 % less here.
Which providers serve Gemini 3.8 Flash?
8 providers serve Gemini 3.8 Flash 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.8 Flash?
其上下文窗口为100万个令牌(1,048,576),单次请求可处理约79万个英语单词。
How do I call the Gemini 3.8 Flash API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gemini-3.8-flash. 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
类似型号
- MiniMax M4MiniMax · 1M 上下文$0.60 / $2.33 per 1M
- mistralai/Mistral-Large-4-1T-A52BMistral · 1M 语境$0.70 / $2.10 per 1M
- Amazon Nova 2 LiteAmazon · 1M context$0.32 / $2.63 per 1M
- OrcaCyber Ling 3.2 FlashOrcaRouter · 1M 上下文$0.60 / $1.80 per 1M17 % cheaper
- MiniMax M3MiniMax · 1M 上下文$0.24 / $1.01 per 1M55 % cheaper
- GPT 4.1 MiniOpenAI · 100万上下文$0.40 / $1.60 per 1M28 % cheaper