Available Models

Model Context Images Tools Price (1M tokens)
GPT-4o
Optimized multimodal model
128K ✓ ✓ $2.5 / $10
GPT-4o Mini
Smaller, faster version
128K ✓ ✓ $0.15 / $0.6

Authentication

API KEY

Standard API key only

Environment Variable: OPENAI_API_KEY

Setup Steps:

  1. Create account at platform.openai.com
  2. Generate API key
  3. Set OPENAI_API_KEY environment variable

Configuration Example

{
  "models": {
    "providers": {
      "openai": {
        "apiKey": "${OPENAI_API_KEY}"
      }
    }
  }
}

Use OpenAI (Standard) with Messaging Channels

Connect OpenAI (Standard) to your favorite messaging platforms:

Frequently Asked Questions

How much does OpenAI (Standard) cost with OpenClaw?
OpenAI (Standard) pricing depends on your usage. OpenAI (Standard) charges based on tokens processed. OpenClaw itself is free and open source. You only pay for the AI provider API costs.
How do I authenticate OpenAI (Standard) with OpenClaw?
OpenAI (Standard) supports api_key. The most common method is using an API key which you can get from the OpenAI (Standard) console.
Which OpenAI (Standard) models work with OpenClaw?
OpenClaw supports all OpenAI (Standard) models including GPT-4o, GPT-4o Mini. You can configure your preferred model in openclaw.json or use model aliases for convenience.
Can I use OpenAI (Standard) as a fallback provider?
Yes, OpenClaw supports automatic failover. You can configure OpenAI (Standard) as a fallback in the model configuration. If your primary provider fails, OpenClaw will automatically switch to OpenAI (Standard).