Skip to main content
naive.plans is a control-plane accessor and exists on the root client only. A plan binds a price, an Account Kit and a set of per-period quotas; a tenant is put on one through billing.
Assign a tenant with naive.forUser(id).billing.setSubscription({ planKey: "pro", … }) — which applies the plan’s Account Kit by default. Metered primitives return 429 rate_limited once a tenant is over its quota for the period. This is the billing you charge your customers; your own Naive spend is Billing & Credits. See the Customer Billing guide.