https://thapi.cloud

← All applications · Connect apps section on /docs

Anthropic + OpenAIconfigure cline

Cline

Also known as: vscode-cline

Cline: connect the coding extension to a custom provider.

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. VS Code or Cursor
  2. Install the Cline extension from Marketplace
  3. API key ThAPI

Recommended model: claude-fable-5

Quick way — command / config

api-cli configure cline -m claude-fable-5

Where to place file / fill Settings

Interfaceany
Cline panel → Settings (bánh răng)
Enable Use custom base URL first — if Base URL is hidden, the toggle is not enabled.
Filemacos
~/Library/Application Support/Code/User/globalStorage/ (Cline)
Prefer the UI; API CLI may write cline_settings. Do not edit it manually unless you understand the settings.
Filewindows
%APPDATA%\Code\User\globalStorage\…
Similar setup; Cursor uses the Cursor directory instead of Code.

Verify connection

  1. Send a small task in Cline (list files).
  2. Dashboard Usage.
  3. api-cli doctor (when using API CLI).

Troubleshooting

SymptomReasonHow to handle
404Anthropic is selected, but the pasted URL includes /v1.Anthropic → https://thapi.cloud; OpenAI Compatible → https://thapi.cloud/v1.
Base URL is hiddenUse custom base URL has not been enabled.Enable the toggle, then paste the URL.

Notes

  • The Roo Code / Kilo UI is similar to Cline.

Related

Roo Code · Kilo Code (VS Code) · Cursor · API CLI

Zalo group