Last updated: November 23, 2026
OpenRouter management keys can now be limited to one workspace, set to read-only, or both. The change, announced on November 16, 2026, is available on every plan. Scope and access level are fixed at creation, read-only keys get 403 Forbidden on any write, and workspace keys cannot touch budgets or other workspaces.
Contents
- What changed on November 16
- The four kinds of management key
- How to create a scoped key
- What a workspace key can and cannot call
- Expiration, errors and rotation
- Before and after, and how it compares
- Frequently asked questions
What changed on November 16
Management keys are OpenRouter’s administrative credentials. According to the management API keys guide, they let you create and rotate API keys, manage members and workspaces, set budgets and guardrails, and configure BYOK and observability. They cannot be used on the completion endpoints, so they never run models.
Until this release, every management key had full read and write access to the whole organization. OpenRouter’s announcement, “Tighter Access Controls for Management Keys”, explains the problem: a team that wanted to automate its own workspace had to use a key that could also reach every other team’s workspace.
Each management key now has two settings:
- Scope: one workspace, or the whole organization.
- Access level: Read only, or Read and write.
OpenRouter says the feature is available to every organization on every plan. Workspace Admins can now create keys for their own workspace, which means a team can automate its workspace without asking an Organization Admin for an organization-wide credential.
The four kinds of management key
Scope and access level combine into four kinds of key. The examples in the right-hand column come from OpenRouter’s announcement.
| Scope | Access level | What it can do | Typical job |
|---|---|---|---|
| One workspace | Read and write | Manage that workspace’s API keys, members, guardrails, policies, BYOK keys, observability destinations and presets; read its budgets, activity and analytics | An agent or deploy pipeline that creates and rotates one team’s API keys |
| One workspace | Read only | Read the same workspace resources; any write returns 403 | A usage dashboard for one team |
| Organization | Read only | Read across all workspaces, including analytics queries | An organization-wide audit or cost tool |
| Organization | Read and write | Every management route, as before | Creating workspaces and setting budget limits |
The docs also describe a third access level, access_level: "custom", which grants only the actions listed in extra_permissions. The permissions section says this per-resource picker is offered on OpenRouter’s alpha site, so treat it as early access rather than a standard option.
How to create a scoped key
The dashboard steps below follow the workspace-scoped keys section of the docs.
- Open the workspace. Go to Keys and select the Management keys tab. Workspace Admins can do this for their own workspace; Organization Admins can do it for any workspace.
- Click New management key. The dialog shows which workspace the key will be scoped to.
- Name the key after its job. A name such as
team-a-cost-dashboard-romakes later audits easier. - Choose an expiration. OpenRouter recommends an expiration on every management key, because a key without one stays valid until you delete it.
- Pick the access level. Choose Read only for dashboards, monitors and audit scripts, and Read and write only for automation that must change things.
- Copy the key immediately. It is shown only once.
- Test it. Call
GET https://openrouter.ai/api/v1/keyswithAuthorization: Bearer $MANAGEMENT_KEY. For a read-only key, confirm that aPOSTto the same URL returns 403.
For an organization-wide key, Organization Admins use the Management API Keys page in account settings instead of the workspace Keys page.
To review existing keys, the announcement says to open Security settings, go to Key safety, open Filter keys and select Show management keys. Each active key appears with its owner, last use and expiration.
What a workspace key can and cannot call
The docs list the exact routes a workspace-scoped key may use, and only for its own workspace. When a route takes an optional workspace_id, it defaults to the key’s own workspace. Allowed areas include:
- API keys:
GETandPOST /api/v1/keys, plusGET,PATCHandDELETE /api/v1/keys/{hash}for the workspace’s own keys. - Workspace and members: read and update the workspace, list members, and add or remove members.
- Budgets: read only. Setting or deleting a workspace budget needs an organization-scoped key.
- Guardrails and guardrail policies: create, update, delete and assign to the workspace’s keys. Policy types are
budget,moderationandmodel-availability. - BYOK, observability destinations, analytics, activity and presets for the workspace.
Everything else needs an organization-scoped key and returns 403 Forbidden to a workspace key. That includes creating and deleting workspaces, workspace budgets, credits, organization settings and members, SCIM, private endpoints and providers.
One read-only exception: reading guardrail policy assignments for a member or API key needs a read/write key, because the read creates the assignment if it does not exist.
Expiration, errors and rotation
Scope, access level and expiration cannot be changed after creation. To widen, narrow or extend a key, create a new one, update your secret, and delete the old one. The errors table tells you which rule a failing request broke:
| Status | Message | Meaning |
|---|---|---|
| 401 | Invalid management key | Key deleted, missing, or not a management key |
| 401 | API key expired | The key’s expiration date has passed |
| 403 | Management key does not have permission for this request | A read-only key tried to write, or the resource is outside its scope |
| 403 | Management key is scoped to a workspace; this request requires an organization-scoped management key | A workspace key called an organization-level route |
| 403 | Management key is scoped to a different workspace | A workspace key named another workspace |
A practical rotation pattern is to give each automation its own key with an expiration, record the expiry date next to the secret, and create the replacement a few days early. OpenRouter warns that automations left on an expiring key will start receiving 401 API key expired responses.
Before and after, and how it compares
The previous design gave every management key organization-wide read and write access. The new design supports a least-privilege approach: one credential per job, limited to the smallest area that job needs. OpenRouter’s pitch is containment. If a key leaks or an agent misbehaves, the damage stays inside one workspace, or stays read-only.
Containment is not elimination. A leaked read-only key still exposes whatever it can read, such as key lists, activity and analytics, so expirations and the Key safety review still matter.
If you route traffic through OpenRouter, see our guides to OpenRouter Auto Code routers and Hugging Face inference routing through OpenRouter. For comparable spending and admin controls on the Anthropic side, see Claude linked billing and spend caps and Claude Enterprise Frontier Safeguards.
Frequently asked questions
What is an OpenRouter management key?
A management key is an OpenRouter API key for administrative work only. It can create and rotate API keys, manage workspace members, guardrails, BYOK credentials, observability destinations and presets, and read usage. It cannot call the completion endpoints to run models.
Can I make an OpenRouter management key read-only?
Yes. Since November 16, 2026, you choose Read only or Read and write under Access level when you create the key. A read-only key can call the read routes its scope allows, including analytics queries, and any write request returns 403 Forbidden.
What can a workspace-scoped management key not do?
It cannot leave its own workspace. Listing, creating and deleting workspaces, setting or deleting workspace budgets, credits, organization settings and members, SCIM, and private endpoints all need an organization-scoped key and return 403 Forbidden to a workspace key.
Can I change a management key’s scope or expiration later?
No. Scope, access level and expiration are fixed when the key is created. To change any of them, create a new key, move your automation to it, and delete the old key.
What happens when a management key expires?
Every request that uses it fails with 401 Unauthorized and the message API key expired. Expired keys remain listed on the Management API Keys page until you delete them, so schedule rotation before the expiration date.
Sources
- OpenRouter: Tighter Access Controls for Management Keys (November 16, 2026)
- OpenRouter docs: Management API Keys