# Plans and limits

Your Seatify account is on one plan. Every feature works on every plan. The plans differ in their limits. The [pricing page](../../../pricing/) lists the plans and the limits of each plan.

## Limits

| Limit | Description |
| --- | --- |
| Active licenses | The licenses that your application used in the last 90 days. See [Active licenses](#active-licenses). |
| Products | The products in your account. |
| Team members | The people who can sign in to your Seatify account, and the invitations that were not accepted yet. See [Member limit](../team-members/#member-limit). |
| Storage | The total size of the artifacts that you uploaded. See [Storage](#storage). |
| Downloads | The total size of the artifacts that were downloaded in a calendar month. See [Downloads](#downloads). |
| Activity log | The number of days that Seatify keeps the events of a license. See [Activity log retention](#activity-log-retention). |

## Active licenses

A license is active when all of these are true:

- The license made a call in the last 90 days, or it was created in the last 90 days.
- The license is not [suspended](../licenses/#suspension).
- The license has not expired. A license in its grace period counts. An expired license with the Perpetual fallback rule also counts.

These calls count:

- Every License API call that sends the license key. A refused call counts too. For example, a call with the publishable key of another product counts.
- Every Distribution API call that sends the license key.

A license key that Seatify does not find counts for no license. A download from an `open` product without a license key counts for no license either. The download limit covers that download.

A device that checks only a [license file](../licenses/#license-files) makes no call. Its license does not count while the device makes no call.

## Hard and soft limits

The Free plan has hard limits. A hard limit refuses a new action when your account is at the limit.

The paid plans have soft limits. A soft limit does not refuse any action. Your account can be above a soft limit in two calendar months in a row. The dashboard then shows a notice, and each team member gets one email.

Team members and storage are hard limits on every plan. See [Member limit](../team-members/#member-limit) and [Storage](#storage).

## Refused actions

| Limit | Plans | Refused action |
| --- | --- | --- |
| Active licenses | Free | A new license, in the dashboard or with the Management API. |
| Products | Free | A new product. |
| Team members | All plans | A new invitation. |
| Storage | All plans | An upload that would take the storage above the allowance. |
| Downloads | Free | A download through the Distribution API. |

The Management API answers a refused license with the status 402:

```json
{
  "message": "The Free plan allows 100 active licenses. Upgrade the plan to create another license."
}
```

See [Create a license](../../management-api/licenses/create-a-license/#errors).

The Distribution API answers a refused download with the status 403:

```json
{
  "valid": false,
  "reason": "download_limit_reached"
}
```

See [Download an artifact](../../distribution-api/download-an-artifact/#download-allowance).

## Shipped applications

A plan limit never refuses a License API call. A claim, a validation, a heartbeat and a check-out work at every limit. The licenses that exist keep working.

## Storage

- Storage is the total size of the artifacts of all your releases. An artifact counts from the moment its upload starts. An artifact whose upload failed does not count.
- An upload is refused when it would take the storage above the allowance of your plan. A paid plan adds a margin of 10%. For example, an allowance of 10 GB accepts uploads up to 11 GB.
- Delete old artifacts to free storage. The artifacts that are stored stay available for download.
- The plans count 1 GB as 1,073,741,824 bytes.

## Downloads

- Downloads are counted for each calendar month in UTC.
- Each redirect to a download link counts the full size of the artifact. A download that the user stops is counted in full.
- On the Free plan, downloads are refused when the month reaches the allowance. The download that reaches the allowance is still served. Downloads start again on the first day of the next month.
- A refused download is not counted.

## Activity log retention

Each plan keeps the events of the [activity log](../activity/) for a number of days. Seatify deletes older events every hour. After a downgrade, Seatify deletes the events that are older than the retention of the new plan. An upgrade does not bring deleted events back.

## Example

A Free account has 100 active licenses.

- The Management API answers a new license with the status 402.
- Your application still claims, validates and releases its licenses.
- A license stops counting after 90 days without a call. You can then create a new license.
- A suspended license does not count. Suspend a license that is not used, and you can create a new license.

## Related pages

- [Licenses](../licenses/)
- [Team members](../team-members/)
- [Activity](../activity/)
- [Create a license](../../management-api/licenses/create-a-license/)
- [Download an artifact](../../distribution-api/download-an-artifact/)
- [Stable download link](../../distribution-api/stable-download-link/)

