Limits come from the runtime and the control plane. Values marked “default” can be changed by the operator through environment variables.
| Limit |
Default |
Notes |
| CPU time per request |
50 ms |
0 means no budget. |
| Memory |
128 MiB |
Bounds the V8 heap plus external bytes. |
| Subrequests per request |
50 |
|
| Concurrent outbound connections |
16 |
|
Wrangler limits supports only cpu_ms and subrequests; memory_mb is rejected. Declaring a non-default quota on a cell that does not report the quotas capability fails with 409 (VRT_CAPABILITY_UNSUPPORTED).
| Limit |
Value |
| Protocol |
HTTP/1.1 upgrades only |
| Idle timeout |
300 s |
| Maximum lifetime |
4 h |
| Per ingress |
4096 |
| Per tenant |
256 |
Over capacity, the ingress answers 503 with ws_capacity. WebSocket hibernation is not emulated.
| Limit |
Value |
Bindings per worker (of deploy) |
64 (assets binding included) |
| Wrangler config file |
256 KiB |
| Bundle upload to the plane |
PLANE_MAX_BUNDLE_BYTES, default 128 MiB |
| JSON request body (management API) |
1 MiB; deploy-source and editor requests have a larger dedicated limit |
| Typed JSON var |
16 KiB each (encoded) |
--tag on a version |
128 UTF-16 code units |
| Worker entrypoint name |
1-255 characters |
| Git build command |
1024 characters |
| Limit |
Default |
Override |
| Files per deployment |
20,000 |
VRT_ASSET_MAX_FILES |
| Size per file (runtime) |
25 MiB |
VRT_ASSET_MAX_FILE_BYTES |
| Total size guard |
512 MiB |
VRT_ASSET_MAX_TOTAL_BYTES |
Through the control plane, uploads are further limited to 8192 files, 8 MiB per object, a 1 MiB manifest, and a 512 MiB team quota.
| Service |
Limit |
| KV value via control plane / CLI |
1 MiB |
KV expirationTtl |
at least 60 s, not combined with expiration |
| KV bulk |
1-1000 items, 8 MiB total, not atomic |
| R2 object via control-plane op |
4 MiB at the cell; 1 MiB JSON request at the plane, so less in practice |
| R2 bulk delete |
1000 keys |
| D1 query SQL |
100 KiB, at most 100 params |
| D1 migrations per apply |
512, each at most 256 KiB |
| Queue message |
1 byte to 128 KiB, UTF-8 |
Workflow limits.steps |
at most 100,000 |
| Worker loader |
32 live workers per loader |
| Tail consumers |
at most 16, same tenant |
| Limit |
Value |
--wait-ms |
default 10000, maximum 30000 |
of logs --limit |
1-1000, default 100 |
| Login token |
32-256 printable ASCII characters |
| Profile name |
1-63 characters |
Exactly one selector per request: a worker name, 1-1000 tags, a path prefix (starts with /, at most 2048 characters) or all: true. The cell must report the cachePurge capability or the request returns 409. A purge operation expires after 1 hour.
The Workers Cache API is per host, in memory and non-persistent; it is lost when the process restarts. ignoreMethod, ignoreSearch, ignoreVary and cacheName are not implemented.
| Item |
Rule |
| Hostname |
Lowercase FQDN, ASCII (punycode), at least 2 labels, no wildcard, at most 253 characters |
| Managed hostname |
<label>.<base domain>; reserved labels refused |
| Member login |
^[a-z][a-z0-9_-]{0,62}$, not admin |
| Profile name |
1-63 characters, alphanumeric first, then ., _, - |
kv-d1 template worker name |
at most 60 characters |
| Worker id |
team:name |
| Item |
Rule |
| Prefix |
ofw_ |
| Label |
1-80 characters |
| Scopes |
1-3 of logs:read, metrics:read, code:deploy |
| Expiry |
required, future ISO timestamp |
| Item |
Rule |
PLANE_ADMIN_TOKEN |
at least 32 characters |
CONSOLE_AUTH_PASSWORD |
at least 16 characters |
| Member credential |
ofm_ plus 64 hex characters |
See also Compatibility and the CLI reference.