Skip to main content

Per-request billing

Every API call is billed individually. After each request completes, we:
  1. Measure the original and compressed token counts
  2. Calculate the cost difference (savings)
  3. Charge the actual LLM cost + 20% of savings (router mode) or just the 20% fee (BYOK)
  4. Deduct from your prepaid balance
  5. Log the full breakdown in your dashboard

Billing formula

What you see in the dashboard

Each request in your usage history shows:

Balance protection

  • If your balance reaches $0, API requests return 402 Insufficient balance
  • We never charge more than your available balance
  • No surprise charges — you control how much you deposit

Monitoring usage

Track your spending in real time:
  • Dashboard: opencompress.ai/dashboard shows balance, monthly stats, and per-request logs
  • API: Usage data is included in the usage field of every response