- Model
google/gemini-2.5-flash- Provider
vercel-ai-gateway- API
anthropic-messages- Base URL
https://ai-gateway.vercel.sh- Input
- text, image
- Reasoning
- Yes
- Context window
- 1,000,000
- Max tokens
- 65,536
- Cost / million input
- $0.3
- Cost / million output
- $2.5
- Cost / million cache read
- $0.03
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"vercel-ai-gateway": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "google/gemini-2.5-flash",
"name": "Gemini 2.5 Flash",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1000000,
"maxTokens": 65536,
"cost": {
"input": 0.3,
"output": 2.5,
"cacheRead": 0.03,
"cacheWrite": 0
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://ai-gateway.vercel.sh"
}
}
}