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 When you reach the log storage limit for a gateway, you can configure your gateway to either automatically delete the oldest logs to make room for new ones, or stop saving new logs. You can also use Logpush to export logs to external storage. Refer to Automatic log deletion for more details.
2 On the free plan, the log storage limit applies to total logs across all gateways in your account. Same auto-delete or stop-saving behavior as 1.
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.