跳转到主要内容

Limits

import { Render } from "~/components";

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 Unlimited, with a default limit of 1,000. Each namespace above 1,000 costs $0.10 per month.
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

[^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.

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

:::note[Free versus Paid plan pricing]

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

:::

:::note[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.

:::