Google Gemini · chat
gemini-2.5-flash-preview-05-20
gemini/gemini-2.5-flash-preview-05-20
- Input price
- $0.300 / 1M tokens
- Output price
- $2.50 / 1M tokens
- Context window
- 1M tokens
- Lifecycle
- deprecated
gemini-2.5-flash-preview-05-20 for OpenAI-compatible gateway routing
gemini-2.5-flash-preview-05-20 is a Google Gemini chat model in the Ferro Labs live catalog with a 1M tokens context window, 66K tokens maximum output, and capabilities including Vision, Function Calling, and JSON Mode, and more.
Token pricing is listed as $0.300 / 1M tokens for input tokens and $2.50 / 1M tokens for output tokens. Route calls through the Ferro Labs AI Gateway by sending model as gemini/gemini-2.5-flash-preview-05-20 to the OpenAI-compatible chat completions endpoint. The catalog marks this model as deprecated; plan a migration before routing new workloads.
OpenAI-compatible usage example
curl https://api.ferrolabs.ai/v1/chat/completions \
-H "Authorization: Bearer $GATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini/gemini-2.5-flash-preview-05-20", "messages": [{"role": "user", "content": "Hello!"}]}'
Capabilities
- Vision
- Function Calling
- JSON Mode
- Response Schema
- Prompt Caching
- Reasoning
- Streaming
Modalities
Input
- Text
- Image
Output
- Text
More from Google Gemini
Catalog prices may change. Verify current provider terms before purchasing.