Models / OpenAI
OpenAI Models
Use OpenAI's GPT models with OpenClaw. Fast, reliable, and widely supported.
Supported Models
🤖
GPT-4o
Latest flagship model. Fast, smart, great for coding and conversation.
Price: $2.50/M input, $10/M output
🧠
GPT-4
Powerful model for complex tasks. Slower but highly capable.
Price: $10/M input, $30/M output
⚡
GPT-4o mini
Fast and cheap. Great for simple tasks and high-volume usage.
Price: $0.15/M input, $0.60/M output
Setup
Get your API key from platform.openai.com
- Run the onboarding:
openclaw onboard - Select "OpenAI" as your provider
- Enter your API key when prompted
- Choose your default model
Configuration
Or configure manually in your config file:
{
"models": {
"default": "openai/gpt-4o",
"providers": {
"openai": {
"apiKey": "YOUR_OPENAI_API_KEY",
"defaultModel": "gpt-4o"
}
}
}
}