- Model
google/gemini-3.1-flash-lite-preview- 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,000
- Cost / million input
- $0.25
- Cost / million output
- $1.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-3.1-flash-lite-preview",
"name": "Gemini 3.1 Flash Lite Preview",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1000000,
"maxTokens": 65000,
"cost": {
"input": 0.25,
"output": 1.5,
"cacheRead": 0.03,
"cacheWrite": 0
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://ai-gateway.vercel.sh"
}
}
}