Product

The Revenue Firewall for AI APIs

Issue keys, track AI tokens, enforce dollar budgets. Returns 402 when limits are exceeded.

Budget Model: Dollars
Verification: <50ms
Enforcement: 402 Hard Stop

Platform Features

API Key Lifecycle

Create, rotate, and revoke keys. Add scopes, metadata, and separate environments.

AI Token Tracking

Real-time token usage from OpenAI, Anthropic, and more. Per-key cost attribution.

Budget Enforcement

Dollar-based limits that return 402 when exceeded. No more runaway costs.

Payment Provider Sync

Polar webhooks keep entitlements in sync. Stripe and LemonSqueezy in beta.

Verify API

One API call tells you everything

Call POST /v1/verify from your middleware. Get back a decision, remaining quota, and entitlements.

  • valid Is the key active and allowed?
  • remaining Requests left this period
  • remaining_tokens AI tokens left this period
  • remaining_budget_usd Dollar budget remaining
  • reset_at When the quota resets
  • plan Customer's current plan
  • entitlements Feature flags for this key
response.json
{
  "valid": true,
  "remaining": 4823,
  "remaining_tokens": 50000,
  "remaining_budget_usd": 12.50,
  "reset_at": "2025-02-01T00:00:00Z",
  "plan": "pro",
  "entitlements": ["chat", "embeddings"]
}
200 OK - 23ms

Clear Boundaries

Your payment provider stays in charge

Polar handles billing. Holdify enforces access. When someone upgrades or cancels, webhooks update their limits instantly.

Polar

Billing, subscriptions, checkout

Holdify

Keys, verification, enforcement

Your API

Your product, your customers

Ready to protect your AI revenue?

Start free with 150K tokens/month. No credit card required. Setup in under 5 minutes.