Skip to main content

Create the API key

An API key calls models and other inference routes. It cannot read organization members or workspaces; use the Management API Key method for those.

1

Create the key

Sign in to OpenRouter and open the API keys page.

  • Create a key.
2

Copy the key

OpenRouter shows the key once.

  • Copy the API Key across.
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.