Clatter Labs
Console

Code Buckets

Limits

The numbers that bound projects, buckets, uploads and requests.

LimitValue
Storage per bucket10 GB (10,737,418,240 bytes), counting stored zips and assets plus unfinished uploads
Chunk size16 MiB (16,777,216 bytes); the last chunk is shorter
Chunks per file1,000
Whole-file downloadUp to 1 GB; larger objects download chunk by chunk
Projects per account100
Buckets per project100
Preview: file size2 MB per file (bigger files stay in the zip)
Preview: per zipabout 96 MB of files and 20,000 files
Names80 characters (projects, buckets, backups); file names 255
Descriptions500 characters
JSON request body16 KB
Requests per minutePer key: 10, 30 (default), 60 or 120. Chunk uploads and downloads don't count toward it
BackupsFree: 1 per account
TokensFree: 1,000,000 per month (UTC calendar month)

Best practices

Keep keys on the server

Never ship a clsk_ key in a browser, mobile app or public repository. Give each integration its own key with only the permissions it needs; a CI job that uploads needs buckets:write, a dashboard only buckets:read.

Upload in parallel, resume on failure

Send 3 or 4 chunks at a time and retry a failed chunk. If the process dies, read received_chunks and send only what's missing.

Read with a ref

Tree and file reads with ?ref= are cached at the edge. Read bucket.code.ref once and reuse it.

Back up before big changes

Take a backup before uploading a zip that replaces the whole tree. Restoring is free.