Manage Claude Code API upstream

Save profiles with clovapi add, then apply with clovapi switch for Claude Code — official subscriptions or third-party APIs.

Install CLI
$npm i -g @clovapi/cli
$clovapi add --name prod
$clovapi switch --cli claude-code prod

Automatic API format

When switching to Claude Code, clovapi picks the upstream protocol that CLI expects.

anthropic

/v1/messages · Anthropic Messages API, the native format for Claude Code and similar agents.

Related guides

Other supported agents