Limits
The following limits apply to gateway configurations, logs, and related features in Cloudflare's platform.
| Feature | Limit |
|---|---|
| Cacheable request size | 25 MB per request |
| Cache TTL | 1 month |
| Custom metadata | 5 entries per request |
| Datasets | 10 per gateway |
| Gateways free plan | 10 per account |
| Gateways paid plan | 20 per account |
| Gateway name length | 64 characters |
| Log storage rate limit | 500 logs per second per gateway |
| Logs stored paid plan | 10 million per gateway 1 |
| Logs stored free plan | 100,000 per account 2 |
| Log size stored | 10 MB per log 3 |
| Logpush jobs | 4 per account |
| Logpush size limit | 1MB per log |
1 If you have reached 10 million logs stored per gateway, new logs will stop being saved. To continue saving logs, you must delete older logs in that gateway to free up space or create a new gateway. Refer to Auto Log Cleanup for more details on how to automatically delete logs.
2 If you have reached 100,000 logs stored per account, across all gateways, new logs will stop being saved. To continue saving logs, you must delete older logs. Refer to Auto Log Cleanup for more details on how to automatically delete logs.
3 Logs larger than 10 MB will not be stored.
DLP for AI Gateway uses shared Cloudflare One DLP profiles. The following limits apply to DLP profiles and detection entries at the account level:
| Feature | Limit |
|---|---|
| Custom entries | 25 |
| Exact Data Match cells per spreadsheet | 100,000 |
| Custom Wordlist keywords per spreadsheet | 200 |
| Custom Wordlist keywords per account | 1,000 |
| Dataset cells per account | 1,000,000 |
DLP profiles are shared with Cloudflare One and are not coupled to individual gateways. You can apply the same DLP profiles across multiple gateways without additional profile limits. There is no separate limit on the number of DLP policies per gateway.