AI Providers, pricing pages and billing rounds
Last updated 2026-11-21
Configure the AI Router failover chain and per-scenario default models, know which pricing page is read-only and where prices are actually maintained, and run the daily billing checks across subscriptions, invoices and dunning.
AI Providers: the failover chain#
- Open AI Providers (/ai-providers). Providers are tried from top to bottom by priority; on failure the router moves to the next one automatically. Use the move up / move down controls to change the order, and the switch to enable or disable a provider.
- Keys are never typed or shown here. Each provider only shows Configured or Not configured, because keys are read from environment variables. If a provider shows Not configured, the fix is in deployment configuration, not on this page — escalate instead of pasting a key anywhere.
- Run Test connectivity after any change and note the latency it reports; a failed test shows the error text — keep it for the incident record.
- Under Default model per scenario, pick each scenario’s model from the candidate catalog (its notes carry the unit price and fit) or type a custom model name. Leaving a scenario empty means the global default. Saved changes take effect within about 60 seconds — no release needed.
Pricing: what this page is — and is not#
- Pricing (/pricing) shows the numbers the marketing site pricing page displays (cached for up to a few minutes; annual savings and equivalent monthly prices are calculated on the spot). This page is read-only: it keeps the legacy tier rows for reconciliation. Do not promise anyone a price change “from this page”.
- Current prices are maintained in the billing catalog — the single write entry — and front pages generate their numbers from that configuration. Package tiers for SMS, storage and AI token packs are maintained separately under Package Tiers (/package-tiers): add, edit, enable/disable or delete a tier there, and tenants see the result at signup and upgrade.
- After any price change, verify the front surfaces, not just the save result: the public pricing page, the tenant subscription page and the signup/upgrade flow must all show the new configuration, and existing subscriptions keep the price snapshot from when they subscribed.
Billing rounds: subscriptions, invoices, dunning#
- Subscriptions (/subscriptions): scan for statuses that are not active — trialing about to end, past_due, cancel pending. Open a subscription to see its detail before touching anything.
- Seat changes are a two-step flow: preview first (it shows the prorated amount and does not charge), then confirm with a reason — the reason is required and audited. Never confirm a preview you have not read.
- Billing (/billing) is the payment history across tenants, and Invoices (/invoices) the invoice list. Refunds, voiding an invoice and marking bad debt are platform-owner-only actions, each requiring a reason; a refund can never exceed the un-refunded amount.
- Dunning (/dunning) gathers the past-due work: retry a charge manually when the tenant says the card is fixed (a successful retry unfreezes automatically), and record a dunning note for each contact attempt so the next person on duty sees the history.
- For usage questions, AI Usage (/ai-usage) breaks platform AI usage down by tenant, product, app, model and day, and shows this month’s free-quota usage and the free-quota / hard-stop configuration. Usage overview (/usage-overview) is the cross-tenant usage picture.
When a number on a tenant-facing page disagrees with Ops, trust the audit trail and the subscription detail — not a screenshot. Record what you saw, where, and at what time before changing anything.