Skip to main content

Before you begin

Create a key on the API Keys page, confirm the Model ID on the Models page, and export it in the shell where you run Claude Code. CerasAI natively supports the Anthropic Messages API at https://api.cerasai.cloud/v1/messages, so Claude Code connects directly without a local proxy.
1

Export CerasAI environment variables

2

Launch Claude Code

Setting ANTHROPIC_AUTH_TOKEN overrides a Claude.ai login for that shell. Export these variables in a dedicated shell or profile to keep an existing subscription usable elsewhere.
ANTHROPIC_DEFAULT_HAIKU_MODEL handles lightweight background work such as session titles. Check the Models page for each model’s context window when configuring CLAUDE_CODE_MAX_CONTEXT_TOKENS.