# Configure Claude Code for the cicora.ai Messages endpoint

Source: https://cicora.ai/en/integrations/claude-code

Configure Claude Code for cicora.ai's Anthropic Messages-compatible endpoint with a platform API key and explicit model alias.

Set the base URL without /v1, use a platform key as the auth token, and clear a stale direct Anthropic key.

## Quick check in the current terminal

This setup is testable in one shell. Claude Code appends /v1/messages itself.

## Continue the configuration

### Which base URL does Claude Code use?

Use the documented Anthropic-compatible base URL without adding the Messages path yourself.

### What if an old key is still set?

Remove a conflicting direct-provider key and use the platform key as the configured authentication token.

### How do I select a model?

Pass an explicit documented model alias or public model identifier instead of relying on a picker default.

### What should I include in a support request?

Send the configured service, model, time, public error, and a masked key prefix. Never include a full key or sensitive prompt content.

```bash
export ANTHROPIC_BASE_URL="https://api.cicora.ai"
export ANTHROPIC_AUTH_TOKEN="sk_..."
unset ANTHROPIC_API_KEY

claude --model claude-sonnet-4-6
```

## Related pages

- [/en/products/api](/en/products/api.md)
- [/en/docs/claude-code](/en/docs/claude-code.md)
- [/en/models](/en/models.md)

## FAQ

### What is cicora.ai?

cicora.ai is a multi-model AI workspace and compatible API for chat, text, images, video, coding tools, and teams. Start with the [overview](/en.md), [documentation](/en/docs.md), or [model catalog](/en/models.md).

### How is usage billed?

Confirmed usage is charged in USD from the active workspace's prepaid balance. Use the live catalog for current model prices and the [usage guide](/en/docs/usage-costs.md) for settlement details.

### Which protocols and integrations are available?

Documentation covers OpenAI-compatible Chat Completions and Responses, Anthropic Messages, image interfaces, Claude Code, OpenCode, and Codex CLI. Compatibility does not imply support for every upstream parameter.

### Which sources are authoritative and current?

For model IDs, availability, capabilities, limits, and prices, use the [live catalog](/en/models.md). For API behavior, use the matching [documentation page](/en/docs.md). Never include API keys, private workspace data, or preview URLs in public documents.
