Rate Limits & Quotas
Learn how emitd handles rate limiting and plan quotas
Rate limits and quotas are enforced per-tenant by a Cloudflare Durable Object (DO_RATELIMIT), and are consumed only by POST /v1/email and POST /v1/email/batch.
(Note: A batch of 50 emails consumes 50 units, not 1).
Per-Minute Burst Limits
There is a flat limit of 100 requests/minute shared by all tenants across all plans. This is designed to protect the edge from sudden spikes.
Daily and Monthly Send Quotas
Quotas are tiered by your Plan and are tracked as rolling windows (not fixed-window resets):
| Plan | Daily quota | Monthly quota | Overage / 1,000 |
|---|---|---|---|
| Free | 150 | 5,000 | none (hard stop) |
| Basic | 5,000 | 50,000 | $0.40 |
| Pay as you go | 250,000 | none (metered) | $0.40 |
| Credits | 1,000,000 | none (metered) | $0.30 |
On metered plans (Pay as you go, Credits), the monthly window does not gate sending—every send is billable. The daily quota is a ceiling designed to protect you against a runaway script or job.
Rate Limit Headers
Every response from a rate-checked route includes the following headers:
X-RateLimit-Limit— the per-minute limitX-RateLimit-Remaining— remaining requests in the current minuteX-RateLimit-Reset— seconds until the current minute window resets
If you exceed a limit, you will receive a 429 Too Many Requests error containing a Retry-After header indicating how many seconds to wait.
Note: A send rejected after a quota unit was consumed (due to a validation failure, unverified domain, or suppression) has that unit refunded. Rejected emails never burn your paid quota.