Gemini

Gemini 2.5 Flash Lite

Google按量收費
Alias:gemini-2.5-flash-lite

Gemini 2.5 Flash-Lite 為高頻輕量任務而設計,適合快速分類、簡單欄位擷取和多模態內容初步篩選,著重速度與成本。

textimageaudiovideofilecachingcode_interpreterfunction_callingtoolsweb_searchstructured_outputjson_modereasoningvisioncontext:1048576
起始價格
輸入 / 輸出 · 1M
上下文
1M
最大輸入窗口
最大輸出
65.5K
單次回應最大 token 數
模態
→
知識截止
Jan 2025
發佈於
Jul 2025

Pricing by Supplier

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

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

Google 官方 API

省50%
$0.05$0.1
$0.2$0.4
$0.005$0.01
Google Vertex

Google 官方 API

省30%
$0.07$0.1
$0.28$0.4
$0.007$0.01
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

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

能力 / 支援的模態

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

廠商與數據私隱

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

效能

基準測試

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

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

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

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

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

About Gemini 2.5 Flash Lite

Gemini 2.5 Flash-Lite 為高頻輕量任務而設計,適合快速分類、簡單欄位擷取和多模態內容初步篩選,著重速度與成本。

查看介紹原文

给重复内容安排轻量处理

Gemini 2.5 Flash-Lite 适合大量、简单且规则明确的工作,例如给消息打标签、提取单据字段、概括短文,或为上传内容生成简短说明。对于调用频繁、响应时间与预算敏感的应用,可以让它先完成基础整理,再把复杂问题交给后续流程。

它能接受文字、图片、音频、视频和 PDF,输出文字。你可以用一套字段规则处理不同形态的材料:从宣传截图提取活动时间,从文档中找联系人,从录音中概括主要诉求,再把结果返回给系统。请求越聚焦,越容易保持快速、稳定的处理方式。

结构化输出适合建立自动化管道。为每个字段定义含义、合法值和缺失规则,要求保留原始材料中的关键文字,程序便可以进行校验和统计。分类任务应包括容易混淆的类别说明;初筛任务则需要明确哪些情况进入人工复核,而不是强行得出确定判断。

它也支持思考与函数调用,但产品定位仍以轻量任务为主。需要检索最新资料、读取指定网页或执行计算时,应由调用端启用相应工具。涉及复杂推理、长链代码排错或重大方案取舍时,可以让它先提取事实和待解决问题,再交给更适合的深入分析流程。

应用设计问题

怎样减少批量提取的口径变化? 固定字段定义与示例,验证模糊输入、缺失内容和边界值,并让程序检查返回格式。

能处理图片里的小字吗? 可以尝试读取,但应提供清晰图片;关键号码与金额要求返回原文并复核,不要让它补齐模糊数字。

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]

查看使用指南原文

用少量明确字段完成初筛

规定每次只做一类处理,避免把简单提取扩展成开放分析。

从这张活动海报中提取 title、start_date、end_date、location 和 signup_method。
仅返回 JSON。未写明的字段为 null,日期保留海报原文,不补充年份。
如果字迹不清或两处信息冲突,增加 needs_review: true,并在 note 中说明具体位置。

文本分类提供固定标签,短摘要指定字数与必含信息。先用代表样本检查字段准确率和复核比例,再接入批量处理;对复杂输入设置转交条件,使后续流程有明确入口。

API access

API 介面文件

呼叫示例

請求POST/v1beta/models/gemini-2.5-flash-lite: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 AI Studio無限制無限制無限制
Google Vertex無限制無限制無限制

無限制

Frequently asked questions about gemini-2.5-flash-lite

What is gemini-2.5-flash-lite?

Gemini 2.5 Flash-Lite 為高頻輕量任務而設計,適合快速分類、簡單欄位擷取和多模態內容初步篩選,著重速度與成本。

How do I call gemini-2.5-flash-lite?

Create an API key with access to gemini-2.5-flash-lite, 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-2.5-flash-lite 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-2.5-flash-lite?

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

What is the maximum output of gemini-2.5-flash-lite?

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

How should I evaluate gemini-2.5-flash-lite 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.