Model overview
TextVisionToolsStructured outputContext cacheGemini 2.5 Flash is Google's established fast multimodal model for cost-sensitive text and vision workloads.
Company: GoogleProvider: Google Vertex AI
Model capabilities
Input modalityT
Output modalityT
Text generation✓
Vision✓
Function calling✓
Structured output✓
Context cache✓
Batch inference✓
Fine-tuning×
Model pricing
Input$0.30/1M tokens
Input (cache hit)$0.03/1M tokens
Output$2.50/1M tokens
Input (Batch)$0.15/1M tokens
Output (Batch)$1.25/1M tokens
Rate limits and context
Context window1M tokens
Maximum output65,535 tokens
Serving locationglobal
API reference
EndpointPOST /v1/chat/completions
SDKOpenAI-compatible
API code examples
from openai import OpenAI client = OpenAI( api_key="$WLROUTER_API_KEY", base_url="https://api.wlrouter.com/v1" ) response = client.chat.completions.create( model="gemini-2.5-flash", messages=[ {"role": "user", "content": "Reply with one short sentence."} ], max_tokens=32 ) print(response.choices[0].message.content)