Supported Models
| Model | ID | Context | Max Output | Tools | Vision | Input $/1M | Output $/1M |
|---|---|---|---|---|---|---|---|
| GPT-4o | gpt-4o | 128K | 16K | Yes | Yes | $2.50 | $10.00 |
| GPT-4o Mini | gpt-4o-mini | 128K | 16K | Yes | Yes | $0.15 | $0.60 |
| o1 | o1 | 200K | 100K | Yes | No | $15.00 | $60.00 |
| o1 Mini | o1-mini | 128K | 65K | Yes | No | $1.10 | $4.40 |
| o3 Mini | o3-mini | 200K | 100K | Yes | No | $1.10 | $4.40 |
o1 and o3 models use internal chain-of-thought reasoning. They do not support streaming.
Setup
Get an API key
Sign up at platform.openai.com and create an API key.
Environment Variables
Your OpenAI API key. Format:
sk-...Override the base URL. Use this for custom proxies or OpenAI-compatible endpoints.
Configuration Example
- .env
- settings.yml
- Compatible endpoints
Model Aliases
| Alias | Model |
|---|---|
gpt | gpt-4o |
gpt-mini | gpt-4o-mini |
o1 | o1 |
o1-mini | o1-mini |
o3-mini | o3-mini |
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