Workspace Budget Limits provide granular financial and usage control at the workspace level, allowing organization admins/owners and workspace admins to allocate resources effectively across teams and projects. This feature complements API key-level budget controls, creating a comprehensive governance framework for AI spending across your organization.By implementing budget and rate limits at the workspace level, you can:
Allocate specific budgets to different departments, teams, or projects
Prevent individual workspaces from consuming disproportionate resources
Establish rate limits to ensure equitable API access across workspaces
Maintain greater visibility and control over organization-wide AI expenditure
Navigate to the sidebar and select Workspace Control
In the Workspace Control panel, click on the Budget Allocation tab
Configure your desired rate and budget limits for the workspace
Only workspace administrators and organization owners/admins have access to these controls. Permissions can be managed in Admin Settings → Security tab.
Rate limits control how frequently requests can be made from a workspace, helping you maintain application performance and prevent unexpected usage spikes.To set up rate limits for a workspace:
Toggle on Add Rate Limit
Choose your limit type:
Requests: Limit based on number of API calls
Tokens: Limit based on token consumption
Specify the limit value in the Set Rate Limit field
Select a time interval from the dropdown (Requests/Minute, Requests/Hour, Requests/Day)
Workspace rate limit configuration
When a workspace reaches its rate limit, all subsequent requests from that workspace will be rejected until the time interval resets, regardless of which API key is used.
Budget limits allow you to set maximum spending or token usage thresholds for an entire workspace, automatically preventing further usage when limits are reached.To set up budget limits for a workspace:
Toggle on Add Budget
Choose your limit type:
Cost: Set a maximum spend in USD
Tokens: Set a maximum token usage
Enter the budget amount in the Budget Limit ($) field
Optionally, set an Alert Threshold ($) to receive notifications before reaching the full budget
Select a Periodic Reset option to determine when the budget refreshes
Workspace Budget Limits are available to Portkey Enterprise customers and select Pro users. To enable these features for your account, please contact [email protected] or join the Portkey Discord community.