Google: Gemini 3.1 Flash-Lite

google/gemini-3.1-flash-lite

Google Gemini 3.1 Flash-Lite API pricing

在Oxyy上,Gemini 3.1 Flash-Lite的输入token价格为每百万$0.100,outputtoken价格为每百万$0.600。 这些是应用当前 60% 折扣后的按量付费价格(Launch Promo; standard price $0.250 input and $1.50 output), and 缓存的输入 token 按每百万 $0.010 计费. 它接受 text, images, video, audio and files 并返回 text, 支持 a 1.05M-token 上下文窗口 和 每次响应最多 66K 个输出 token. At a typical 3:1 input-to-output token mix, a cheaper Google option is Gemma 4 31B Instruct at $0.108 / $0.304 per 1M tokens; 查看所有模型与费率的 Gemini API 定价.

Cost-efficient multimodal model for high-volume agentic tasks, translation, and simple data extraction where budget and latency are the primary constraints.
模态文本图片视频音频文件文本
价格$0.100 / $0.600 每 1M 输入 / 输出 tokenAll Gemini API 定价
上下文1.05M

供应商

此模型的运行位置以及每个路由的费用。请求会自动发送到健康的提供商;如果某个提供商出错,网关会自动重试提供相同模型的另一个提供商。

提供方输入 /M输出 /M缓存读取 /M延迟Throughput
Google$0.100$0.600$0.0102.64s425 tps

功能特性 (21)

流式传输工具调用并行工具调用结构化输出推理思考系统 prompt视觉Video InputAudio InputPDF 输入Prompt 缓存代码执行File SearchSearch GroundingMaps GroundingUrl ContextBatchFlex InferencePriority Inference停止序列

支持的参数 (15)

temperaturetop_ptop_kmax_output_tokensstop_sequencesstreamtoolstool_configsystem_instructionresponse_mime_typeresponse_schemathinking_levelmedia_resolutionsafety_settingsresponse_format

此处未列出的参数可能会在请求到达模型之前被移除。移除后,请求仍会成功,且响应会在 provider_specific_fields.dropped_params.

定价

What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.

输入价格
$0.100
每 1M 个输入 token · standard price $0.250
输出价格
$0.600
每 1M 个输出 token · standard price $1.50
费率标准价格已扣费单位
输入$0.250$0.100每 1M 个输入 token
输出$1.50$0.600每 1M 个输出 token
缓存输入$0.025$0.010每 1M 个缓存输入 token
缓存写入$0.250$0.100每 1M 个缓存写入 token

折扣。 收费费率已包含所有费率的当前 "Launch Promo" 60% 折扣。

UTC

规格

Model ID
gemini-3.1-flash-lite
开发者
Google
类型
文本
输入
Text, images, video, audio and files
输出
文本
上下文窗口
1,048,576 tokens
最大输出
65,536 tokens
图片输入
每个最大 20 MB · PNG, JPEG, WebP, HEIC, HEIF
文件输入
每个最大 100 MB · PDF
音频输入
每个最大 50 MB · WAV, MP3, AIFF, AAC, OGG, FLAC
视频输入
每个最大 100 MB · MP4, MPEG, MOV, AVI, WEBM
端点
/v1/chat/completions

快速入门

调用 gemini-3.1-flash-lite 通过 POST 请求发送至 /v1/chat/completions 开启 https://api.oxyy.ai,使用来自的 Oxyy API key OXYY_API_KEY 环境变量。 同一密钥适用于目录中的所有模型。

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oxyy.ai/v1",
    api_key=os.environ["OXYY_API_KEY"],
)

response = client.chat.completions.create(
    model="gemini-3.1-flash-lite",
    messages=[
        {"role": "user", "content": "Explain unified AI APIs in one sentence."},
    ],
)
print(response.choices[0].message.content)

性能

Throughput 表示模型输出的速度(token/秒 —— 越高越好)。Latency 是总往返时间(越低越好)。TTFT 是首个 token 的生成时间 —— 也就是内容开始显示前的等待时间(越低越好)。Throughput 和 TTFT 是在流式请求上测量的,只有流式请求才有首个 token 的概念。

Throughput
425tok/s
P50,流式请求
延迟
2.64s
P50,端到端
UTC

Throughput

P9910608 tok/s
P954393 tok/s
P50428 tok/s

延迟

P502807ms
P756009ms
P9518.6s
P9948.8s

首字延迟 (TTFT)

P503308ms
P9513.5s

缓存命中率

2.96%
在时间窗口内,从 prompt cache 提供的输入 token 占比。

可用性

过去一段时间内成功完成的该模型请求占比 30 天。 调用方取消的请求以及仍在处理中的请求不计入统计。 当上游供应商出错时,网关会自动重试提供同一模型的其他供应商,因此单个供应商的故障不一定会在此处显示。

成功率 (30 天)
99.50%
over 227,335 completed requests
有流量的天数
29
在过去的 30 天内

天数按 UTC 计算。没有完成请求的天数会被省略,而不是显示为 100% —— 无流量并不代表可用性。

活动

该模型随时间推移的 Token 量和请求流量。每日总计,UTC 时间。

Prompt737.1M
推理154.0K
Completion(不含推理)140.8M

Prompt token 用于衡量输入大小。 推理 token 展示响应前的内部思考过程。它们是输出的一部分,因此补全进度条显示的是其余部分,每天的进度条总计为其总量。

常见问题

什么是 Gemini 3.1 Flash-Lite?
Cost-efficient multimodal model for high-volume agentic tasks, translation, and simple data extraction where budget and latency are the primary constraints.
Gemini 3.1 Flash-Lite 的价格是多少?
在Oxyy上,Gemini 3.1 Flash-Lite的输入token价格为每百万$0.100,outputtoken价格为每百万$0.600。 这些是应用当前 60% 折扣后的按量付费价格(Launch Promo; standard price $0.250 input and $1.50 output), and 缓存的输入 token 按每百万 $0.010 计费. 按请求付费,无需订阅。
Gemini 3.1 Flash-Lite 的上下文长度是多少?
Gemini 3.1 Flash-Lite 拥有 1,048,576 个 token 的上下文窗口, and can return up to 65,536 tokens in one response。
Gemini 3.1 Flash-Lite 支持 tool calling 和 structured outputs 吗?
是的 — Gemini 3.1 Flash-Lite 同时支持工具调用和结构化输出。
Gemini 3.1 Flash-Lite 支持哪些输入和输出?
Gemini 3.1 Flash-Lite 接受 text, images, video, audio and files 作为输入并返回 text。
Gemini 3.1 Flash-Lite 使用哪个 API 终端节点?
向 https://api.oxyy.ai/v1/chat/completions 发送带有 "model": "gemini-3.1-flash-lite" 的 POST 请求,并使用你的 Oxyy API key 进行身份验证。 It is also served on /v1beta/models/gemini-3.1-flash-lite:generateContent (Google Gemini SDK) and /v1/responses (Responses API).
Google 还有哪些其他模型?
Google 还通过 Oxyy 提供 Gemini 2.5 Flash, Gemini 2.5 Flash-Lite, Gemini 2.5 Pro and Gemini 3.1 Pro。

替代方案: Gemini 3.1 Flash-Lite

其他供应商提供的同类模型,按价格从低到高排序。在 Oxyy 上按需付费,使用相同的 API Key。

探索更多模型

更多来自以下机构的模型 Google