# Limits

These are the default values. `get_runtime_contract`, or `GET https://console.boring-cloud.app/api/v1/runtime-contract`, returns the ones in force.

## Release

| What                           | Limit                        |
| ------------------------------ | ---------------------------- |
| Backend module                 | 2 MiB                        |
| One static file                | 4 MiB                        |
| Static files                   | 400                          |
| Whole release                  | 10 MiB                       |
| One `deploy_app` call over MCP | 1 MiB                        |
| Length of a path               | 200 characters, 16 levels    |
| Deployments per app and day    | 60, days change at 00:00 UTC |
| Releases kept per app          | 25                           |

## One request to the backend

| What                                    | Limit        |
| --------------------------------------- | ------------ |
| CPU time                                | 50 ms        |
| Outside calls, with each database query | 50           |
| Body of the request                     | 10 MiB       |
| Answer of an external API               | 10 MiB, 30 s |

## Platform services

| What                                    | Limit                                         |
| --------------------------------------- | --------------------------------------------- |
| CPU time of one job                     | 30 s                                          |
| Outside calls of one job                | 200                                           |
| Payload of a job                        | 64 KB                                         |
| Delay of a job                          | 12 hours                                      |
| Attempts of a job                       | 4                                             |
| Schedules per app                       | 10, each at most every 15 minutes             |
| Recipients of one email                 | 20                                            |
| HTML to render                          | 2 MiB                                         |
| Text sent to AI                         | 100,000 characters                            |
| File for `ai.toMarkdown`                | 10 MiB                                        |
| Calls per app and day                   | set by IT for each service, 00:00 UTC         |

## Data

| What                    | Limit  |
| ----------------------- | ------ |
| Database of an app      | 10 GB  |
| One row                 | 2 MB   |
| Values bound in a query | 100    |
| One file                | 10 MiB |
| All files of an app     | 1 GiB  |

## Accounts and rates

| What                                       | Limit           |
| ------------------------------------------ | --------------- |
| Apps in a workspace, without archived ones | 50              |
| Active tokens per person and workspace     | 20              |
| Life of a token or a connection            | 90 days         |
| Session in an app                          | 12 hours        |
| Requests per person to one app             | 1200 per minute |
| Calls per person to the API and MCP        | 600 per minute  |
| Deployments per person                     | 30 per minute   |

Rates are approximate. On `RATE_LIMITED`, wait a minute.

## Not available

- Public apps, guests from outside the workspace, custom domains.
- WebSockets, streaming, Workflows, KV and Durable Objects. Email only to people who can open the app.
- Backends in Python or other languages, containers, Node.js modules.
- More than one database per app, access to the database from outside, restoring old data.
- Single sign-on with a company directory, and two-factor sign-in.
- Certifications. Do not use Boring Cloud for sensitive or regulated data.
