For AI agents: the complete documentation index is available at https://aioproxy.dev/llms.txt, the full documentation bundle is available at https://aioproxy.dev/llms-full.txt, and this page is available as Markdown at https://aioproxy.dev/guide/providers/oauth/openrouter.md.
  • English
  • OpenRouter OAuth

    Connect OpenRouter accounts using PKCE authorization code flow.

    Configuration

    config.jsonc
    {
      "providers": {
        "openrouter": {
          "kind": "oauth",
          "plugin": "@aio-proxy/plugin-openrouter",
          "capability": "default",
        },
      },
    }

    Login

    aio-proxy oauth login openrouter