These are your provider credentials, not Pretty credentials. Pretty does not issue API
keys and has no public API or SDK. When workspace settings say “API keys”, it means the keys
your organization holds with a model provider, which Pretty then calls on your behalf.
Setting it up
From the settings drawer, Workspace → Edit Workspace Settings, then the Custom API Keys section. Owners and Admins only. Pick a Provider, paste the key, fill in whatever else that provider needs, and click Connect. For LiteLLM and for OpenAI’s regional endpoints the button reads “Verifying connection…” while Pretty checks the credentials actually work before saving them. Once connected, the section collapses to a single row showing the provider name and its state, such asConnected · eu-central-1, with Disconnect next to it. Disconnecting returns the
workspace to Pretty’s provider access, unless BYOK is required (below).
One provider is active at a time. To move to a different one, disconnect the current provider
first. The form only reappears once nothing is connected.
The four providers
- OpenAI
- AWS Bedrock
- Google AI Studio
- LiteLLM
Fields: OpenAI API key (
sk-…), Region.Region controls data residency and offers three choices:Regional endpoints only accept keys from an OpenAI project created in that region, which
requires data-residency approval from OpenAI. If your key is an ordinary one, leave the
region on Default.Models in the picker: GPT-5.6 Terra (High), GPT-5.6 Sol (Medium), GPT-5.6 Sol (High).
Requiring BYOK
A workspace can be set to refuse Pretty’s provider access entirely, so chat never silently falls back to it. With that flag on and no key configured, requests stop with:Your organization requires an API key, but none is configured. Add one in settings to continue.Admins get an Open settings action on that message. Members cannot fix it themselves. They need an admin to connect a key.
Troubleshooting
The AI provider rejected your API key
The AI provider rejected your API key
“Please check that your key is valid in settings.” The key was revoked, mistyped, or has no
access to the model being used. Reconnect with a fresh key. For OpenAI on a regional
endpoint, check the key belongs to a project in that region. An ordinary key against
eu.api.openai.com is rejected.The selected model isn't available on your LiteLLM proxy
The selected model isn't available on your LiteLLM proxy
“An admin needs to add it to the proxy’s model list.” Pretty offers the model; your proxy
does not route it. Add it to the proxy config, or tell people which models to stay on.
The AI provider's quota has been exceeded
The AI provider's quota has been exceeded
This is your provider’s limit, not Pretty’s: “Please check your plan and billing details,
or update your API key.” Raise the quota with the provider. For Pretty’s own monthly
budget, which is a different thing, see Usage and limits.
Requests fail only in one Bedrock region
Requests fail only in one Bedrock region
Model access in Bedrock is granted per region. Enable the models in that region, or
reconnect against a region where they are already enabled.