# Limits

> Every fixed limit of Sypnia AI, in the gateway and in Sypnia Cloud.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://ai.docs.sypnia.com/reference/limits/

For agents: Fixed limits: request body 25 MB; 10 images × 10 MB; PDF 20 MB / 100 pages; embeddings 256 inputs; tools 128 per request, 5 tool rounds by default in the SDK (max 20); output schema 64 KB; instructions 32 KB per route; 200 tasks per project; route file 1 MB; first token timeout 20 s (1–120); request timeout 600 s; browser token 600 s; key revocation within 60 s; call records 90 days (Cloud); kept bodies 1–30 days; response cache TTL 1 min–24 h; management API 600 requests/min per token; keys 100 per project (Cloud default, plan may differ); origins 20 per project; model retirement notice 30 days; default change notice 7 days. Per-minute model limits per project: by plan.

| What                                  | Limit                                                       |
| ------------------------------------- | ----------------------------------------------------------- |
| Request body                          | 25 MB                                                       |
| Images                                | 10 per request, 10 MB each                                  |
| PDFs                                  | 20 MB and 100 pages                                         |
| Embedding inputs                      | 256 per request                                             |
| Tools offered                         | 128 per request; 5 rounds by default in the SDK, 20 at most |
| Output schema                         | 64 KB                                                       |
| Route instructions                    | 32 KB                                                       |
| Tasks                                 | 200 per project                                             |
| The `[ai]` table of `sypnia.toml`     | 1 MB                                                        |
| Wait for the first token              | 20 seconds by default, 1 to 120                             |
| Longest call                          | 600 seconds                                                 |
| Browser token                         | 10 minutes                                                  |
| A revoked key stops working           | within 60 seconds                                           |
| Keys                                  | 100 per project                                             |
| Allowed origins                       | 20 per project                                              |
| Call records                          | 90 days **\[Cloud]**; what you set **\[Engine]**            |
| Kept questions and answers            | 1 to 30 days, per route                                     |
| Response cache                        | 1 minute to 24 hours                                        |
| Management endpoints                  | 600 requests a minute per token                             |
| Notice before a default model changes | 7 days **\[Cloud]**                                         |
| Notice before a model retires         | 30 days                                                     |

Requests and tokens per minute for model calls depend on your plan in Sypnia Cloud; the values are published with the plans. Self-hosted, they are whatever your providers allow.
