30M API requests on Cloudflare. Just to count them.
Writes @ $1/M rows. DO invokes @ $0.15/M.
- Direct D1: $30
- DO (1 invoke + 1 write): $34.50 + duration
- Queue → 100-batch D1: $36.30
- Chatty DO (4 writes/req): $124.50 + duration
The usage meter can cost more than the usage.
Looking at alternatives, the most likely would be a custom solution.