Scope of token limitsToken limits apply only to playground runs and offline evaluation, not to production SDK traffic.
LaunchDarkly does not limit or meter tokens consumed when your application calls a model provider directly through an AI SDK.
Prerequisites
To configure token limits, you must have the following prerequisites:- An Admin or Owner role in your LaunchDarkly organization
- Access to AgentControl
LaunchDarkly-provided model access has a separate limitIf your organization uses LaunchDarkly-provided model access rather than your own provider credentials, LaunchDarkly applies its own daily usage cap. Admins cannot raise or disable that cap. To access models beyond this limit, add your own provider credentials. To learn more, read Model provider access.
Viewing token usage
Only Admins and Owners can access the Evaluation tokens page. To view token usage:- Log in to LaunchDarkly as an Admin or Owner.
- Click Settings. Under “Plans and usage,” click Evaluation tokens.
Setting a daily token limit
Only Admins and Owners can set a daily token limit. To set a daily token limit for your organization:- Log in to LaunchDarkly as an Admin or Owner.
- Click Settings. Under “Plans and usage,” click Evaluation tokens.
- Under “Daily token limit per member,” choose one of the following options:
- Drag the slider to the token amount you want to set, or
- Enter a token amount in the tokens field.
- Click Save.
Reaching the token limit
Token limits help your organization manage AI costs predictably. Because the limit applies per member, one member reaching their limit does not affect other members. When a member exhausts their daily token limit, LaunchDarkly blocks that member from starting new playground runs and offline evaluation runs and displays a banner in the user interface (UI).Restoring tokens
Token usage resets automatically at 00:00 UTC each day. Admins can also restore tokens before the daily reset in the following ways:- Increase the daily token limit
- Disable the token limit
Token usage during concurrent evaluations
Because token usage is calculated asynchronously, members who are close to their daily token limit may exceed it slightly when they run a playground generation or an offline evaluation. For example, even if a member’s token limit is 10,000 tokens, the member’s ending usage might show 11,500 tokens. The member cannot start another playground run or offline evaluation after they exceed their token limit. When working with multi-row datasets, the evaluation stops mid-run if the token usage is exceeded after a certain row. LaunchDarkly saves all completed rows.Next steps
- To learn more about AgentControl billing, read Calculating billing
- To learn more about multi-row datasets, read Offline evaluations
- To learn more about playground runs, read Playgrounds