OpenClaw JSON config templates for Tencent Cloud
If you're using Tencent Cloud's visual config panel, you usually don't need the step-by-step terminal install or any file editing.
Template 1: Claude / Anthropic
For Claude models, such as:
claude-opus-5-5
json
{
"provider": "flashapi",
"base_url": "https://ai.flashapi.top",
"api": "anthropic-messages",
"api_key": "YOUR_FLASH_API_KEY",
"model": {
"id": "claude-opus-5-5",
"name": "Claude Opus 5.5"
}
}For servers outside Asia, you can point base_url at the optional global CDN endpoint instead:
json
"https://cdn.flashapi.top"Template 2: GPT / OpenAI Responses
For GPT models, such as:
gpt-6.1-sol
json
{
"provider": "flashapi",
"base_url": "https://ai.flashapi.top/v1",
"api": "openai-responses",
"api_key": "YOUR_FLASH_API_KEY",
"model": {
"id": "gpt-6.1-sol",
"name": "GPT-6.1 Sol"
}
}For servers outside Asia, the global CDN endpoint is:
json
"https://cdn.flashapi.top/v1"How the two templates differ
Claude template
apiisanthropic-messagesbase_urlhas no/v1- For Claude models
GPT template
apiisopenai-responsesbase_urlmust end in/v1- For GPT models
What to change
Usually just two fields:
api_keymodel
For example, replace:
json
"api_key": "YOUR_FLASH_API_KEY"with your real key.
Not using the Tencent Cloud panel?
If you're installing OpenClaw on your own machine, a cloud server, WSL or a macOS terminal, use one of these instead:
- One-line setup: OpenClaw one-line setup
- Manual config: OpenClaw