Gemini 2.5 Flash
Google 注重价格与性能平衡的 Gemini 模型,适合多模态生产场景。
上下文窗口
1M tokens
gemini-2.5-flash
最大输出
-
1M tokens
输入
$0.27$0.30
10% off1M tokens
输出
$2.25$2.50
10% off1M tokens
gemini-2.5-flash试玩区
gemini-2.5-flashClick or drag
暂无输出
定价
| 方案 | 上下文窗口 | 最大输出 | 输入 | 输出 | 缓存写入 | 缓存读取 |
|---|---|---|---|---|---|---|
gemini-2.5-flash | 1M tokens | - | $0.27$0.3010% off 1M tokens | $2.25$2.5010% off 1M tokens | - | - |
Input · $0.9 · 1M tokens
Context caching · $0.027 · 1M tokens
Context caching · $0.09 · 1M tokens
README
- Google 将 Gemini 2.5 Flash 描述为其价格与性能表现最均衡的模型,适合广泛的生产环境使用。
- 该模型支持文本、代码、图片、音频和视频输入,文本输出,并支持 thinking、Google Search grounding 和代码执行。
- 它适合智能体应用、大规模处理和多模态助手场景,适用于追求能力、速度与成本平衡的团队。
API
API
端点
POST /v1beta/models/{model}:generateContent认证
x-goog-api-key: YOUR_REACH_API_KEY Content-Type: application/json
示例
curl -X POST "https://direct.reachapi.ai/v1beta/models/YOUR_MODEL_ID:generateContent" \
-H "x-goog-api-key: YOUR_REACH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contents": [
{
"role": "user",
"parts": [
{
"text": "Introduce ReachAPI in one sentence."
}
]
}
],
"generationConfig": {
"temperature": 0.2
}
}'相关模型
Gemini 3.1 Flash Image Preview
Google's high-efficiency preview image model for fast generation, conversational editing, and grounded visual workflows.
Gemini 3.1 Pro Preview
Google's preview model for the most complex reasoning and agentic workflows.
Gemini 3 Pro Image Preview
Google's highest-quality preview image model for professional asset generation, editing, and grounded visual production.
Gemini 2.5 Flash Image
Google's high-velocity native image model for low-latency generation and conversational editing.
Gemini 2.5 Flash Lite
Google's low-latency Gemini model for cost-sensitive, high-volume workloads.
Gemini 2.5 Pro
Google's most advanced reasoning Gemini model for complex multimodal problem solving.
