Anthropic builds the Claude model family and provides access via an API and Claude CLI. In OpenClaw, Anthropic API keys and Claude CLI reuse are both supported. Existing legacy Anthropic token profiles are still honored at runtime if they are already configured.
Option A: Anthropic API key
Best for: standard API access and usage-based billing. Create your API key in the Anthropic Console.
CLI setup
openclaw onboard # choose: Anthropic API key # or non-interactive openclaw onboard --anthropic-api-key "$ANTHROPIC_API_KEY"
Anthropic config snippet
{ env : { ANTHROPIC_API_KEY : "sk-ant-..." } , agents : { defaults : { model : { primary : "anthropic/claude-opus-4-6" } } } , }
Thinking defaults (Claude 4.6)
Anthropic Claude 4.6 models default to adaptive thinking in OpenClaw when no explicit thinking level is set.
thinking in OpenClaw when no explicit thinking level is set. You can override per-message ( /think:<level> ) or in model params: agents.defaults.models["anthropic/<model>"].params.thinking .
... continue reading