Anthropic says OpenClaw-style Claude CLI usage is allowed again
8 hours ago
- #Anthropic Integration
- #API Configuration
- #Claude Models
- Anthropic provides Claude models accessible via API and CLI, with OpenClaw supporting both API keys and legacy token profiles. Setup involves creating an API key in the Anthropic Console, with default adaptive thinking for Claude 4.6 models that can be overridden per-message or in model parameters.
- OpenClaw supports fast mode for direct Anthropic API traffic, mapping to service tiers, and prompt caching with durations like short (5 minutes) or long (1 hour), configurable via cacheRetention parameters. It also enables beta features like the 1M context window when explicitly set and allowed by credentials.
- Claude CLI backend is sanctioned for reuse in OpenClaw, though API keys are recommended for production. Troubleshooting includes addressing 401 errors by migrating to API keys, checking auth profiles with openclaw models status, and handling rate limits by adding profiles or waiting for cooldowns.