Google Gemini 3.5 Flash-Lite 是 Google 推出的一款輕量級多模態模型,可透過 OrcaRouter 的 OpenAI 相容 API 存取。它接受文字、圖片、影片、檔案和音訊輸入,具備 1,048,576 個 token 的上下文視窗,以及最多 65,536 個 token 的輸出長度。該模型定價為每百萬個輸入 token 0.30 美元,每百萬個輸出 token 2.50 美元,以提供者費率計費且無加價。這使其成為長上下文、多模態工作負載中最實惠的選擇之一。 此模型專為需要高吞吐量且成本低廉的開發者而設計,適用於受益於大上下文視窗的任務,例如處理長篇文件、影片或錄音。它是 flash-lite 變體,代表優先考量效率而非極致原始能力。您可以透過 OrcaRouter 的標準 API 端點 (https://api.orcarouter.ai/v1) 使用該模型,模型 ID 為 "google/gemini-3.5-flash-lite"。其主要優勢在於為注重速度與預算的生產管線提供成本效益高的擴展。
| 輸入 / 1M tokens | $0.300 |
|---|---|
| 輸出 / 1M tokens | $2.50 |
| 快取讀取 / 1M | $0.030 |
| 貨幣 | USD |
1.6M 輸入 × $0.3/M + 400K 輸出 × $2.5/M
提示快取按一半輸入 token 命中快取估算,快取讀取價 $0.03/M。
基於標價的估算
| 情境 | 輸入 / 輸出 token | 每次請求 | 每 1,000 次請求 |
|---|---|---|---|
| 聊天回覆 | 200 / 300 | $0.0008 | $0.810 |
| 長文件摘要 | 30K / 1K | $0.011 | $11.50 |
| 程式碼審查 | 8K / 2K | $0.0074 | $7.40 |
僅為估算——實際 Token 數取決於供應商的分詞器。
使用任何相容 OpenAI 的 SDK,或直接發送 HTTP 請求。 取得 API Key
export ORCAROUTER_API_KEY=…https://api.orcarouter.ai/v1原生端點: Gemini SDK https://api.orcarouter.ai
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key=os.environ["ORCAROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="google/gemini-3.5-flash-lite",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content){
"id": "chatcmpl-…",
"object": "chat.completion",
"created": 1763280000,
"model": "google/gemini-3.5-flash-lite",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 10,
"total_tokens": 19
}
}choices[0].message.content — 模型的回答。finish_reason — "stop" 表示回答已完整結束;"length" 表示達到 max_tokens 被截斷。usage — 本次呼叫計費的輸入和輸出 token 數。回傳 HTTP 200 且 finish_reason 為 "stop",表示呼叫成功。
| 參數 | 作用 |
|---|---|
max_tokens | 模型最多生成的 token 數。 |
temperature | 取樣隨機性:越低越穩定,越高越多樣。 |
tools | 模型可呼叫的函式,以 JSON Schema 描述。 |
response_format | 強制輸出 JSON,可指定 JSON Schema。 |
reasoning_effort | 回答前的推理強度:low、medium 或 high。 |
top_p | 核取樣:只從累計機率在此範圍內的 token 中選取。 |
stop | 遇到這些序列時模型停止生成。 |
tool_choice | 控制模型必須、可以或不得呼叫工具。 |
structured_outputs | 模型能嚴格遵循 response_format 中給定的 JSON Schema。 |
reasoning | 設定模型推理:推理強度、token 預算或關閉。 |
include_reasoning | 隨回答一併回傳模型的推理過程文字。 |
seed | 對相同輸入盡量回傳可重現的結果。 |
真人偏好與真實任務
嵌入此徽章
@misc{orcarouter_gemini_3_5_flash_lite,
title = {Gemini 3.5 Flash-Lite API},
author = {Google},
year = {2026},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/google/gemini-3.5-flash-lite}
}Google. (2026). Gemini 3.5 Flash-Lite API. OrcaRouter. https://www.orcarouter.ai/models/google/gemini-3.5-flash-lite