- Model
anthropic/claude-opus-4.7- 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
- 128,000
- Cost / million input
- $5
- Cost / million output
- $25
- Cost / million cache read
- $0.5
- Cost / million cache write
- $6.25
Model config JSON
{
"providers": {
"vercel-ai-gateway": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "anthropic/claude-opus-4.7",
"name": "Claude Opus 4.7",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1000000,
"maxTokens": 128000,
"cost": {
"input": 5,
"output": 25,
"cacheRead": 0.5,
"cacheWrite": 6.25
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://ai-gateway.vercel.sh"
}
}
}