Preview — local backends only. This feature is currently available on
local agent-server backends. Cloud support is planned. UI labels and the
wizard flow are subject to change while the feature is in review
(see OpenHands/OpenHands#15492).
How it works
- Open
Settings > LLMand choose Connect a Provider. - Select a vendor (Anthropic, OpenAI, Google, or another supported provider).
- Paste the API key issued by that provider. Add an optional label to tell connections apart when you have more than one key for the same vendor.
- OpenHands tests the key (when the key field loses focus, or via Test connection) and, on success, shows the models it grants.
- Pick which models to make available. Models marked Recommended are pre-selected; use Select all or expand More from for the rest. Each selected model becomes an LLM profile that shares this connection’s key.
- The connection appears in the Provider Connections list, where you can Refresh, Rotate key, or Disconnect it later.
Provider Connections vs. LLM Profiles
Provider Connections sit above the LLM Profiles list in
Settings > LLM.
They do not replace profiles — a profile still selects the exact model for a
conversation. A connection lets you establish the key once so profiles that use
the same vendor can reuse it.
Refresh and update the catalog
Select Refresh on a connection to re-test the key against the provider’s catalog. This pulls the current model list on demand; OpenHands does not run a background refresh job in this release. Refreshing after a provider adds new models makes them available when you next connect or re-pick from that provider. If the key no longer works, the connection shows the error returned by the provider (for example, an expired or revoked key). Use Rotate key to update the key without removing the connection — every profile created from the connection picks up the new key automatically.Remove a connection
Select Disconnect on a connection and confirm to remove it. Profiles that referenced the connection’s key will need a new key before they can authenticate again — OpenHands warns you when a removed connection still has profiles pointing at it.Availability and follow-ups
The following are not part of the preview and will arrive in follow-up releases:- Cloud backends — the section is hidden on cloud until the
deployapp-server mirror lands. - Background catalog refresh — an automatic periodic refresh of the model list (today this is pull-on-demand via Refresh).
- Multiple keys per provider — connecting more than one key to the same vendor (for example, separate work and personal keys).

