Description
Gemini 2.5 Flash is Google's state-of-the-art workhorse model, specifically designed for advanced reasoning, coding, mathematics, and scientific tasks. It includes built-in "thinking" capabilities, enabling it to provide responses with greater accuracy and nuanced context handling. Additionally, Gemini 2.5 Flash is configurable through the "max tokens for reasoning" parameter, as described in the documentation (https://openrouter.ai/docs/use-cases/reasoning-tokens#max-tokens-for-reasoning).
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Google: Gemini 2.5 Flash (google/gemini-2.5-flash)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "google/gemini-2.5-flash",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Google: Gemini 2.5 Flash model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'
Supported Modalities
- Text
- Images
API Pricing
- Input: 0.3$ / 1M tokens
- Output: 2.5$ / 1M tokens
- Image: 0.001$ / image
Token Limits
- Max Output: 65,535 tokens
- Max Context: 1,048,576 tokens
Subscription Tiers
- free
- pro
- ultimate