Skip to content

OpenClaw (install and connect to Flash API) ​

Think of OpenClaw as a self-hostable agent gateway. You run a background service on your machine, then use and manage it from a TUI or a web panel.

What you need ​

  • Node.js 24.16+ (or 26.1+, required by recent OpenClaw releases). See Node.js first.
  • A Flash API key
  • An API key in the right pricing group

Start here: one-line setup ​

The shortest path:

  1. Install OpenClaw using its official flow
  2. Choose Skip for now when it asks about models
  3. Once it's installed, run the Flash API setup script

Full guide:

Setup command:

bash
curl -fsSL https://sh.flashapi.top/openclaw.sh | bash
powershell
irm https://sh.flashapi.top/openclaw.ps1 | iex

Using Tencent Cloud's visual panel? ​

If you're on Tencent Cloud's visual JSON config screen, skip the terminal guide and paste a template instead:

Where the config lives ​

OpenClaw reads ~/.openclaw/openclaw.json (%USERPROFILE%\.openclaw\openclaw.json on Windows). Claude and GPT are configured differently:

  • Claude: api: "anthropic-messages", baseUrl without /v1 (https://ai.flashapi.top)
  • GPT: api: "openai-responses", baseUrl with /v1 (https://ai.flashapi.top/v1)

The setup script writes both providers, flashapi-claude and flashapi-gpt. See the full example in OpenClaw one-line setup · Files the script writes.

Manual install guides ​

One base URL for GPT, Claude and Gemini