Skip to main content
OpenAI is the second-priority provider in profClaw’s auto-selection. GPT-4o and newer models support native function calling, vision, and streaming.

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

Model Aliases

Usage Examples

Notes

  • OPENAI_BASE_URL can 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.