Skip to content

OpenClaw integration

OpenClaw can connect to OpenAI Responses-compatible gateways via a custom provider (works well with SU8 Codes).

OpenClaw is usually configured via:

  • ~/.openclaw/openclaw.json

Add (or edit) a custom provider and fill the key fields:

  • baseUrl: https://www.su8.codes/codex/v1 (from https://www.su8.codes/codex/v1/responses, remove /responses)
  • apiKey: <your SU8 Codes API key>
  • api: openai-responses
  • models[].id: <model id> (copy from Models)

Example (key fields only):

{
models: {
providers: {
su8: {
baseUrl: "https://www.su8.codes/codex/v1",
apiKey: "<your SU8 Codes API key>",
api: "openai-responses",
models: [{ id: "<model id>", name: "<model id>" }]
}
}
}
}

Quick check:

If errors happen: