OpenClaw
Configure the OpenClaw agent framework to use gateway models.
OpenClaw accepts Anthropic-compatible endpoints, so it needs the base URL and key and nothing else.
export ANTHROPIC_BASE_URL="https://aiprimetech.io"
export ANTHROPIC_API_KEY="sk-your-key"
If your build uses a config file rather than the environment, set the provider to Anthropic, the base URL to https://aiprimetech.io (no /v1), and the model to an id from Models.
Agent economics
Autonomous frameworks can run for a long time without supervision. Two safeguards are worth setting before the first long run:
- A hard step limit, so a stuck loop cannot spin indefinitely.
- A cheaper model for routine sub-tasks, reserving the frontier model for planning.