Skip to content

Limits

Last updated View as MarkdownAgent setup

Workers KV

Feature Free Paid
Reads 100,000 reads per day Unlimited
Writes to different keys 1,000 writes per day Unlimited
Writes to same key 1 per second 1 per second
Operations/Worker invocation 1 1000 1000
Namespaces per account 1,000 1,000
Storage/account 1 GB Unlimited
Storage/namespace 1 GB Unlimited
Keys/namespace Unlimited Unlimited
Key size 512 bytes 512 bytes
Key metadata 1024 bytes 1024 bytes
Value size 25 MiB 25 MiB
Minimum cacheTtl 2 30 seconds 30 seconds

Workers KV Instant

Feature Limit
Writes/namespace 1 per second
Storage/namespace 1 MB
Keys/namespace 10,000
Key size 300 bytes
Key metadata Not supported
Value size Any size that keeps the total namespace within 1 MB
List pagination Not supported. All matching keys are returned in one response.

Additional limits

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 ↗︎. ↩

Was this helpful?