- Model
google/gemini-2.5-flash- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- Input
- text, image
- Reasoning
- Yes
- Context window
- 1,048,576
- Max tokens
- 65,535
- Cost / million input
- $0.3
- Cost / million output
- $2.5
- Cost / million cache read
- $0.03
- Cost / million cache write
- $0.083333
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "google/gemini-2.5-flash",
"name": "Google: Gemini 2.5 Flash",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1048576,
"maxTokens": 65535,
"cost": {
"input": 0.3,
"output": 2.5,
"cacheRead": 0.03,
"cacheWrite": 0.08333333333333334
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}