Claude Code
Set up sivcloud in Claude Code: a ready-to-copy configuration snippet.
Claude Code speaks the Anthropic format, so the model must open the /v1/messages endpoint. The list of models and the endpoints each one opens is on the Models page in the console.
Set up
export ANTHROPIC_BASE_URL=https://ai.sivcloud.com
export ANTHROPIC_AUTH_TOKEN=SIVCLOUD_API_KEY
export ANTHROPIC_MODEL=deepseek-v4.1-flash
claude
Replace SIVCLOUD_API_KEY with your API key. The address has no /v1 because Claude Code adds it.
Check
- Save the configuration, then restart Claude Code if needed.
- Send a short message. The usage shows on the Usage page within moments.
- Seeing
invalid_api_key? Check the API key. Seeingmodel_not_found? Check the model id. Full list: Error codes.
The request format is explained on the endpoint page. Never write the API key into a file that goes into a repository.