Skip to main content
Add a provider to ~/.openclaw/openclaw.json, following the OpenClaw custom provider docs:
The OpenClaw gateway watches this file and applies changes to models and agents without a restart. You can also apply a patch file with openclaw config patch --file ./nagaai.json5. Check the result with openclaw models status.
  • api is openai-completions for Chat Completions, openai-responses for Responses.
  • Set contextWindow and maxTokens. Without them OpenClaw assumes a 200,000-token window and sends no output limit.