A fork at rest costs storage. A fork that is running costs what any session costs, and an attempt that fails costs what it consumed. Nothing about branching is free, and nothing here is refunded because you threw the branch away.
- a saved fork at rest
- Storage, and only storage. A fork shares its parent chunks, so what it bills is the deduplicated bytes its own checkpoints hold. It is not consuming session time while it sits there.
- a running branch
- A branch you are running is a session. It bills session-minutes for as long as its machine is awake, plus the storage its checkpoints hold. The model calls it makes run on your own key and are paid to your provider directly, so KeepState adds no markup to them and never sums them into its own bill.
- an attempt that fails
- The same as one that succeeds. The minutes ran, the calls were made, and the checkpoints were written, so all three are billed. A losing branch is charged exactly like the winning one, and only the result differs.
- where the cap sits
- Budgets are enforced per session, by the gateway: a session that reaches its budget checkpoints and parks rather than overrunning. Each branch is its own session with its own budget, so a fan-out of branches is that many budgets running at once, not one budget shared between them. A pool that caps a whole lineage from its parent is designed and has no gate, so it is not a cap you can rely on today.
So three branches running at once, one of which fails, bill three sets of session-minutes for as long as each was awake, three sets of provider calls on your own key, the deduplicated storage all three hold, and nothing is deducted for the one that failed.
The rates for the two metered categories are published on the pricing page. What your provider charges for the calls is between you and your provider.
under an agreed Cruise trial
A trial does not make the underlying usage free. The same categories are metered at the ratified price book, inside the spending ceiling the trial agrees, and the performance fee is a separate thing computed after the period.
Attempts that are not accepted cost what they consumed. Their spend is metered, reported and counted in the all-in cost, not written off.
A period whose result is negative carries no performance fee, which is not the same as carrying no cost: the sessions still ran. The ceiling, the baseline, the fee rate and the reporting rules are published in what we agree before a trial.