OpenAI GPT API with PicoClaw
The OpenAI provider lets PicoClaw call GPT-family models through the official API—ideal when you want familiar behaviour and billing while keeping the agent process small on your own hardware.
1. API key
Create a key in the OpenAI platform. Set usage limits and separate keys per deployment.
2. Wire it in config
Register openai under providers, add your key, and choose the model name for agents.defaults.model. Details: Configuration · Providers.
3. OpenRouter vs direct OpenAI
If you want many models behind one key, compare OpenRouter vs OpenAI. Direct OpenAI is simpler when you only use GPT models.