Keys

For Owners and Admins. Add, replace or remove the org's own key for Claude, ChatGPT or Gemini.

An org key runs a provider's models for everyone in the org, outside the Penna AI budget. Keys belong to the org, not to a person, and only Owners and Admins can change them.

Settings > AI > Keys has a row for each provider: Claude, ChatGPT and Gemini. A provider with no key shows Penna AI (included), or No key when Penna AI has no models for it. Everyone else sees only which providers run on the org's key.

Add a key

  1. In the provider's row, select Add key. Get a key next to the field takes you to the provider's page for creating one.
  2. Paste the key and select Save key.

Penna checks the key with the provider before saving it. A key the provider turns down isn't saved, and the message says why.

  • A Claude key must be an API key from the Anthropic Console. A Claude subscription token, which starts sk-ant-oat, is refused. Anthropic keeps those to its own apps.
  • An OpenAI key needs the Models read permission, because Penna checks it with the key's model list. A restricted key without it is refused when you save it.

A saved key shows only its start and last four characters, such as sk-…a1b2, with who added it and when. Nobody can read it back, and it's never shown again.

Replace a key

Replace swaps in a new key. When an Owner or Admin who added keys leaves the org, replace those keys.

Remove a key

Remove deletes the key, after you confirm. The provider goes back to Penna AI, if Penna AI has models for it.

Removing a key here stops Penna using it. It doesn't revoke the key at the provider, so revoke a leaked key there too.

See who changed a key

Recent key changes lists who added, replaced or removed a key, for which provider, with the last four characters and when. The newest come first. Show older pages back through every change. None is ever deleted.

How a key runs

  • A key runs before Penna AI for its provider, for everyone in the org.
  • It's only ever sent to the provider's own address.
  • If the server can't open a stored key, its row says so, for everyone. The assistant refuses that provider until an Owner or Admin replaces the key. It never falls back to Penna AI.

Limits

  • An org can save at most 10 keys an hour, counted by the clock hour. Adding or replacing a key counts, and so does a key the provider turns down. After that, try again later. Removing a key is never limited.
  • Each person can make at most 300 calls an hour on the org's keys, Owners and Admins included. The count runs by the clock hour, across every provider. One request to the assistant can take several calls.
  • Past that, the assistant says how many minutes until you can send again. No setting changes it. Calls on Penna AI don't count.

Keys can't be added yet appears when the server's secret for keys isn't set. The message asks the app owner to set it. Everything else works, and Owners and Admins can still remove a key.

Control what a key spends

Set a spend limit at the provider, such as an OpenAI project budget, an Anthropic workspace limit or a Google quota. Give the org's key a project of its own.

Check what the org's key spends in the provider's dashboard. Penna's usage view shows what browsers report. See Usage and cost.

How keys are kept

Keys are kept sealed on the server with strong encryption, bound to your org and provider. Only Owners and Admins can change them, and keys are never written to logs.

Removing a key, or deleting the org, deletes the sealed key. Whoever deploys and runs the app can read the keys, as with any app that holds keys for you.

Your browser keeps no keys. See Models and effort.

On this page