Skip to content

Billing & Usage

Airlock has two layers of cost control: a subscription (managed via Polar) that determines how many servers you can deploy, and per-server token budgets that cap how much each server can spend.

Subscriptions

Subscriptions are managed through Polar.

Manage your subscription:

  1. Open SettingsBilling
  2. Click Manage Subscription to open the Polar customer portal
  3. Update payment method, change plan, view invoices, or cancel

Free tier: organizations without an active subscription can deploy up to 3 servers. Existing servers continue working as normal; you'll see an "upgrade to Pro to deploy more" message when you try to create a fourth.

Per-Server Token Budgets

Every server can have an independent token budget that caps how many LLM tokens its tool calls may consume. Budgets are configured on the server detail page under Budget.

Available controls:

  • Hard limit — when crossed, further tool calls on that server return an error until the budget resets or is raised. Use this to prevent runaway spend.
  • Soft limit — a warning threshold that triggers an alert email but does not block calls.
  • Alert thresholds — percentages of the hard limit at which Airlock sends notifications (e.g., [50, 75, 90] sends three escalating warnings).
  • Notify emails — list of addresses to email when thresholds cross.

A background job evaluates budgets hourly and sends alerts. Hard-limit enforcement is real-time on each tool call.

Typical setup:

text
Soft limit:        2,000,000 tokens   (warning)
Hard limit:        3,000,000 tokens   (block)
Alert thresholds:  [50, 75, 90]       (% of hard limit)
Notify emails:     ops@example.com

Organization Rate Limits

In addition to per-server budgets, the organization has a monthly request count tracked across all servers. When the limit is exhausted, all MCP tool calls are rejected until the next monthly reset. The current count and limit are visible on the Usage page.

Usage Visibility

PageWhat it shows
/usagePer-user breakdown of token usage in the current period
/analyticsOrg-wide call volume, success rates, and tool usage
Server detail pageThat server's usage and remaining budget

All MCP tool calls are also written to the audit log, accessible from the History page in the main navigation.

Built with VitePress