Gemini 3.8 Flash

發布於 2026-09-02

chat圖像理解程式碼工具呼叫推理提示詞快取

Gemini 3.8 Flash 是 Google 能力最強的 Flash 檔模型,官方頁面稱其為面向長週期軟體工程、自主代理與複雜企業工作流程而打造。

輸入
文字 圖像 音訊 影片 $0.75/M
輸出
文字 $3.75/M
音訊輸入
$0.75/M
快取讀取
$0.075/M
上下文
1M
相較 GPT-4o
便宜約 85%
知識截止
2026-03

Benchmark 成績

高於平均沒有模型更高12 / 175 / 17
Gemini 3.8 Flash 其他有成績的模型 其他模型平均 ★ 沒有模型分數更高
DeepSWE 1.1
73.7%
BioMysteryBench hard
沒有模型分數更高 56.5%
OSWorld 2.0 Partial score, batch tool enabled
59%
HealthBench Professional
52.1%
Finance Agent v2
沒有模型分數更高 61.4%
Legal Agent Benchmark
10%
GPQA Diamond
95.3%
CharXiv (RQ) no tools
沒有模型分數更高 86.2%

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

價格在同類中的位置

價格在 70 個同類模型中的位置

輸入$0.75/M
$0.1 · Dola Seed 2.0 Mini 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 GPT-5.4 Pro · $15

這條線標出這個模型的價格,在 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.

依據 Google 官方文件 ↗

一段提示詞,經閘道實測

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

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 計量顯示出的隱藏思考計費落差。

提示詞 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.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 效率。

提示詞 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.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),以及結構化輸出路徑的差異。

提示詞 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.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)

關於 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**,因此推理較重的回答按完整軌跡計費而非只按可見正文,設定最大輸出時要把這一點算進去。
  • Google 公布的 Standard 價目表只有單一輸入價,既無上下文長度分檔、也沒有單列的音訊或視訊行,所以長提示詞與媒體輸入都按文字價計費。
  • Google 搜尋接地與 Google 地圖接地各自每月都有一份在 Gemini 3 家族內共享的免費額度,超出後才開始按次計費。
  • Synthorai 透過 OpenAI 相容的 chat completions 端點提供該模型,接進既有整合無需換用 Google 專用用戶端。

常見問題

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

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

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

相關模型

比較

本頁每一個數值都摘錄自供應商自己的文件(連結見上方),並附上查核日期。價格是放在整個目錄裡比較;各家供應商定義不一樣的規格,只說明差異,不畫成圖表比較。這裡沒有任何數據是我們自己量測的,也不做評分。

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