TokenRoute
Get started
Back to models

Google: Gemini Flash Latest

~google/gemini-flash-latest

This model always redirects to the latest model in the Gemini Flash family.

Pricing

Input$0.5250 /M
Output$2.63 /M
Reasoning$2.63 /M
Cache read$0.0525 /M
Cache write$0.0292 /M
Image$0.00000 /image
Web search$0.0098 /req

Specs

Context length1M tokens
Max output65.5K tokens
Inputtext, image, video, file, audio
Outputtext

Quickstart

Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.

bash
curl https://tokenroute.app/api/v1/chat/completions \
  -H "Authorization: Bearer $TOKENROUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "~google/gemini-flash-latest",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Supported parameters

include_reasoning
max_tokens
reasoning
reasoning_effort
response_format
seed
stop
structured_outputs
temperature
tool_choice
tools
top_p