Gemini 3.7 Flash

发布于 2026-08-13

chat图像理解代码工具调用推理提示词缓存

Gemini 3.7 Flash 是谷歌能力最强的 Flash 档模型,2026 年 8 月 13 日正式发布,定位于智能体工作流与多模态推理。

输入
文本 图像 音频 视频 $0.75/M
输出
文本 $3.75/M
缓存读取
$0.075/M
音频输入
$0.75/M
音频缓存读取
$0.075/M
上下文
1M
对比 GPT-4o
便宜约 85%
知识截止
2026-03

Benchmark 成绩

高于同类均值无更高分17 / 243 / 24
Gemini 3.7 Flash 其他参测模型 同类均值 ★ 没有模型得分更高
DeepSWE 1.1
65.3%
BioMysteryBench hard
43.5%
OSWorld 2.0
47.9%
Finance Agent v2
59%
Harvey Lab-AA
90.7%
HLE-Verified
53.6%
AutomationBench (v1.0.6)
52.3%
LVBench
没有模型得分更高 85.4%

供应商公布: Alibaba (Qwen) Alibaba (Qwen) Alibaba (Qwen) Alibaba (Qwen) Anthropic Anthropic Anthropic Anthropic DeepSeek DeepSeek Google Google Google Google Moonshot OpenAI OpenAI OpenAI Tencent Z.ai Z.ai

价格在同类中的位置

价格在 79 个同类模型中的位置

输入$0.75/M
$0.1 · Claude Haiku 5.5 GPT-5.4 Pro · $30
输出$3.75/M
$0.275 · DeepSeek V4 Flash GPT-5.4 Pro · $180
缓存读取$0.075/M
$0.006 · DeepSeek V4.1 Flash Claude Fable 5 · $1

这条线标出该模型的价格在 Synthorai 同类模型中的位置,两端分别是最便宜和最贵的模型。这里是基础价,批量、区域和缓存写入的折扣见价格页。

规格与限制

Token

上下文窗口(供应商规格) 1,048,576
最大输出(供应商规格) 65,536
知识截止 2026-03

提示词缓存

缓存方式 自动 + 显式
最小前缀 4,096

思考

参数 reasoning_effort
取值 minimal · low · medium · high 具体接受哪些值由供应商决定

模型

模态 文本 + 图像 + 音频 + 视频 → 文本
  • Google's most capable Flash model for agentic workflows and multimodal reasoning
  • output price includes thinking tokens, and audio and video input bill at the text rate

依据 模型规格来源 ↗

一条提示词,经网关实测

提示词 Explain to a CFO, in exactly three sentences, why our LLM bill doubled after we enabled reasoning. 检查 恰好 3 句

Gemini 3.7 Flash 通过 · 3 sentences

Enabling reasoning causes the model to generate a high volume of invisible "thinking tokens" behind the scenes to deliberate and solve complex logic before delivering a final response. Because our vendor bills strictly on token volume, this additional internal computation effectively doubled our billable output per query. In short, our costs increased because we are now paying for the extra compute capacity required to produce significantly higher-accuracy answers.

输出 878 tok (+799 思考) 延迟 6.9 s

指令遵循(恰好三句,数得出来)、受众适配(对 CFO 说话的口吻),以及下方 token 计数暴露出的隐藏思考计费差额。

提示词 This function is supposed to return the longest run of consecutive equal items, but callers report it is off by one on single-element inputs and misses runs that end at the last index. Fix it and explain the bug in one paragraph. 检查 修复通过测试

Gemini 3.7 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 else: cur = 1 best = max(best, cur) return best ``` ### Explanation of the Bug The original function tracked equal adjacent transitions instead of the actual number of elements in a run, causing all non-empty run lengths to be undercounted by one (e.g., returning `0` instead of `1` for single-element lists because the loop never executes, and `1` instead of `2` for pairs). Initializing both `best` and `cur` to `1` (after handling empty inputs) and resetting `cur` to `1` on a mismatch ensures every individual element is counted as a valid run of at least length one.

输出 1050 tok (+827 思考) 延迟 6.4 s

修复是否真的正确(能运行)、解释的信息密度,以及在一个范围明确的任务上的 token 效率。

提示词 Extract a JSON object with fields {company, quarter, revenue_usd_m, growth_pct, guidance} from this text. Use null for anything not stated; add no other fields. 检查 合法 JSON,严格符合 schema

Gemini 3.7 Flash 通过 · 5/5 fields, guidance "withheld"

```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": 412, "growth_pct": null, "guidance": "withheld" } ```

输出 918 tok (+858 思考) 延迟 6.2 s

是否严守 schema(不臆造字段)、能否顶住幻觉压力(原文明说暂不给出 guidance),以及结构化输出路径的差异。

提示词 Write a 120-word product announcement for an API gateway feature that caches prompts across providers. Forbidden words: "seamless", "unlock", "game-changer", "revolutionize", "empower". Exactly one sentence must be a question. 检查 120 词,0 个禁用词

Gemini 3.7 Flash 通过 · 120 words, 0 banned, 1 question

Why pay twice for identical AI queries simply because you routed them to different model vendors? Today, we introduce Universal Prompt Caching directly within our unified API gateway architecture. This capability stores repeated prompt contexts across OpenAI, Anthropic, and local models, instantly returning stored results to eliminate redundant computation fees. When your application sends an LLM request, the gateway inspects the payload, identifies semantic matches, and returns accurate cached responses in under ten milliseconds. Engineering teams can now slash inference latency by eighty percent while dramatically reducing monthly token expenditures across diverse production deployments. You retain complete privacy control, flexible cache eviction policies, and granular metrics through a single dashboard. Update your routing settings today to accelerate overall system performance.

输出 2858 tok (+2718 思考) 延迟 14.1 s

是否守住约束(字数预算、禁用词表、只能有一个问句)、文风特征,以及长度控制。

30 秒用上 Gemini 3.7 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.7-flash",
    messages=[{"role": "user", "content": "Summarize this diff"}],
    reasoning_effort="medium",
)
print(resp.choices[0].message.content)

关于 Gemini 3.7 Flash

  • 它接受文本、图像、音频和视频输入并返回文本,因此一次调用就能同时对截图、录音和提示词做推理,不必再把多个模型拼成流水线。
  • 两处定价细节让它的预算特别好算。
  • 其一,**没有上下文长度分档**:90 万 token 的提示词与 900 token 的单价相同,长上下文任务不会在文档读到一半时价格跳档。
  • 其二,**没有模态溢价**:音频和视频输入按文本价计费,这与多数多模态定价的做法相反,也就免去了发送前先降采样的常规理由。
  • 输出价**含思考 token**,因此推理较重的回答按完整轨迹计费而非只按可见正文,设置最大输出时要把这一点算进去。
  • 上下文缓存价约为输入价的十分之一,另按小时收存储费,所以对反复重放同一段系统提示词的智能体循环,固定一个稳定前缀是划算的。
  • Google 搜索接地(grounding)每月有一份在 Gemini 3 家族内共享的免费额度,超出后按次计费。
  • Synthorai 通过 OpenAI 兼容的 chat completions 端点提供该模型,接进既有集成无需换用谷歌专用客户端。

常见问题

Gemini 3.7 Flash API 可以免费试用吗?

可以。新账号有 10 次试用调用,免费额度最高 $1,无需绑卡。按输入 $0.75/M 计算,光这笔额度就够向 Gemini 3.7 Flash 发约 166 次请求,每次 ~8K token。

Gemini 3.7 Flash 最擅长什么?

Flash 档中能力最强,面向智能体、文本、图像、音频、视频输入、无上下文分档、无模态溢价。完整介绍见「关于」部分,内容取自供应商的官方发布说明。

Gemini 3.7 Flash 的价格是多少?

在 Synthorai 上,Gemini 3.7 Flash 的输入价为 $0.75/百万 token,输出价为 $3.75/百万 token。这就是供应商官网价,平台不加价。 音频输入: $0.75/百万 token · 音频缓存读取: $0.075/百万 token缓存命中的输入 token 按 $0.075/M 计费。

Gemini 3.7 Flash 的上下文长度是多少?

Gemini 3.7 Flash 的上下文长度(上下文窗口)是 1M token。单次回复最多输出 65,536 个 token。

Gemini 3.7 Flash 支持提示词缓存(prompt caching)吗?

支持:自动缓存默认开启,另有显式模式,可以自己指定缓存哪些内容。缓存命中的输入 token 按 $0.075/M 计费(未命中为 $0.75/M);提示词的稳定前缀至少要有 4,096 个 token 才能缓存。 提示词缓存指南 →

如何开通 Gemini 3.7 Flash?

把现有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 设为 "gemini-3.7-flash" 即可。一个 API key 就能调用网关上的全部模型。

Gemini 3.7 Flash 的知识截止日期是什么时候?

Gemini 3.7 Flash 的知识截止日期是 2026-03,以供应商官方文档为准(核对于 2026-08-15)。

相关模型

对比

规格与厂商 benchmark 均附来源链接。网关支持情况说明的是 Synthorai 的实际实现。归档示例是单次网关请求,不代表模型的一般性能保证。价格来自公开价格接口或构建时使用的快照。

获取 API key 算算你的成本 →