Skip to content

Provider keys and profiles

Updated Nov 28, 2026
On this page

Raven calls models with your own provider keys. You keep the keys in profiles. A profile holds keys for each provider, and you can share it with other Raven accounts. Open Settings, then Providers.

Profiles and keys

A profile is a named set of keys. To create one, select New profile on the Providers page. If you have no profile, select Create profile to create one named "Default".

Open a profile to add keys. A provider without a key is a row under Other providers. Select its Add key button. When the provider has more than one way to add a key, Add key opens a menu:

Provider Ways to add a key
Anthropic API key, setup token, Sign in with Claude
OpenAI API key, Sign in with ChatGPT
xAI API key, setup token, Sign in with Grok
Google, Groq, DeepSeek, Modal, TypeSafe, Brave API key
  • After its first key, a provider has its own card with its keys and its settings. Add key is on the card.
  • Raven stores a key encrypted and never shows it again.
  • A new key is on at once. Raven calls the provider with it only when it serves a call, or when you select Test in its menu.
  • A sign-in adds a session that Raven refreshes. If the account is already a key in another of your profiles, Raven refreshes that key and leaves it where it is.
  • Use the menu of a key to rename, replace, test, reorder or remove it, or to move it to another of your profiles.
  • A switch turns each key on or off. A switch on the provider turns off all its keys in this profile.
  • A Modal key can have a Base URL: the address of your Modal deployment. It must be a public https:// address. Without it, Raven uses Modal's default gateway.
  • Create a DeepSeek key at platform.deepseek.com. When the balance of a DeepSeek key is too low, calls use the next key.
Limit Value
Profiles that you own 20
Keys for one provider in one profile 10
Profile name 1 to 64 characters, different from your other profile names

The use order

The Providers page lists your profiles under Profiles, in their order. Calls use only the profiles whose switch is on. These are your profiles in use.

  • To change the order, select the arrows of a profile. Raven saves the order at once.
  • To stop using a profile without deleting it, turn off its switch. The profile stays in its place and shows grayed out. When you turn it on again, it serves in the same place.
  • A new profile and a profile that you join go last in the order, with the switch on.
  • At most 50 profiles can be in the order. When it is full, a new profile takes the place of the last profile that is off. That profile still shows last, off.

A call on a provider tries the keys of the first profile in use, in the order of the profile page. Then it tries the keys of the next profile. A call skips the keys that do not serve its model (Models of a key). A call tries at most 6 keys. It changes keys only before the model starts to answer.

A key that rests goes after all the keys that can serve, in every profile. A key rests while it is at a usage limit, or for a time after the provider rejects or limits it.

After a network error or a provider error, a call tries its first key again up to two times before it changes keys. At a usage limit, the call changes keys at once.

When a provider rejects a key, calls skip that key for 15 minutes. The key shows the error and the time it rests until. To let calls try a resting key again at once, select Clear cooldown in its menu.

Key order

Anthropic, OpenAI and xAI have the setting Key order. It sets how calls order the keys of the provider in the profile.

Key order Order
Use expiring quota first (default) The sessions and setup tokens of the profile come before its API keys. The account with the most of its weekly limit left for the time until that limit resets goes first. An account whose use in its 5-hour window would reach the limit before the window resets, at its pace so far, goes after the others. An account at a limit goes last until that limit resets. An account without a usage reading counts as unused.
Take turns The sessions and setup tokens of the profile come before its API keys. They take turns, and the one that waited longest goes first.
Page order Calls use the keys in the order of the profile page.
  • With Use expiring quota first, an account that resets soon goes first while it has a part of its limit left. Thus, that part is not lost at the reset.
  • An account that would reach its 5-hour limit before the window resets stops taking new conversations. Thus, the conversations on it seldom change accounts and keep their prompt cache.
  • Except in page order, a conversation keeps the subscription account that it used in the last hour, when it can. It changes accounts when that account rests or keeps failing. At a usage limit, it changes only as Account changes at usage limits says.
  • A limit that counts one model line, such as the weekly Claude Fable limit, counts only for calls on those models. An account at that limit still serves the other models.

Account changes at usage limits

When the subscription account of a conversation reaches its usage limit, Raven does not move the conversation to another account by itself. The reply ends on an error card.

  • To continue now on another account, select Use another account on the card.
  • When the next key is an API key, the card shows Use API key. You pay for the tokens of the API key.
  • To wait for the account, select Auto retry, or turn on Retry after usage limits in Settings, then Conversations.
  • When no other key can serve, the card shows only the wait.

To let conversations move to your other subscription accounts without the card, turn on Change accounts at usage limits in Settings, then Conversations.

  • With the setting on, Raven tries your other subscription accounts before your API keys, also in later profiles.
  • Raven still asks before a conversation moves to an API key.
  • The setting applies to conversations and Crew agents. Agent runs always change accounts.
  • Network and provider failures change keys as before.

Models of a key

Each key of a provider with two or more models has the setting Models. It shows which models the key serves. A new key serves all models.

  1. On the profile page, select the Models control of the key.
  2. Turn off the models that the key must not serve. Raven saves each change at once.
  • A key with all models on shows All models. It also serves the models that Raven adds to the provider later.
  • A key with a model off serves only the models that are on. It does not serve a model that Raven adds later, until you turn that model on.
  • To keep only one model, hold the pointer on it and select Only. To turn all models on again, select Select all.
  • A key serves at least one model. To stop a key, turn off its switch.
  • A call on a model goes only to the keys that serve it, in their order. The other keys are not tried.
  • The setting applies to conversations, agents, the model API, and image generation. For xAI, the list also has the image models.
  • Test, Wake and auto wake use the smallest model that the key serves.
  • A key with Free tier only serves only the free-tier models that are on. The other models show Not in the free tier.
  • The Add API key and Add setup token dialogs have the same setting. A key from a sign-in serves all models until you change it.
  • A key keeps its models when you sign in again, replace its value, or move it to another profile.
  • When no key of the profile that is on serves a model, the provider card says so.

Free tier

OpenAI and Google give API keys free daily use of some models. To keep an OpenAI or Google API key to these models, turn on Free tier only under the key. You can also turn it on in the Add API key dialog.

  • The key then serves only free-tier models. A call on another model goes to the next key that serves it. ChatGPT sign-ins do not have the switch.
  • A new key is on at once. Thus, turn on Free tier only in the Add API key dialog, so the key never serves a paid model.
  • The daily budgets apply to each key with Free tier only. They show on the provider card when at least one key has the switch on. By default, the OpenAI budgets are 99% of the free tokens, and the Google budgets are the free daily requests.
  • When a key reaches a budget, calls skip that key for those models until the budget resets.
  • Each key with Free tier only shows a bar for each budget, with its use today and the time it resets. A budget of 0 has no bar.
Provider Budget Resets
OpenAI Tokens for the flagship tier and the standard tier Midnight UTC
Google Requests for each free model Midnight Pacific time

OpenAI counts free tokens per organization, and Google per project. Keys of one organization or project share one daily allowance. Raven counts each key alone. Thus, two keys of one organization can use more than the free allowance, and the provider then charges you.

Usage limits

Subscription keys and API keys with Free tier only have a usage limit. Subscription keys are sessions and setup tokens. The Providers page lists your keys with a limit under Usage limits.

  • The list shows only keys that are on, in your profiles in use, for providers that are on.
  • Each key shows its profile, its error or rest, and its use against each limit.
  • Select a key to open it on its profile page.
  • A key with Free tier only shows a bar for each daily budget.
  • A subscription key shows the latest reading of the account. The reading counts all use of the account, also outside Raven. A key without a reading shows No reading yet.
  • Raven reads Claude, ChatGPT and Grok usage while a key is in use. Opening the list does not read the provider.
  • A key that rests at a limit serves again when a new Claude or ChatGPT reading shows room, for example after the limit resets early.
  • The list, the Usage dialog and the header of a conversation show the same reading of a key. Raven reads it again each minute while one of them is on screen, after each answer and just after a window resets.
  • A profile page reads the providers when you open it or select Refresh. It shows the stored readings again each minute.

In a conversation, select the context count in the header, or enter /usage. The Usage dialog shows the keys with a limit that answered in the conversation or its agents, and when each one last answered there.

The context count in the header also shows the state of the key that gave the latest answer, when that key has a limit:

Icon When Text
Triangle The reading is high, such as 90% or more of a window, or the provider warns The fullest window, such as 5h 92%
Circle The key reached a limit, waits after a failure, or must be signed in again or replaced The time calls can use the key again, or the problem, such as Expired

Hold the pointer on the count to see the full message.

Members of a shared profile do not see its readings. Only the owner sees them.

Add a Brave Search API key to a profile to use it for web search.

  • A search tries your Brave keys in the use order, at most 3 keys.
  • "Monthly requests per key" limits the searches of each Brave key in a month. Leave it empty for no limit. A key that reaches the limit rests until the next month, in UTC.
  • Each Brave key shows its requests this month. With a monthly limit, a bar shows them against the limit and the time it resets.
  • Raven counts only its own searches. When you also use the key elsewhere, select Set requests used… in its menu. Enter the count that the Brave dashboard shows.
  • When you have no Brave key, or all your Brave keys fail, Raven searches with a model on your keys instead.

Auto wake

A Claude subscription has a 5-hour window that starts with the first request. Auto wake starts the window early, so it resets earlier. Each subscription key has its own auto wake. Subscription keys are sessions and setup tokens.

  1. On the profile page, find the key under Anthropic and turn on its Auto wake.
  2. Select the hours.
  3. Select the time zone of the hours.

During a selected hour, Raven sends one short request to the key when the key is on and its 5-hour window is not open. The request uses the smallest model that the key serves.

  • Raven does not wake a key whose reading shows that its limit is used up.
  • Raven tries each key at most once in 10 minutes.
  • An account without a 5-hour window shows No limit on its 5-hour meter. Raven does not wake it.
  • The profile page shows when the next selected hour of each key starts.
  • The wake request uses the subscription.

To start the window of one key now, select Wake in its menu.

Share a profile

The owner of a profile can invite other accounts. A member uses the keys of the profile but cannot see them.

  1. On the profile page, under Invites, enter the username of the account.
  2. Select Create invite link.
  3. Copy the link and send it to the person.

The link works once, only for that account, for 7 days. The person sees nothing in Raven until they open the link. A new invite for the same account replaces the old one. To cancel an invite, select Revoke.

The link opens a page of its own. A person who is signed out signs in first. The page shows the name of the profile, the owner, the providers and the monthly limit. Before they join, Raven tells them these facts:

  • The owner sees how many requests they make with this profile and what they cost.
  • The provider accounts in this profile may keep their messages. The owner can read them.
  • The owner can pause or remove them at any time.

To join, they select Accept. The profile goes last in their use order, and its page opens. To refuse, they select Decline. The owner then cannot invite them again. The Providers page lists such owners under Blocked. Select Unblock to allow their invites again.

A profile can have at most 50 members and open invites together.

Sign in to a subscription account once, in one profile, and share that profile. Two sign-ins of the same account from two Raven accounts can stop one of them from working.

Members

The owner sees each member's requests and cost this month on the profile page.

  • Pause stops the member's calls from using the profile. The member keeps it in their order. After Resume, it serves them again in the same place.
  • Remove takes the member out of the profile. The owner can invite them again.
  • A member can leave with Leave. The profile goes out of their order.

A member sees the profile, its owner, the kind and state of each key, and their own use this month. For a key that does not serve all models, they also see its models. They do not see key names or accounts. When the profile does not serve them, the Providers page and the profile page say why.

Monthly limit per member

The owner can set "Monthly limit per member (USD)". It applies to each member and not to the owner. Leave it empty for no limit.

When a member's calls this month reach the limit, the profile stops serving that member. It serves them again at the start of the next month, in UTC. Calls that run at the same time can go a little over the limit.

Calls without a key

Every call uses a key from your profiles in use. When no profile in use has a key on for a provider, calls on its models fail with the error no_provider_key. The same error comes when you have keys for the provider, and none of them serves the model.

  • The model menu shows these models as unavailable.
  • A model without a key for its provider has the text "Add a key in Settings > Providers."
  • A model that no key serves has the text "No key allows this model. See Settings > Providers."
  • If a conversation already uses such a model, the composer shows the same message before you send.
  • The error in the conversation has an Open Providers button.
  • Image generation uses your xAI keys (Generate images).