Skip to content

Billing and plans

How plans, included usage, overage, the spend limit and agent credit fit together. Prices and limits are on the pricing page.

On this page

Three parts

PartWhat it is
PlanA monthly subscription for the team. It sets the limits: projects, members, domains, log retention, version size, data, storage, SFTP and Git.
Included usageEach plan includes an amount of usage every period. It doesn't roll over. Usage past it is overage: it's measured, and when the period ends it's charged to the subscription's saved card. Amounts under $0.50 carry over to the next period.
Agent creditWhat the built-in agent spends. It comes with the plan each period, and packs can be bought once. 1 credit is 1 cent of agent spend.

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.

Terminal
perafly usage

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

ChangeWhen it applies
To a more expensive planRight away; the prorated difference is charged to the saved card right away. If the card is declined, the plan doesn't change.
To a cheaper paid planThe team keeps the current plan's limits until the end of the period.
CancelThe subscription ends at the end of the period; the plan lasts until then.
  • 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.