Back to Modelsby Google
G
Gemini 1.5 Flash
GeminiFast and versatile model across modalities. Optimized for high-volume, cost-sensitive tasks.
Feb 15, 2024
Specifications
Context Length
1M
1,000,000 tokens
Input Price
$0.07
per 1M tokens
Output Price
$0.30
per 1M tokens
Modalities
2
text→text, image+text→text
Capabilities
text generationchatfunction callingvision
API Usage
1Router is fully OpenAI-compatible. Just set the base URL and use this model ID:
google/gemini-1.5-flashcURL
curl https://api.1router.com/v1/chat/completions \
-H "Authorization: Bearer $ROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-1.5-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'