Gemini 3.8 Flash 是谷歌能力最强的 Flash 档模型,官方页面称其为面向长周期软件工程、自主智能体与复杂企业工作流而打造。
- 输入
- 文本 图像 音频 视频 $0.75/M
- 输出
- 文本 $3.75/M
- 音频输入
- $0.75/M
- 缓存读取
- $0.075/M
- 上下文
- 1M
- 对比 GPT-4o
- 便宜约 85%
- 知识截止
- 2026-03
Benchmark 成绩
供应商公布: Alibaba (Qwen) Anthropic ByteDance DeepSeek Google MiniMax Moonshot OpenAI Tencent Z.ai
价格在同类中的位置
价格在 70 个同类模型中的位置
这条线标出该模型的价格在 Synthorai 同类模型中的位置,两端分别是最便宜和最贵的模型。这里是基础价,批量、区域和缓存写入的折扣见价格页。
规格与限制
Token
| 上下文窗口(供应商规格) | 1,048,576 |
|---|---|
| 最大输出(供应商规格) | 65,536 |
| 知识截止 | 2026-03 |
提示词缓存
| 缓存方式 | 自动 + 显式 |
|---|---|
| 最小前缀 | 4,096 |
思考
| 参数 | reasoning_effort |
|---|---|
| 取值 | minimal · low · medium · high 具体接受哪些值由供应商决定 |
模型
| 模态 | 文本 + 图像 + 音频 + 视频 → 文本 |
|---|
Google's most intelligent Flash model, engineered for long-horizon software engineering, autonomous agents and complex enterprise workflows. The output price includes thinking tokens. The published rate is introductory: input and output both double on 1 January 2027, and context caching read and hourly storage double with them.
一条提示词,经网关实测
Gemini 3.8 Flash 通过 · 3 sentences
When we enabled reasoning, the model began generating hidden "thinking tokens" to work through logic step-by-step before producing a final answer. Because AI vendors bill for every single token processed—visible or not—this internal deliberation dramatically inflated our billable volume per query. In short, while our total number of user requests remained flat, the cost per transaction doubled to buy higher accuracy on complex tasks.
输出 705 tok (+624 思考) 延迟 6.4 s
指令遵循(恰好三句,数得出来)、受众适配(对 CFO 说话的口吻),以及下方 token 计数暴露出的隐藏思考计费差额。
Gemini 3.8 Flash 通过 · 8/8 cases
Here is the corrected function: ```python def longest_run(xs): if not xs: return 0 best = 1 cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 best = max(best, cur) else: cur = 1 return best ``` ### Explanation of the Bug The original function counted equal-neighbor transitions rather than the actual items making up each run. Because `cur` started at `0` (and was reset to `0` on mismatches), every run was undercounted by one: single-element lists returned `0` because the loop never executed, and any subsequent run—including those ending at the last index—recorded a count of $N - 1$ instead of $N$. The fix handles empty input upfront, initializes both `cur` and `best` to `1` (since any single element forms a run of length 1), and resets `cur` to `1` whenever a new run begins.
输出 1393 tok (+1149 思考) 延迟 10.1 s
修复是否真的正确(能运行)、解释的信息密度,以及在一个范围明确的任务上的 token 效率。
Gemini 3.8 Flash 通过 · 5/5 fields, guidance null
```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": 412, "growth_pct": null, "guidance": null } ```
输出 3989 tok (+3932 思考) 延迟 30.4 s
是否严守 schema(不臆造字段)、能否顶住幻觉压力(原文明说暂不给出 guidance),以及结构化输出路径的差异。
Gemini 3.8 Flash 通过 · 120 words, 0 banned, 1 question
Why pay multiple model providers for the exact same output? Introducing Universal Prompt Cache, our latest API gateway capability engineered to cut compute expenses and drop inference latency. When your application makes a call, the gateway inspects a central memory layer before routing traffic to external LLMs. If an identical query was previously processed by OpenAI, Anthropic, or Mistral, our gateway returns that response immediately. This shared cache eliminates duplicate token fees and insulates your production apps from vendor rate limits or unexpected downtime. Developers can easily customize expiration settings, enforce strict data privacy controls, and configure invalidation logic across every endpoint. Stop wasting your budget on repeated queries. Enable prompt caching in your dashboard to accelerate your pipeline today.
输出 3833 tok (+3688 思考) 延迟 21.8 s
是否守住约束(字数预算、禁用词表、只能有一个问句)、文风特征,以及长度控制。
30 秒用上 Gemini 3.8 Flash
兼容 OpenAI:换掉 base_url,SDK 不用改。POST /v1/chat/completions
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="gemini-3.8-flash",
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "gemini-3.8-flash",
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.8-flash",
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "gemini-3.8-flash",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("gemini-3.8-flash")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));关于 Gemini 3.8 Flash
- 它接受文本、图像、音频和视频输入并返回文本,因此一次调用就能同时对截图、录音和提示词做推理,不必再把多个模型拼成流水线。
- 定价上最该提前规划的一点是:当前公布价是**引流价而非最终价** —— 每百万输入 token $0.75、每百万输出 token $3.75 的价格持续到 2026 年 12 月 31 日,2027 年 1 月 1 日起两者翻倍至 $1.50 与 $7.50。
- 上下文缓存同日调整,读取价由每百万 token $0.075 涨到 $0.15,按小时计的存储费由每百万 token 每小时 $0.50 涨到 $1.00。
- 凡是按今天的价格做过测算的,都值得赶在年前而不是年后重算一遍。
- 输出价**含思考 token**,因此推理较重的回答按完整轨迹计费而非只按可见正文,设置最大输出时要把这一点算进去。
- 谷歌公布的 Standard 价目表只有单一输入价,既无上下文长度分档、也没有单列的音频或视频行,所以长提示词与媒体输入都按文本价计费。
- Google 搜索接地与 Google 地图接地各自每月都有一份在 Gemini 3 家族内共享的免费额度,超出后才开始按次计费。
- Synthorai 通过 OpenAI 兼容的 chat completions 端点提供该模型,接进既有集成无需换用谷歌专用客户端。
常见问题
Gemini 3.8 Flash API 可以免费试用吗?
可以。新账号有 10 次试用调用,免费额度最高 $1,无需绑卡。按输入 $0.75/M 计算,光这笔额度就够向 Gemini 3.8 Flash 发约 166 次请求,每次 ~8K token。
Gemini 3.8 Flash 最擅长什么?
Flash 档中最强,面向长周期智能体、引流价 2027 年 1 月 1 日起翻倍、无上下文分档、无模态溢价。完整介绍见「关于」部分,内容取自供应商的官方发布说明。
Gemini 3.8 Flash 的价格是多少?
在 Synthorai 上,Gemini 3.8 Flash 的输入价为 $0.75/百万 token,输出价为 $3.75/百万 token。这就是供应商官网价,平台不加价。缓存命中的输入 token 按 $0.075/M 计费。
Gemini 3.8 Flash 的上下文长度是多少?
Gemini 3.8 Flash 的上下文长度(上下文窗口)是 1M token。单次回复最多输出 65,536 个 token。
Gemini 3.8 Flash 支持提示词缓存(prompt caching)吗?
支持:自动缓存默认开启,另有显式模式,可以确保拿到折扣。缓存命中的输入 token 按 $0.075/M 计费(未命中为 $0.75/M);提示词的稳定前缀至少要有 4,096 个 token 才能缓存。 提示词缓存指南 →
如何开通 Gemini 3.8 Flash?
把现有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 设为 "gemini-3.8-flash" 即可。一个 API key 就能调用网关上的全部模型。
Gemini 3.8 Flash 的知识截止日期是什么时候?
Gemini 3.8 Flash 的知识截止日期是 2026-03,以供应商官方文档为准(核对于 2026-09-03)。
相关模型
对比
本页的每个数值都照录自供应商自己的文档(链接见上),并标有核对日期。价格是在整个目录范围内比较的;各家供应商定义不一样的规格项,只说明差异,不画图对比。这里没有任何一项是我们自己测的,也不打分。