# OpenRouter OpenRouter is a unified API service that consolidates access to numerous language models through a single endpoint and authentication key. The platform maintains OpenAI compatibility, enabling users to leverage existing OpenAI SDKs by simply modifying the base URL configuration. ## Setup Instructions **Command line onboarding:** ```bash openclaw onboard --auth-choice apiKey --token-provider openrouter --token "$OPENROUTER_API_KEY" ``` **Configuration example:** ```json5 { env: { OPENROUTER_API_KEY: "sk-or-..." }, agents: { defaults: { model: { primary: "openrouter/anthropic/claude-sonnet-4-5" }, }, }, } ``` ## Key Points - Model identifiers follow the format: `openrouter//` - Additional model and provider options are documented in the model-providers concepts section - Authentication uses Bearer token methodology with your API key