- Model
openai/gpt-4o- Provider
vercel-ai-gateway- API
anthropic-messages- Base URL
https://ai-gateway.vercel.sh- Input
- text, image
- Reasoning
- No
- Context window
- 128,000
- Max tokens
- 16,384
- Cost / million input
- $2.5
- Cost / million output
- $10
- Cost / million cache read
- $1.25
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"vercel-ai-gateway": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "openai/gpt-4o",
"name": "GPT-4o",
"reasoning": false,
"input": [
"text",
"image"
],
"contextWindow": 128000,
"maxTokens": 16384,
"cost": {
"input": 2.5,
"output": 10,
"cacheRead": 1.25,
"cacheWrite": 0
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://ai-gateway.vercel.sh"
}
}
}