Supported Models
o1 and o3 models use internal chain-of-thought reasoning. They do not support streaming.
Setup
1
Get an API key
Sign up at platform.openai.com and create an API key.
2
Set the environment variable
3
Verify
Environment Variables
string
required
Your OpenAI API key. Format:
sk-...string
Override the base URL. Use this for custom proxies or OpenAI-compatible endpoints.
Configuration Example
- .env
- settings.yml
- Compatible endpoints
Model Aliases
Usage Examples
Notes
OPENAI_BASE_URLcan point to any OpenAI-compatible API (LiteLLM, LocalAI, etc.).- GPT-4o is the default alias
gpt- a good balance of capability and cost. - o1/o3 models are reasoning models - use them for complex problem solving. They do not stream.
Related
- AI Providers Overview - Compare all 37 supported providers
- Anthropic - Claude models for best-in-class tool calling
- Azure OpenAI - OpenAI models via Azure with enterprise SLAs
- profclaw provider - Add and test providers from the CLI