Weave Router provides an installer for configuring routed connections for coding clients such as Claude Code or Codex. Users can choose hosted setup or self-hosted setup, and after configuration check the connection, switch back to the normal provider, or remove the configuration.
Purpose: The main purpose of Weave Router is to help users connect coding clients (such as Claude Code, Codex CLI) to the Weave Router service so that models can be selected through the Router to handle upstream API requests. The documentation refers to each upstream API request as an action; a single user interaction may contain multiple actions.
Main capabilities:
- Provides two methods: hosted setup and self-hosted setup. Hosted setup configures a connection to a hosted Weave Router through the installer and does not start a local Router server. Self-hosted setup can use Docker Compose for local deployment or provide an existing deployment URL.
- Supports user-level and project-level configuration. Project-level configuration requires running the installer in the target repository, and attention must be paid to credential handling to avoid committing Router keys or provider credentials.
- Provides a status check command to verify connectivity, native configuration, and account health status.
- Supports disabling or enabling routing (using the off/on commands), as well as uninstalling client configuration (using --uninstall --claude or --uninstall --codex).
- The installer can reuse jq or automatically download a verified copy on supported platforms.
Usage: Prerequisites: Node.js 18 or later, as well as npm and npx; the coding client to be configured must be prepared separately. On macOS and Linux, the installer uses Bash; on Windows, PowerShell supports basic setup, but commands such as status, models, subscription login, and account management require Git Bash or WSL. Network access to npm, GitHub, and the selected Router endpoint is required.
Hosted setup: Run the installation command in the terminal (opens the hosted setup page when no client target is specified), or explicitly select a client for configuration. Follow the authentication and setup prompts. After configuration, use the status command to check the specified client. After changing Claude Code's routing settings, exit and reopen it; Codex takes effect on the next run.
SelfHosted setup: Use the local option for Docker Compose setup, or provide an existing deployment URL (the URL in the documentation is a placeholder and must be replaced with the actual deployment address). Self-hosting has separate provider credentials, service dependencies, and operational requirements; follow the deployment instructions and do not assume hosted account or plan behavior applies to self-hosted servers.
Switching back or removing configuration: For user-level installation, use the off command to disable the selected client without deleting the Router configuration, and use the on command to re-enable it. Project-level installation requires including --scope project in the same repository. To remove configuration, use --uninstall --claude or --uninstall --codex and match the original scope.
Applicable scenarios: For users who need to configure routing connections for Claude Code or Codex CLI, including scenarios where they want to use a hosted service or self-deploy Router. Also applies to situations where configuration needs to be managed across different projects, connection status checked, or routing temporarily disabled.
Limitations: The installer requires Node.js 18+, npm, and npx, as well as network access to npm, GitHub, and Router endpoints. Some commands on Windows require Git Bash or WSL. For hosted setup plan features and access permissions, refer to the Router pricing page (the documentation does not provide specific details). Self-hosted setup requires users to manage provider credentials, service dependencies, and operations themselves. The documentation does not provide specific billing, pricing, or performance information.