Limits (9)
Last updated Sep 24, 2026 The following limits apply to gateway configurations, logs, and related features in Cloudflare's platform.
Gateway limits
| Feature | Limit |
|---|---|
| Cacheable request size | 25 MB per request |
| Cache TTL | 1 month |
| Custom metadata | 5 entries per request |
| Gateways free plan | 10 per account |
| Gateways paid plan | 20 per account |
| Gateway name length | 64 characters |
| Unified Billing request rate | 200 requests per 60 seconds per gateway <sup>1</sup> |
<sup>1</sup> This rate limit applies to requests that use Cloudflare-managed credentials through Unified Billing. When the limit is exceeded, AI Gateway returns a 429 error. This limit does not apply to requests that use your own provider keys through bring your own keys (BYOK).
Log limits
New AI Gateway customers
Customers who create their first gateway on or after September 24, 2026 follow Workers Logs limits and Workers Logs pricing.
Existing AI Gateway customers
Customers who created a gateway before September 24, 2026 use Legacy Logs. The following limits apply:
| Feature | Limit |
|---|---|
| Log storage rate | 500 logs per second per gateway |
| Logs stored, paid plan | 10 million per gateway |
| Logs stored, free plan | 100,000 per account |
| Stored log size | 10 MB per log |
The free plan limit applies across all gateways. For behavior at these limits, refer to Legacy Logs storage.
Logpush limits
These limits apply to all AI Gateway customers:
| Feature | Limit |
|---|---|
| Logpush jobs | 4 per account |
| Logpush log size | 1 MB per log |
DLP limits
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.
Need a higher limit?
To request an increase to a limit, complete the Limit Increase Request Form ↗︎. If the limit can be increased, Cloudflare will contact you with next steps.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/ai-gateway/reference/limits/#page","headline":"Limits","description":"Review AI Gateway limits for gateways, log storage, cache size, metadata entries, and Logpush jobs.","url":"https://developers.cloudflare.com/ai-gateway/reference/limits/","inLanguage":"en","image":"https://developers.cloudflare.com/ai-gateway/reference/limits/og.png?v=af9a953056cfc7a0","dateModified":"2026-09-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Review AI Gateway pricing for logs and premium features. title: Pricing image: https://developers.cloudflare.com/ai-gateway/reference/pricing/og.png?v=ef3d0446a25cd6db
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/ai-gateway/llms.txt
Use this file to discover all available pages before exploring further.
Docs