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

ModelIDContextMax OutputToolsVisionInput $/1MOutput $/1M
GPT-4ogpt-4o128K16KYesYes$2.50$10.00
GPT-4o Minigpt-4o-mini128K16KYesYes$0.15$0.60
o1o1200K100KYesNo$15.00$60.00
o1 Minio1-mini128K65KYesNo$1.10$4.40
o3 Minio3-mini200K100KYesNo$1.10$4.40
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

export OPENAI_API_KEY=sk-...
3

Verify

profclaw doctor --provider openai

Environment Variables

OPENAI_API_KEY
string
required
Your OpenAI API key. Format: sk-...
OPENAI_BASE_URL
string
Override the base URL. Use this for custom proxies or OpenAI-compatible endpoints.

Configuration Example

OPENAI_API_KEY=sk-proj-...

Model Aliases

AliasModel
gptgpt-4o
gpt-minigpt-4o-mini
o1o1
o1-minio1-mini
o3-minio3-mini

Usage Examples

profclaw chat --model gpt "Summarize these release notes"
profclaw chat --model o3-mini "Solve this algorithm problem"
profclaw chat --model gpt-mini "Generate a commit message"

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.