> ## Documentation Index
> Fetch the complete documentation index at: https://docs.link4sync.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Plans and limits

> Topic size and retention, throughput, and what changes between Basic, Premium, and On-demand.

## All plans

* Payloads are JSON values.
* Each topic has one partition.
* A new topic keeps messages for seven days and stores at most 10 MiB. When either limit is reached, the oldest messages are removed first.

## Size and retention

On the **On-demand** plan you can change both limits on the topic card:

| Setting | Range |
| - | - |
| **Retention period** | 1 hour to 5 years |
| **Size limit** | 10 MiB to 100 GiB, whole MiB |

Stored data is billed from your credits per GiB-hour. To lock messages so they cannot be changed or deleted, see [Immutable topics](https://docs.link4sync.com/en/manage/immutable-topics.md).

## Throughput

| Plan | Endpoint | Messages per second | Bandwidth |
| - | - | - | - |
| **Basic** | One shared connection | Up to 25 | 5 Mbit/s |
| **Premium** | Your own endpoints and hostnames | Up to 500 | 50 Mbit/s |

**On-demand** is paid with prepaid credits for what you use. See [Pricing](https://www.link4sync.com/pricing) for details.

> [!NOTE]
>
> The **Subscription** page in the dashboard always shows the current limits for your account.

## Reading messages

Open the topic in the dashboard to see its latest messages. It is the quickest way to confirm a publish. To receive messages in your code, subscribe to `<topic ID>/out` over MQTT, see [Read messages](https://docs.link4sync.com/en/read-messages.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.