o1

Model details

o1

Model
openai/o1
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text, image
Reasoning
Yes
Context window
200,000
Max tokens
100,000
Cost / million input
$15
Cost / million output
$60
Cost / million cache read
$7.5
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "vercel-ai-gateway": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "openai/o1",
          "name": "o1",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 200000,
          "maxTokens": 100000,
          "cost": {
            "input": 15,
            "output": 60,
            "cacheRead": 7.5,
            "cacheWrite": 0
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://ai-gateway.vercel.sh"
    }
  }
}