Limits

These are limits that Val Town enforces. These limits are subject to change, and some are soft-enforced. For pricing and plan details, see Pricing.

If you're regularly hitting one of these limits and it's blocking a legitimate use case, let us know.

By plan

Limits that depend on which plan you're on. See Pricing for feature differences.

LimitFreeProTeams
Execution timeout
Maximum wall-clock time for a single val run.
1 min10 min10 min
Log retention
3 days10 days10 days
Log lines per day
100,000200,000200,000
API requests per minute
Authenticated Val Town API calls.
1,00010,00010,000
Val creations per minute
106060
Minimum cron interval
Shortest delay between scheduled runs of a single val.
15 min1 min1 min
Private vals
5UnlimitedUnlimited
Custom domains
010Unlimited
Email external recipients
Whether std/email can send to addresses other than your own.
NoYesYes

Vals

File size80,000 characters
Per-file limit. Applies to source files in a val.
Files per val1,000
Branches per val100

Runtime

Incoming email size30 MiB
Total size of a delivered email (headers + body).
Request depth15
Maximum chain of Val Town requests triggering other Val Town requests.
Worker runtime6 hrs
Absolute ceiling on a single worker's lifetime, regardless of plan.
Worker idle timeout10 sec
How long a worker waits for more requests before shutting down.
Worker memory4 GiB

Logs

Log line length8,192 characters
Lines longer than this are truncated.
Log lines per run5,000

Account

Handle length3–29 characters
Handle renames5
Lifetime cap on how many times you can rename your account.
Bio length256 characters
Subdomains per account500

Organizations

Pending invitations50
Outbound invitations can be in flight at once.
Invitation expiry7 days

Names and descriptions

Val name1–48 characters
Branch nameUp to 48 characters
Val description64 characters
PR title512 characters
PR description4,096 characters
Search query256 characters

Environment variables

Key length8,192 characters
Value length8,192 characters
Description length1,024 characters
Per .env import100
Maximum keys imported from a pasted .env blob.

AI chat (Townie)

Message length6,000 characters

AI chat also has per-period spending allotments that vary by plan; see Pricing and the Townie docs.