Skip to main content

How billing works

Swale bills an account for four things it uses: the compute its tasks hold, the data that leaves the platform, what it stores, and each run's shared workspace. Usage is invoiced as it adds up, and the account's billing status, which follows those invoices, decides whether it can start new work.

Where each billed dimension comes from. Egress has two sources billed at one rate.

What is billed​

Each dimension follows something you can see on the platform. Compute follows the allocated compute each task holds, from allocation to release, at the rate of its compute type. Workflow storage follows each run's shared workspace, at the rate of the size set for its account or project, for as long as the run shows a duration.

Account storage is everything the account stores, across all its projects, measured once a day. Egress is data that leaves the platform: a task's output sent out, and files you pull to your own machine.

Billed dimensions gives each dimension's unit and rounding.

When usage is invoiced​

Usage is invoiced when a month ends, earlier when it reaches the account's billing threshold, and one last time when the account or organization is deleted.

When usage is invoiced. Whichever moment comes first invoices the usage not yet invoiced; after a deletion, nothing follows the closing invoice.

The billing threshold caps how much usage an account can run up before it pays. It starts low and rises as the invoices raised at it are paid, so an account earns room as it shows it pays. The same threshold sets how many runs the account can have in progress and how much compute its tasks can hold at once; see Limits and quotas.

The billing status gates new work​

An account's billing status is Active while it has a payment method and no failed or disputed payment. Starting a run, publishing a task definition version, and pushing or pulling files each need an Active status; managing projects, secrets and other resources does not.

A status that leaves Active also stops the runs already under way, sooner for a disputed payment than for a missing or failed one. Inside an organization, the organization's status is the one that counts, whoever does the work. Billing statuses lists what each status blocks and when runs are stopped.

Why deleted content is billed for a while​

An account stores each piece of content once, however many tags, repositories and projects refer to it. Deleting a tag removes only the reference, so content that another tag still uses keeps counting as account storage.

A deleted repository or project stays restorable through its 90-day grace period, so its content stays stored and billed. Content that nothing refers to any more is permanently deleted within three weeks and billed as account storage until then. Deleted content has the table.

When an account stops paying​

A failed payment is tried again, and paying the unpaid invoices returns the status to Active. An invoice still unpaid 30 days after it was issued closes the account: it is deleted, as it would be if you deleted it yourself, and what it owes stays due. Accounts closed for non-payment gives the details.

Next steps​