Stubs

Billing

Billing & types

What is a type?

A message, an enum or an RPC defined in a module. Paid plans are priced by the types in your private modules; public modules are never counted.

How usage is counted

Once a day Stubs counts the distinct types across each private module's labels, and adds up the team's modules. A month is billed for the average of those daily counts, so a module pushed late in the month costs only for the days it existed. The team's billing page shows the count now, the month's average so far and the invoice it projects. Pricing has the prices, in pounds, dollars or euros.

Plans and limits

The free plan includes a limited number of private modules and types. A push that would go over a limit is refused with a message saying which; nothing already pushed changes.

Paying and cancelling

A team's admins move it to a paid plan, change the card, edit the billing details and tax ids, and cancel, all on the team's billing page. A cancelled plan lasts until the end of the period it's paid for.