Skip to main content

Limits

Workers KV

FeatureFreePaid
Reads100,000 reads per dayUnlimited
Writes to different keys1,000 writes per dayUnlimited
Writes to same key1 per second1 per second
Operations/Worker invocation 110001000
Namespaces per account1,0001,000
Storage/account1 GBUnlimited
Storage/namespace1 GBUnlimited
Keys/namespaceUnlimitedUnlimited
Key size512 bytes512 bytes
Key metadata1024 bytes1024 bytes
Value size25 MiB25 MiB
Minimum cacheTtl 230 seconds30 seconds

Workers KV Instant

Note

Workers KV Instant is currently in private beta. To enroll, contact your Cloudflare account team or sign up and tell us about your use case.

FeatureLimit
Writes/namespace1 per second
Storage/namespace1 MB
Keys/namespace10,000
Key size300 bytes
Key metadataNot supported
Value sizeAny size that keeps the total namespace within 1 MB
List paginationNot supported. All matching keys are returned in one response.

Additional limits

Need a higher limit?

To request an adjustment to a limit, complete the Limit Increase Request Form. If the limit can be increased, Cloudflare will contact you with next steps.

Free versus Paid plan pricing

Refer to KV pricing to review the specific KV operations you are allowed under each plan with their pricing.

Workers KV REST API limits

Using the REST API to access Cloudflare Workers KV is subject to the rate limits that apply to all operations of the Cloudflare REST API.

Footnotes

  1. Within a single invocation, a Worker can make up to 1,000 operations to external services (for example, 500 Workers KV reads and 500 R2 reads). A bulk request to Workers KV counts for 1 request to an external service. ↩

  2. The maximum value is Number.MAX_SAFE_INTEGER. ↩