o3

Models

Model details

o3

Model
o3
Provider
cloudflare-ai-gateway
API
openai-responses
Base URL
https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai
Input
text, image
Reasoning
Yes
Context window
200,000
Max tokens
100,000
Cost / million input
$2
Cost / million output
$8
Cost / million cache read
$0.5
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "cloudflare-ai-gateway": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "o3",
          "name": "o3",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 200000,
          "maxTokens": 100000,
          "cost": {
            "input": 2,
            "output": 8,
            "cacheRead": 0.5,
            "cacheWrite": 0
          }
        }
      ],
      "api": "openai-responses",
      "baseUrl": "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai"
    }
  }
}