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 的輸入價是每百萬 token $0.75,輸出價是每百萬 token $3.75。這就是供應商官網價,平台不加價。 音訊輸入: $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 金鑰就能呼叫閘道上的所有模型。

Gemini 3.7 Flash 的知識截止日期是什麼時候?

Gemini 3.7 Flash 的知識截止日期為 2026-03,依據供應商官方文件(查核日期:2026-08-15)。

相關模型

比較

規格與廠商 benchmark 均附來源連結。閘道支援情況說明的是 Synthorai 的實際實作。封存範例是單次閘道請求,不代表模型的一般效能保證。價格來自公開價格介面或建置時使用的快照。

取得 API 金鑰 算算你的成本 →