# Limits

> Performance metrics and usage limits of Bitiful S4 object storage.

### Current limits

|                     Item | Limit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| -----------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|                    `QPS` | - **GET** requests: 5,000 QPS per bucket per region by default (1,000 QPS per object).- **PUT** requests: 1,000 QPS per bucket per region by default.- **List** requests: 200 QPS per bucket per region by default.- **Mirror back-to-origin** requests: 1,000 QPS, shared globally.- **Standard image processing**: 2,000 QPS, shared globally (or 10 GB/s of source images). - **Advanced image processing**: 200 QPS, shared globally (WEBP, AVIF, SVG, RAW, TPNG, etc.).- **Video frame capture**: 20 QPS, shared globally (or 1 GB/s of source video). |
|           `S4 bandwidth` | 2 Gbps download and 5 Gbps upload, global.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
|           `Bucket quota` | Each primary account can create up to 10 buckets.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|              `CDN quota` | Each primary account can create up to 5 CDN domains by default.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|      `Certificate quota` | Each primary account can create up to 50 certificates.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Auto certificate quota` | Each free primary account can create up to 5 Let's Encrypt (LE) single-domain auto certificates.Each paid primary account can create up to 20 GTS and wildcard auto certificates (billed separately).                                                                                                                                                                                                                                                                                                                                                       |
|          `Objects/files` | - A simple upload supports files up to 20 GiB.- A multipart upload supports files up to **195.2 TiB** (up to **20 GiB** per part, with at most 10,000 parts).- There is no limit on the number of files or the total size of a single bucket.                                                                                                                                                                                                                                                                                                               |
|              `Free tier` | After identity verification, you get the following free quota each month:- **50 GB of storage**- **30 GB of egress (10 GB + 10 GB + 10 GB)**- **200,000 S4 requests (100,000 + 100,000)**- **100,000 CDN requests** (billed as you go beyond that, and [request packages](https://docs.bitiful.com/en/prices/handbook/resource-packages.md) can offset them)([see details](https://docs.bitiful.com/en/prices/basic.md)).                                                                                                                                   |

> **Tip**
>
> Note the difference between GiB and GB (Bitiful and CDN egress are both calculated in units of 1000):
>
> - *1 GiB = 1024 MiB*
> - *1 GB  = 1000 MB*

### Access method limits

|                        Item | Limit                                                                                                 |
| --------------------------: | ----------------------------------------------------------------------------------------------------- |
| `Single-thread speed limit` | When you access S4 directly, single-thread downloads are limited to 5 MB/s by default.                |
|            `Browser access` | Opening a file in a browser through the bucket default domain forces a download.                      |
|                 `APK / IPA` | You can't download `.apk` or `.ipa` files directly from a bucket. S4 returns `403 FileTypeForbidden`. |
|            `Domain binding` | Creating new bucket domains is no longer supported. Existing bindings keep working.                   |

These limits don't affect access through a [CDN domain](https://docs.bitiful.com/en/cdn/intro.md).

### Bucket setting limits

|                                                                                          Setting | Limit                                                                                 |
| -----------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------------- |
|                    [Public read](https://docs.bitiful.com/en/bitiful-s4/handbook/public-read.md) | 50 directory exceptions per bucket, each up to 512 bytes                              |
| [Sub-user directory permissions](https://docs.bitiful.com/en/bitiful-s4/handbook/permissions.md) | 20 directories per sub-user per bucket, each up to 1000 bytes                         |
|              [Referer / IP lists](https://docs.bitiful.com/en/bitiful-s4/handbook/anti-leech.md) | 1024 bytes each                                                                       |
|           [Headers access policy](https://docs.bitiful.com/en/bitiful-s4/handbook/anti-leech.md) | 10 headers per bucket, 1024 bytes each                                                |
|                            [CORS rules](https://docs.bitiful.com/en/bitiful-s4/handbook/cors.md) | 10 per bucket; each with up to 10 origins, 10 allowed headers, and 10 exposed headers |
|                                  [Styles](https://docs.bitiful.com/en/coreix/handbook/styles.md) | Name: 36 characters; code: 1000 characters                                            |
|        [Original file protection](https://docs.bitiful.com/en/coreix/handbook/origin-protect.md) | 500 characters in total for the protected types                                       |
|               [Mirror back-to-origin](https://docs.bitiful.com/en/bitiful-s4/handbook/mirror.md) | Prefix: 128 characters; origin address: 256 characters                                |
|                       [Default file](https://docs.bitiful.com/en/bitiful-s4/handbook/website.md) | File key: 256 bytes                                                                   |
|                      [Console upload](https://docs.bitiful.com/en/bitiful-s4/handbook/upload.md) | 100 GiB per file                                                                      |
|                                  [Media processing](https://docs.bitiful.com/en/coreix/basic.md) | Images: 200 MiB                                                                       |
