← Documentation

Policies & Limits

Control spending and usage with budget limits, rate limits, and model restrictions.

Admin Only — Only organization administrators can configure policies. This ensures spending controls cannot be bypassed.

Policy Types

Budget Limits

Cap spending at daily, weekly, or monthly thresholds

Rate Limits

Limit requests per minute or hour

Model Restrictions

Block access to expensive models

Alerts

Get notified before hitting limits

Budget Limits

Set maximum spending amounts for different time periods. When a limit is reached, new requests are blocked until the period resets.

Daily$50/day

Catches runaway processes quickly

Weekly$200/week

Allows daily variation while preventing overruns

Monthly$500/month

Matches typical billing cycles

Start with conservative limits. It is easier to raise them than to explain unexpected charges.

Rate Limits

Limit request volume to prevent runaway loops and ensure fair usage across team members.

Per-minute60 req/min

Catches infinite loops quickly

Per-hour500 req/hour

Prevents sustained high usage

Per-user100 req/hour

Fair allocation across team members

Review current usage patterns before setting strict limits to avoid blocking legitimate requests.

Model Restrictions

Control which AI models can be used to prevent unexpected costs from expensive models.

Model Cost Reference

GPT-3.5-turbo$0.0005/1K tokens
Claude-3-haiku$0.00025/1K tokens
GPT-4-turbo$0.01/1K tokens
Claude-3-opus$0.015/1K tokens
GPT-4$0.03/1K tokens

Restriction Options

Allow All

No restrictions on model usage

Block Expensive

Block models above a cost threshold

Allowlist Only

Only permit specific approved models

Spending Alerts

Receive notifications before reaching limits so you can take action.

50%Midpoint notification
75%Consider slowing usage
90%Critical, limit approaching

Alert Channels

  • Email — Sent to all organization Admins
  • Dashboard — Banner notification when logged in
  • Webhook — Integration with Slack, Discord (coming soon)

Configuration

  1. Navigate to your organization
  2. Click the Policies tab
  3. Configure budget limits, rate limits, and model restrictions
  4. Set alert thresholds
  5. Click Save Changes

Policies take effect immediately for all new requests.

Next Steps