Claude Code

Third-party APIs for Claude Code

Claude Code speaks Anthropic Messages API. At switch time, clovapi maps your profile to the anthropic format Claude Code expects — no manual env-var matrix.

  1. 1.Install clovapi

    Install via npm, Homebrew, winget, or use the desktop app.

    npm i -g @clovapi/cli
  2. 2.Save a third-party profile

    Run add and enter upstream base URL, API key, and model ID. Connectivity is probed before persist.

    clovapi add --name my-api
  3. 3.Apply to Claude Code

    Write the profile into Claude Code config. Launch claude with that upstream.

    clovapi switch --cli claude-code my-api

More guides