Skip to main content

OpenClaw

OpenClaw is a highly regarded open-source, autonomous AI virtual assistant platform. It is widely nicknamed "Crawfish" by the tech community because its default application icon is a red crayfish.

Prerequisites

  • You have activated a TCB environment and obtained the environment ID cloudBaseEnvID
  • Enable the required model in the AI console
  • Obtain the Base URL and API Key in the AI console
Base URLhttps://<ENV_ID>.api.tcloudbasegateway.com/v1/ai/cloudbase

Configuration Steps

We use OpenClaw-2026.6.5 (5181e4f) as an example.

CC Switch is an open-source desktop application for centrally managing provider configurations for multiple AI coding tools. For installation instructions, refer to the CC Switch configuration guide.

  1. Open CC Switch and add CloudBase as a provider
FieldDescription
API KeyObtained from the AI console
Base URLhttps://{{cloudBaseEnvID}}.api.tcloudbasegateway.com/v1/ai/cloudbase
API FormatChat Completions
  1. Switch to the CloudBase provider and start using OpenClaw

Common Error Troubleshooting

Error MessageSolution
All models are temporarily rate-limited. Please try again in a few minutes.The Base URL is incorrect. Go to the AI console to copy the correct Base URL. An incorrect large model ID is configured, and the large model is not enabled in the AI console.
401 gent failed before reply: 401 status codeThe API Key is entered incorrectly or may have been deleted.