emitd

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):

PlanDaily quotaMonthly quotaOverage / 1,000
Free1505,000none (hard stop)
Basic5,00050,000$0.40
Pay as you go250,000none (metered)$0.40
Credits1,000,000none (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 limit
  • X-RateLimit-Remaining — remaining requests in the current minute
  • X-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.

On this page