Gemini 2.5 Flash API
LLMGemini 2.5 Flash is the 2.5-generation fast route: 1M context, vision, and tool use at a Lite-tier rate.
- Input · USD / 1M tokens$0.255 USDOfficial price
$0.3 USD - Output · USD / 1M tokens$2.125 USDOfficial price
$2.5 USD - Savings15%
- Context1M
- Last verified2026-07-22
- View tool pricing and billing rules
What are we making today?
Bring an idea, a question, or a first draft.
01
Where it fits
Gemini 2.5 Flash is the 2.5-generation fast route: 1M context, vision, and tool use at a Lite-tier rate.
Keep it for deployments pinned to the 2.5 generation that still need vision and tool calls without paying the 3.x Flash rate.
02
Model capabilities
Vision
Accepts visual input alongside text for multimodal coding and analysis tasks.
Tool use
Can select and call tools in agent workflows that support structured tool use.
Fast responses
Optimized for responsive iteration and higher-volume agent tasks.
03
OpenAI-compatible API
Keep your client and change the base URL, API key, and model ID.
curl https://api.omniakey.com/v1/chat/completions \
-H "Authorization: Bearer $OMNIAKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-2.5-flash",
"messages": [{"role": "user", "content": "Explain this codebase"}],
"stream": true
}'04
Compatible coding tools
More Google models
Frequently asked questions
How much does Gemini 2.5 Flash cost on OmniaKey?
OmniaKey charges $0.255 USD per 1M input tokens and $2.125 USD per 1M output tokens, in USD. Official prices are $0.3 USD and $2.5 USD; you save 15%.
What is the context window for Gemini 2.5 Flash?
The listed context window is 1M. Actual usable limits can also depend on the client and upstream request format.
Which coding tools work with Gemini 2.5 Flash?
The current catalog lists compatibility with Cursor, Cline, Aider. Use the model ID shown on this page when the client supports model selection.