https://thapi.cloud

← All applications · Connect apps section on /docs

AnthropicManual setup

OpenClaw

Also known as: openclaw

OpenClaw: configure the API key, model and provider in your terminal.

Published instructions · App version: unverified

Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely

Base URL to paste

OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.

https://thapi.cloud

Prerequisites

  1. Install OpenClaw
  2. API key ThAPI

Recommended model: claude-fable-5

Quick way — command / config

export STALI_API_KEY="sk-thapi-..."

Where to place file / fill Settings

Filemacos
~/.openclaw/openclaw.json
Back up the file; merge models.providers.thapi and agents.defaults.model into the existing config. Set STALI_API_KEY in the OpenClaw process environment before starting.
Filelinux
~/.openclaw/openclaw.json
Same as macOS.
Filewindows
%USERPROFILE%\.openclaw\openclaw.json
Create .openclaw if needed; save openclaw.json as UTF-8. Set $env:STALI_API_KEY in PowerShell before starting OpenClaw.

Verify connection

  1. Run openclaw config validate, then check that openclaw models list includes thapi/claude-fable-5. Send a test chat only if you accept the usage charge.

Troubleshooting

SymptomReasonHow to handle
Model not foundThe default model does not match a model declared in the provider.Set agents.defaults.model.primary = thapi/claude-fable-5 and keep id claude-fable-5 in models.providers.thapi.models.
404The URL contains /v1.Dùng https://thapi.cloud.

Notes

  • Checked against official documentation on 2026-10-23; the complete app has not been tested against the live service.

Related

Claude Code · API CLI

Zalo group