Gemini 2.5 Flash API
Use 1M context with one OmniaKey API key.
- Model ID
- gemini-2.5-flash
- Context
- 1M
- Provider
- Input · USD / 1M tokens
- $0.255 USD
- Official price $0.3 USD
- Output · USD / 1M tokens
- $2.125 USD
- Official price $2.5 USD
- Savings
- 15%
- Last verified
- 2026-07-22
01
Where it fits
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.