Billing & plans
Plans, quotas, usage packs, hosted checkout via Polar, invoices, and the payment method on file — all org-scoped.
Billing is per-organization. The Billing page shows your current plan, active subscription, invoice history, and the card on file.
Quotas are per project, and the price is per project per month — an organization with three projects on Pro is billed for three. A dash means the tier doesn’t include that capability.
| Free | Pro | Scale | Max | |
|---|---|---|---|---|
| Price / project / month | Free | $19 | $99 | $199 |
| Requests / month | 100K | 10M | 100M | 500M |
| Database (D1) | 500MB | 5GB | 10GB | 10GB |
| Object storage (R2) | 1GB | 25GB | 500GB | 2TB |
| Managed AI | 5K/mo | 200K/mo | 2M/mo | 10M/mo |
| Organizations | 1 | 5 | 10 | 20 |
| Projects / org | 1 | 3 | 25 | 100 |
| Workspaces / project | 3 | 50 | 250 | 1,000 |
| Team members | 1 | 10 | 50 | 200 |
| Vector indexes | 1 | 10 | 50 | 200 |
| Stored vectors | 50,000 | 5,000,000 | 50,000,000 | 200,000,000 |
| CPU / request | 5s | 30s | 300s | 300s |
| Audit-log retention | 7 days | 30 days | 90 days | 365 days |
| Backup / PITR window | — | 7 days | 30 days | 30 days |
| Custom domains | — | Yes | Yes | Yes |
| Preview branches | — | Yes | Yes | Yes |
| Enterprise SSO | — | — | Yes | Yes |
| SCIM provisioning | — | — | — | Yes |
Plan limits feed the usage alarms: an alarm’s thresholdPct is a percentage of your plan’s limit for that dimension.
Usage packs
Section titled “Usage packs”A pack extends one dimension of your current plan without moving you up a tier. Buy them from the Billing page; they stack with the plan quota rather than replacing it.
| Pack | Adds | Price | Billing |
|---|---|---|---|
| Request pack | 1M requests | $2 | One-time, this month only |
| AI neuron pack | 1M neurons | $25 | One-time, this month only |
| Storage block (R2) | 10GB | $2 | Monthly, until cancelled |
| Database block (D1) | 1GB | $2.50 | Monthly, until cancelled |
The two billing modes follow the nature of the dimension. Requests and AI neurons are consumption — a spike this month shouldn’t bill forever, so a pack applies to the current billing month and expires. Object and database storage are capacity — you occupy it every month, so the pack renews until you cancel it.
Upgrade (checkout)
Section titled “Upgrade (checkout)”Upgrading starts a hosted Polar checkout and returns the URL to redirect to:
curl -X POST https://cloud.backlex.com/api/org/<org>/billing/checkout \ -H "Authorization: Bearer pak_..." \ -H "Content-Type: application/json" \ -d '{"plan":"pro"}'After payment, the resulting subscription lands via a Polar webhook and your plan updates automatically — a billing.plan_change event fires, which your webhooks and integrations can react to.
Invoices & payment method
Section titled “Invoices & payment method”The billing snapshot includes recent invoices and a best-effort renewal-date + customer-portal lookup — fetched from Polar and never blocking the page if the provider is slow. Card details live in the Polar customer portal.
Starting checkout requires the owner or admin role.