Rate Limiting · Workers 100 units / min
Not every request is equal. A search costs 10. A lookup costs 1. Same budget.
src/index.ts
const delta = path === "/search" ? 10 : 1;

await env.MY_RATE_LIMITER.limit({
  key: userId,
  delta,
});
Units used · 0 / 100
0 lookups · 0 0 searches · 0

Tally of allowed calls, counted in this page. The limiter itself only answers success: true / false. Limits are approximate, per Cloudflare location.

Requests0
Tap a button