Skip to content
Docs

Create an OpenRouter API key

This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.

Distilled from OpenRouter’s Authentication and Get current API key pages, retrieved 2026-10-02, and In-Region Routing, retrieved 2026-10-30.

OpenRouter routes one API key to models from many providers and bills every call to your OpenRouter credits. One key reaches all of them, so set a credit limit on it.

  1. Sign in at openrouter.ai and make sure the account has credits. Paid models are billed to the credit balance.
  2. Open the Keys page (openrouter.ai/keys) and create a key.
  3. Name the key after where it will be used, so its usage is recognisable later.
  4. Choose a credit limit. OpenRouter recommends one on every key: a key with no limit lets a leaked key or a runaway agent spend the whole balance, including any automatic top-ups.
  5. Copy the key and paste it into the connection.
  6. Choose the connection’s region. Global (openrouter.ai) works on every plan. European Union (eu.openrouter.ai) and United States (us.openrouter.ai) keep every request in that region, and need the Business or Enterprise plan on the account (EU routing is self-serve on Business). In a region, a model with no endpoint there fails rather than leaving it.

The connection checks the key by asking OpenRouter for the key’s own details (label, limit and usage). It spends no credits.

Open Connections under Credentials, choose OpenRouter, and pick OpenRouter API key. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.

See also: OpenRouter in the catalog.

This guide is maintained by Publicus and published under CC BY 4.0.