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.Install clovapi
Install via npm, Homebrew, winget, or use the desktop app.
npm i -g @clovapi/cli2.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-api3.Apply to Claude Code
Write the profile into Claude Code config. Launch claude with that upstream.
clovapi switch --cli claude-code my-api