Skip to main content
Connect an account-level Anthropic or OpenAI Provider Key once to let model routers call closed models. After that, developers authenticate with only their Fireworks API key. When a router selects a closed model, Fireworks sends the request with the stored provider credential. FireConnect configures the developer’s Fireworks credential through fireconnect login. The provider key stays with the account, so it is never distributed to developers or pasted into a chat. Fireworks encrypts it at rest and never shows it in full again.
Admin: connect the provider key once. Developer: run fireconnect login. Request: send only the Fireworks API key.
Router availability in FireConnect varies by harness. See Harness Compatibility for current support.
Provider Keys is an account-admin-only feature. You must be an account admin to connect, replace, or remove a key, whether from the dashboard or through firectl.

Check provider support and connection states

  • Providers: You can connect Anthropic and OpenAI in the dashboard. The API and firectl also accept Grok and Bedrock when enabled for your account.
  • One active key per provider: You can upload several keys for one provider, but only one can be active for routing at a time.
Each provider is always in one of these states:

Connect a key in the dashboard

Connect a Provider Key from Settings without using a terminal.
1

Open Provider Keys

Open Settings and go to Provider Keys.
2

Connect a provider

Find the provider you want (Anthropic or OpenAI) and click Connect.
3

Paste your key

Paste your key and click Connect. You will see a confirmation once it is saved.
The provider then shows Connected. Requests typically begin using the key within 30–60 seconds of connecting it.
Connecting a provider key from the Provider Keys page in Settings

Replace or remove a key

Open the menu on any connected provider to:
  • Replace: swap in a new key value for that provider.
Replacing the key value for a connected provider
  • Remove: remove the key.
Removing a connected provider key
Changes typically propagate within 30–60 seconds. The provider may briefly show Connecting or Disconnecting.

Manage keys with firectl

You can also connect, replace, remove, and inspect Provider Keys with firectl. Use firectl provider-key to manage stored keys and firectl provider-key-binding to choose which key is active for routing. firectl firerouter-provider-key is an alias. The CLI can also stop using a key for routing without deleting it (provider-key-binding unbind). The key remains stored, so you can bind it again without re-uploading it.
First time using firectl? Follow Getting started to install it.

Add or replace a key

upload stores a key but does not make it active for routing. Use bind to make it active. --provider-type is required and accepts anthropic, openai, grok, or bedrock where enabled. For the quickest setup, pass an environment variable to --api-key. This keeps the value out of your shell history:
You can also point at a file with --from-file. The file should hold only the raw key, with no JSON or quotes. firectl trims surrounding whitespace:
On a shared or multi-user machine, prefer --from-file. The shell expands $ANTHROPIC_KEY before firectl starts, so --api-key keeps the key out of your shell history but still exposes it in the process list (ps) while the command runs. --from-file passes only the path.
To rotate a provider, upload the new key and bind that key’s ID. The old key stays stored until you delete it.

Check status

provider-key list shows each stored key’s ID, provider, masked preview, and display name. provider-key-binding list and get show each provider’s connection state and active key_id.

Delete a key

Use the key_id from upload or provider-key list. If that key is live for the provider, unbind it first. Unbind stops routing from using it; the key stays stored until you delete it.

Key behavior and security

  • An explicitly provided key on a request takes precedence. If a request already includes a provider key, that key is used and the stored one is skipped.
  • Changes are not instant. After you connect, replace, or remove a key, allow 30–60 seconds for the change to reach requests.
  • Your key stays private. The full key is stored securely and never returned. The dashboard and API only show the provider, state, masked preview, and dates.