Billing and plans
How plans, included usage, overage, the spend limit and agent credit fit together. Prices and limits are on the pricing page.
Three parts
All amounts are in US dollars. Plans, prices and limits are on Pricing, read live from GET /v1/plans. Payments are taken through Efespay, on a secure payment page that opens in a new tab; Perafly never sees your card.
What counts as usage
Usage is measured per meter and valued at the plan's rates: build time, function CPU time, memory and invocations, bandwidth, workspace CPU and memory, storage and storage transfer, and data API requests. Agent spending isn't usage; it comes out of agent credit. Projects published without an account aren't measured.
When a limit is reached
- Plans without overage: when the included usage runs out, new builds (publishes) and agent sessions stop until the next period (
included_usage_exhausted). - Plans with overage: usage continues and is billed, up to the team's spend limit. At the limit, new builds and agent sessions stop (
spend_limit_reached); nothing above it is billed. - In both cases live sites keep serving, and promote, rollback, reading and deleting keep working.
- Count limits (projects, collections, records, domains, storage) answer with an error that names the limit and, when a bigger plan allows it,
upgradeTo. See Errors.
The spend limit
On plans with overage, the spend limit caps the period's whole bill (plan price plus overage). It starts at twice the plan price; it can't be lower than the plan price (then there's no overage at all) or higher than $10,000. Teammates who manage billing are notified at 50%, 75% and 100% of it.
Changing plans
- Plans and credit packs are bought in the dashboard under Billing, by team owners and admins. The open API and agents can't change billing, and there are no purchases in the mobile app.
- After a downgrade nothing is deleted: what is over the new limits becomes read-only and keeps serving, and SFTP accounts are suspended.
- Card, past payments and cancellation are managed from Manage payments on the Billing page; it opens Efespay's customer portal in a new tab. Past payments are also listed under Payments.
- If a renewal can't be collected, the plan keeps working while the payment is retried. If it still isn't paid a week after the period ends, the team moves to Free until a plan is chosen again.