GPT-4 Turbo

Model details

GPT-4 Turbo

Model
openai/gpt-4-turbo
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
4,096
Cost / million input
$10
Cost / million output
$30
Cost / million cache read
$0
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "vercel-ai-gateway": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "openai/gpt-4-turbo",
          "name": "GPT-4 Turbo",
          "reasoning": false,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 128000,
          "maxTokens": 4096,
          "cost": {
            "input": 10,
            "output": 30,
            "cacheRead": 0,
            "cacheWrite": 0
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://ai-gateway.vercel.sh"
    }
  }
}