Budget Limits lets you set cost limits on providers/integrations
Budget Limits lets you set cost or token limits on providers/integrations
Available on Enterprise plan and select Pro customers.
Budget Limits on Providers provide a simple way to manage your spending on AI providers (and LLMs) - giving you confidence and control over your application’s costs.
Budget Limit is currently only available to Portkey Enterprise Plan customers. Email us at support@portkey.ai
if you would like to enable it for your org.
When creating a new integration on Portkey, you can set limits in two ways:
Set a budget limit in USD that, once reached, will automatically expire the key to prevent further usage and overspending.
Set a maximum number of tokens that can be consumed, allowing you to control usage independent of cost fluctuations.
And you can set both these limtis for each workspace.
Key Considerations
- Budget limits can be set as either cost-based (USD) or token-based
- The minimum cost limit you can set is $1
- The minimum token limit you can set is 100 tokens
- Budget limits apply until exhausted or reset
- Budget limits are applied only to requests made after the limit is set; they do not apply retroactively
- Once set, budget limits cannot be edited by any organization member
- Budget limit feature is available for all LLMs available on Portkey and will apply to all members/workspaces who have permission to use it.
You can now set alert thresholds to receive notifications before your budget limit is reached:
You can configure budget limits to automatically reset at regular intervals:
If you need to change or update a budget limit, you can duplicate the existing provider and create a new one with the desired limit.
You can track your spending and token usage for any specific provider by navigating to the Analytics tab and filtering by the desired provider and timeframe.
Budget limits currently apply to all providers and models for which Portkey has pricing support. If a specific request log shows 0 cents
in the COST column, it means that Portkey does not currently track pricing for that model, and it will not count towards the providers’s budget limit.
For token-based budgets, Portkey tracks both input and output tokens across all supported models.
It’s important to note that budget limits cannot be applied retrospectively. The spend counter starts from zero only after you’ve set a budget limit for a key.
Budget Limits is currently available exclusively to Portkey Enterprise customers and select Pro users. If you’re interested in enabling this feature for your account, please reach out to us at support@portkey.ai or join the Portkey Discord community.
To discuss Portkey Enterprise plan details and pricing, you can schedule a quick call here.