Hacker News new | ask | show | jobs
by len_chapaty 39 days ago
nice, how are you calculation the cost?
2 comments

Good question. The cost estimate uses two components:

1. Bandwidth: total bytes served to bots divided by 1GB, multiplied by $0.09/GB (AWS/Cloudflare blended average rate)

2. Compute: total bot requests divided by 1 million, multiplied by $0.40 (Vercel/Lambda average per million invocations)

Both rates are configurable assumptions — the real value is seeing the relative breakdown between bots and the order of magnitude of waste. Your actual cost depends on your specific hosting provider.

Got it, makes sense. Worth noting intra-region vs inter-region transfer can differ a lot too. As a blended average for an order-of-magnitude estimate, this is really useful.
Good point — intra vs inter-region transfer costs can vary significantly, especially on AWS. The $0.09 is deliberately conservative as a blended estimate. A future version could let users input their actual hosting provider rates for a more precise number. Adding that to the roadmap. Thank you.
Was that response written and/or auto-replied by AI?
Fair question given the context. I used AI tools to help build the product, and I do use AI to help draft responses — but I read, edit, and post every reply myself. Nothing is auto-posted.
Hopefully not by using another AI bot... ( ͡° ͜ʖ ͡°)
Nope, pure JavaScript in your browser. No AI bots were harmed or employed in the making of this tool.