Skip to content
Beltr documentation home
beltr.ai

Account and organisation

Choose a model and add provider keys

Pick the model that answers your questions, store the key of its provider and test the connection.

The model writes the answers in Ask. It runs at a model provider, and Beltr needs that provider’s keyProvider key The API key of a model provider, such as Anthropic or OpenRouter. Beltr keeps it in the system keychain and never shows it again.. Beltr works with Anthropic and OpenRouter.

Open Settings with GG then ,, and choose Models & keys. The page “Applies to you on this computer”: every workspace you open here uses the same model and keys. You do not need a workspace open to change them.

  1. Under Provider keys, choose Add key beside the provider.
  2. Paste the key into the field, such as Anthropic API key, and choose Save key. A key has at least 12 and at most 4,096 characters.

You should see

You should see Key stored beside the provider.
The Provider keys section of Models & keys. Anthropic, marked Used for chat, and OpenRouter each show Not set and an Add key button. Marker 1 is on the section.
The Provider keys section of Models & keys. Anthropic, marked Used for chat, and OpenRouter each show Not set and an Add key button. Marker 1 is on the section.

“Keys go to the system keychain. Beltr never shows a stored key again.” To change a key, choose Replace key; to delete it from the keychain, choose Remove key and confirm with Remove. See Credentials and the keychain.

With a workspace open, choose Test beside a stored key. The test sends one request to the provider with the key and nothing else: no workspace data and no prompt. Without an open workspace, the button says “Open a workspace to test the connection.”

Result What to do
Connected in … ms Nothing. The provider accepted the key.
“… refused the key. Replace it with a valid one.” Choose Replace key and paste the right key.
“… is limiting requests. Try again in a minute.” Wait, then test again.
“… answered with an error. Try again later.” The provider has a problem. Test again later.
“Could not reach …. Check the network connection.” Check that this computer can reach the provider. See System requirements and deployment.
  1. Under Chat model, choose the Provider. Each tile says whether its key is stored: Key stored, No key yet, Connected after a passed test, or Key refused.
  2. Choose a model in the list. Each row shows the price of the model in US dollars per million tokens, Input and Output. For OpenRouter, the list is grouped by the model’s maker, such as Anthropic, OpenAI, Google or Mistral AI.
  3. To use a model that is not in the list, choose Other model and type its Model ID as the provider names it.
  4. Choose Save model. The button appears only once you change something; Discard goes back to the saved model.

You should see

You should see Chat model saved.

The chat model is “Used for every new conversation.” If its provider has no key, the page says “… has no key yet, so the agent cannot answer.” with Add key beside it. You can also switch the model in the message field while you ask; see How Beltr finds an answer.

OpenRouter passes your conversations on to a company that serves the model. For some makers that company is not the maker: the group then says “served by” and the company, for example Alibaba Cloud for Qwen. For some models, Settings notes “OpenRouter may serve this model from another company than its maker.”

When you choose an OpenRouter model of another maker than the one in use, Beltr asks Send conversations to …? and names the company. Choose Send to … to save the model, or Cancel to keep the one you have. What may be sent depends on the workspace’s data sharing; see What leaves the computer.