task.llm. By default, agents use managed LLM access backed by your Guild tokens balance. You can switch to bring your own key (BYOK) by adding a provider API key.
LLM configuration is stored on an account (your user account or an organization), not on individual workspaces. Sessions in a workspace use the LLM settings for that workspace’s owner account.
Open LLM settings
The console Settings panel lists LLM Settings after Credentials and before Usage.Personal account
Direct URL:
https://app.guild.ai/settings/llm-settings
Organization
Organization LLM settings apply to workspaces owned by that organization. Only organization admins can open this section.
Direct URL:
https://app.guild.ai/organizations/{org-name}/settings/llm-settings
Managed vs BYOK
| Mode | When it applies | Billing |
|---|---|---|
| Managed | No active provider API keys on the account | LLM usage draws from your Guild tokens balance |
| BYOK | At least one active provider API key | Calls use your provider account; your Guild tokens balance is not consumed |
- Managed () — Guild runs LLMs on your behalf using managed infrastructure.
- BYOK (Bring Your Own Key) — Guild routes LLM calls through your default API key.
Add an API key
Click Add API key in the page header.| Field | Description |
|---|---|
| Provider | Anthropic, OpenAI, or Gemini |
| Name | A label you choose (for example, Production or Testing) |
| API Key | The key from your provider console |
| Default | Whether this key is the default for LLM calls. The first key you add is marked default automatically. |
Manage keys
The keys table lists each key’s provider, masked API key, created date, and creator. Use the row menu to:- Set as default — Use this key for LLM calls when multiple keys exist.
- Delete — Archive the key. Archived keys appear when you filter to Archived keys.
Daily token limit
When you use BYOK, you can set a Daily token limit below the keys table. All LLM requests are rejected after the account exceeds this limit for the day. The limit resets at midnight UTC. Leave the field empty for unlimited usage. This limit applies to LLM usage on the account while BYOK is active.Guild tokens balance
When the account is in managed mode, the page shows your Guild tokens balance. The balance is indicative and may not update in real time.How agents use these settings
Agents do not embed provider API keys in code. At runtime, Guild resolves LLM configuration for each session from the workspace owner’s account settings. See LLMs for callingtask.llm from agent code and Credentials for connecting third-party services agents use as tools.