Enterprise Features
Granular policy controls with user, team, and organization-level settings.
Policy Hierarchy
User Overrides
Highest priority. Set per-user limits, bypass flags, and model access.
Team Settings
Applied to all team members. Inherited from organization if not set.
Organization Defaults
Fallback settings. Applied when no user or team overrides exist.
User Policy Overrides
Configure individual user settings that take precedence over team and organization defaults.
Cost Limits
- • Daily cost limit (cents)
- • Monthly cost limit (cents)
Token Limits
- • Daily token limit
- • Monthly token limit
Rate Limits
- • Requests per minute
- • Requests per hour
- • Requests per day
Model Access
- • Allowed models whitelist
- • Blocked models blacklist
- • Maximum model tier
Bypass Flags
Grant special privileges to specific users who need unrestricted access.
Bypass Cost Limits
User is not subject to daily/monthly cost limits
Use case: Senior developers, high-priority projects
Bypass Rate Limits
User is not subject to request rate limits
Use case: Automated systems, batch processing
Bypass Model Restrictions
User can access any model regardless of org restrictions
Use case: Researchers, special use cases
Warning: Use bypass flags sparingly. Users with bypasses can incur unlimited costs.
How Policy Evaluation Works
1. Request comes in
2. Check user-specific overrides
→ If bypass flag set, skip that check
→ If limit set, use user limit
3. Check team settings (if user in team)
→ If limit set, use team limit
4. Fall back to org defaults
5. Apply most restrictive limit
Configuration
- Navigate to Admin → User Policies
- Search for the user you want to configure
- Click on the user to open the policy editor
- Set limits, bypass flags, and notes
- Click Save Policy
Changes take effect immediately for all new requests.
API Reference
/api/admin/organizations/{orgId}/user-policiesList all users with their policy overrides
/api/admin/organizations/{orgId}/user-policiesCreate or update a user policy override