Gemini

Gemini 3.8 Flash

Google按量收費
Alias:gemini-3.8-flash

Google 開發了 Gemini 系列 AI 模型,可處理文字、圖像和音訊等多種模態的任務。

textimageaudiovideofilecachingcode_interpreterfunction_callingtoolsweb_searchstructured_outputjson_modereasoningvisioncontext:1048576
起始價格
輸入 / 輸出 · 1M
上下文
1M
最大輸入窗口
最大輸出
65.5K
單次回應最大 token 數
模態
→
發佈於
Sep 2026

Pricing by Supplier

比較同一模型在不同供應商的價格與服務表現。

供應商3
USD · 每 1M tokens效能 · Last 24 hours
供應商Discount輸入/M輸出/M緩存讀取/M
Google AI Studio

Google 官方 API

省41.5%
$0.43875$0.75
$2.1937$3.75
$0.043875$0.075
Google Vertex

Google 官方 API

省25%
$0.5625$0.75
$2.8125$3.75
$0.05625$0.075
Gemini Cli

Gemini CLI 帳號池,適合學習和嘗試 vibe coding

省87%
$0.0975$0.75
$0.4875$3.75
$0.00975$0.075
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

左右滑動表格,查看完整價格與效能。

能力 / 支援的模態

提示詞緩存代碼解釋器函數呼叫工具網絡搜尋結構化輸出推理視覺
輸入
輸出

廠商與數據私隱

供應商
Google文件
分詞器
SentencePiece (Gemini)
許可證
Proprietary (commercial)商業閉源
數據保留55 日預設不會用於上游訓練

效能

基準測試

標準化評測得分。百分比越高越好,並展示排名百分位。

指標來源:Artificial Analysis 2026-09-30·Gemini 3.8 Flash

目前基準快照不包含此模型。

缺少模型或測量值不代表零分。

基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。

About Gemini 3.8 Flash

Use Gemini 3.8 Flash through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

查看介紹原文

面向持续执行的复杂流程

Gemini 3.8 Flash 适合长周期软件工程、自主智能体和复杂企业工作流。它可以围绕一个目标连续处理资料、规划步骤、分析结果并修正方案,适合将代码开发、业务规则与实际操作连接起来的项目。

让不同材料进入同一工作上下文

模型支持文字、图片、视频、音频和PDF输入,输出文本。代码任务可以结合仓库说明、错误日志和界面录像;企业流程任务可以结合操作手册、系统截图和会议记录。把这些信息放在同一目标下,有助于识别实现与流程之间的缺口,而不是孤立地解释每份材料。

长任务应明确必须满足的约束和阶段成果,例如接口保持兼容、数据处理可回退、异常状态有记录。模型接入工具后可以参与代码执行、函数调用和检索,应用应把每次真实结果交回,让后续工作依据实际状态推进。

为长流程设置检查点

复杂任务适合分为理解现状、设计改动、实施验证和整理交付等阶段。每一阶段都保存已完成内容、失败原因和下一步,减少重复分析,也方便加入新的限制。Gemini 3.8 Flash 支持low、medium和high思考等级,可按任务选择。涉及不确定信息时应保留待确认项,不能把模型的自信程度当作验证结果。

Use cases and prompting

Starting points for evaluation; supported inputs and options are listed in API access.

Use cases to explore

  • Draft and revise text with explicit audience, tone and format requirements.
  • Summarize supplied documents and compare answers against the original sources.

Practical tips

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.

Example prompt

Summarize the following document in five bullet points. Separate confirmed facts from open questions, cite the relevant passages and do not invent missing information. Document: [paste your text]

查看使用指南原文

系统整合示例

“根据现有工单系统代码、操作手册和客服演示录像,设计自动分派流程。先整理当前状态和分派规则,再找出冲突与缺失信息。分步骤实现,保留人工改派入口,并验证重复请求、无匹配人员和处理中人员离线等情况。每阶段输出实际结果与剩余问题。”

如何防止长任务重复做已完成的工作?

保存阶段检查点,包含完成内容、关键决策、验证结果和待办。继续时先读取检查点,再处理下一项。

minimal思考设置为什么报错?

Gemini 3.8 Flash支持low、medium、high,不支持minimal。应选择受支持的等级,并根据实际质量与响应时间评估。

API access

API 介面文件

呼叫示例

請求POST/v1beta/models/gemini-3.8-flash:generateContent
請求範例
參數
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。

身份驗證

所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。

在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。

支援的參數

Generation parameters
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

速率限制

供應商RPMTPMRPD
Google Vertex無限制無限制無限制
Gemini Cli無限制無限制無限制
Google AI Studio無限制無限制無限制

無限制

Frequently asked questions about gemini-3.8-flash

What is gemini-3.8-flash?

Use gemini-3.8-flash through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

How do I call gemini-3.8-flash?

Create an API key with access to gemini-3.8-flash, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is gemini-3.8-flash priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

What is the context window of gemini-3.8-flash?

The model catalog lists a context window of 1048576 tokens. Check the selected endpoint for request limits.

What is the maximum output of gemini-3.8-flash?

The model catalog lists a maximum output of 65536 tokens. Your request settings may set a lower limit.

How should I evaluate gemini-3.8-flash for my project?

Separate instructions from source material, describe the desired output and provide an example. Test tool use or structured output only when listed as supported.