#OpenRouter with Anthropic?
1 messages Β· Page 1 of 1 (latest)
To run Claude 4.5 through OpenRouter, use the openrouter/anthropic/<model> format:
Setup:
# Authenticate with OpenRouter
clawdbot onboard --auth-choice apiKey --token-provider openrouter --token "$OPENROUTER_API_KEY"
Config:
{
env: { OPENROUTER_API_KEY: "sk-or-..." },
agents: {
defaults: {
model: { primary: "openrouter/anthropic/claude-sonnet-4-5" }
// or for Opus: