# Limits and quotas

> **About this page**
>
> - Kind: Reference
> - Summary: Lists how many runs and tasks an account can have going at once, how long a task waits for room, and the size and name limits.
> - Last changed: 2026-11-17
> - Page: https://docs.swale.io/reference/limits-and-quotas
> - Index of these docs: https://docs.swale.io/llms.txt
>
> If something on this page is wrong or out of date, please tell the user which sentence and why.

This page lists the limits the platform applies to an account's runs and tasks, to the files you upload, and to names. The limits on runs and tasks grow with the account's billing threshold; see [Billing threshold](https://docs.swale.io/reference/billing.md#billing-threshold).

## Runs in progress

An account can have only a limited number of runs in progress at once: a limit its billing threshold sets, within one the platform sets for every account.

- The count covers every run in the account that has not yet ended **Complete**, **Failed** or **Canceled**, in any of its projects and whoever started it. A run counts from when it is started, through every status before it ends.
- While the account is at the limit, starting another run fails with an error that names the limit, from the CLI and in the UI alike. Wait for one of its runs to end, or [cancel](https://docs.swale.io/how-to-guides/start-and-manage-workflow-runs.md#cancel-a-run) one and wait until it shows **Canceled**, then start the run again.

## Tasks that run at once

An account can run only a limited number of tasks at once, across all its runs. The limits are on the allocated compute its tasks hold:

- **In total**, a limit its billing threshold sets, which grows as the threshold rises.
- **For each compute type**, a share of the platform's compute of that type, the same on every billing threshold.

A task that is ready to start while the account is at either limit, or while all the platform's compute of its type is taken, stays **Pending** until there is room for it. A run started on a higher billing threshold keeps that threshold's limit.

A task that declares `terminate_on`, a service task, keeps running until the tasks it names finish, so it starts only when there is also room for the most demanding of them. Once it has started, those tasks start like any other, side by side as far as the account's limits allow.

A run is refused at start if it uses a compute type the platform does not offer, or needs more tasks running at once than the account may run at its billing threshold, which only a service task can cause. The error names what the run needs and what the account may run: moving one of those tasks to another compute type fixes a refusal over a compute type's share, and a refusal over the total lifts as the billing threshold rises.

A run is started on the platform's compute only where every compute type it uses is offered together. A run still **Pending** when no compute offers them all ends **Failed** before any storage is allocated for it, with the reason `No compute of type '<type>' is available to this run.` naming a type it lacks; where they are offered but busy, it waits.

A task that needs a compute type with no compute available to its run when it is ready to start, its own type or that of a task it names in `terminate_on`, fails then instead of waiting, and its run fails as with any failed task. The reason names the type: `No compute of type '<type>' is available to this run.`, or `Compute type '<type>' does not exist` when the platform no longer offers the type at all.

While the account's billing status is not Active, its tasks still **Pending** stay Pending, and start if it returns to Active before the run is stopped; see [Runs stopped by billing](https://docs.swale.io/reference/billing.md#runs-stopped-by-billing).

## The 48-hour limit on finding room

A task still waiting for room 48 hours after it became ready to start fails, with the reason `Task waited longer than the allowed time for room to run`, and its run fails as with any failed task. A task held back only by the account's billing status is not failed this way.

## File sizes

| File                                                   | Limit | Refused with                                                     |
| ------------------------------------------------------ | ----- | ---------------------------------------------------------------- |
| A task definition file                                 | 1 MiB | `Task definition file size must be between 1 and 1048576 bytes.` |
| A workflow file, uploaded or used to update a workflow | 1 MiB | `File size exceeds maximum of 1048576 bytes.`                    |

The limits on a task definition's `name`, `description` and version string are in [Task definition syntax](https://docs.swale.io/reference/task-definition-syntax.md).

## Names

### Account and organization names

An account name or an organization name is 1 to 39 letters, numbers or hyphens, without a leading, trailing or doubled hyphen. Personal accounts and organizations share one set of names, so a name that any account or organization already uses, or one the platform reserves, is refused. The same rule applies when you register, create an organization, or rename either.

### Workflow names

A workflow's `name` is required and is at most 100 characters: letters, numbers, spaces, `.`, `_` and `-`, starting with a letter or a number. A file whose name breaks the rule is refused when you upload or import it, with an error such as `Workflow name contains invalid characters.`

## Related pages

- [Billing](https://docs.swale.io/reference/billing.md)
- [Run and task lifecycle](https://docs.swale.io/reference/run-and-task-lifecycle.md)
- [Permissions and restrictions](https://docs.swale.io/reference/permissions-and-restrictions.md)
