A $85 Bot Can Cost You $87,600 A Year. Here’s The Math.

A small Raspberry Pi board sending a stream of requests at a wall of seven server racks. About $85 for the bot, about $87,600 a year to answer it.

Here’s something I said out loud the other day: you could build a bot, run it on a Raspberry Pi, and absolutely drown a $100,000 web server setup with requests.

It sounded right. It felt right. But “sounds right” is how most bad ideas on the internet get started, so I went and checked.

It’s right. If anything, I lowballed it.

$85

one Raspberry Pi 5, the bot’s whole budget

~600x

more work to build a real page than to send a request

~$87,600

a year in servers to keep up with it (napkin math below)

This is Part 3 of the series. In Part 1 bots spammed a blog they never read. In Part 2 they filled our shopping carts. This one is about why any of that is so cheap for them and so expensive for you.

The Bots Already Outnumber You

Before we get to the math, a little perspective on how many of these things are out there.

53%

of all web traffic was bots in 2025, up from 51% the year before

40%

of all web traffic was bad bots, up from 37%

12.5x

growth in AI-driven bot activity in one year

Those numbers come from Imperva’s 2026 Bad Bot Report (as reported by Help Net Security) and last year’s edition. Fair warning: Imperva sells bot protection, so they’re not exactly a neutral party. But it lines up with what I see on my own sites every single day, and it’s only going one direction.

More than half of everything knocking on the internet’s doors isn’t a person. And every year there’s more of it, because every year it gets cheaper to run. Which brings us to the part nobody talks about.

Asking Is Cheap. Answering Is Expensive.

Every visit to your site is a conversation. Somebody asks for a page. Your server answers.

The asking part is tiny. A request is a few lines of text: give me this address, here’s who I claim to be. A program can fire those off all day long without breaking a sweat.

The answering part is where the work lives. For a WordPress or WooCommerce page that isn’t sitting in a cache, your server has to start PHP, load WordPress and every plugin you’ve installed, ask the database a pile of questions, build the HTML, and ship it back. Every time.

How big is that gap? Same little computer, two jobs. A Raspberry Pi 4 running a stripped-down web server answered about 93,000 simple requests a second. A Raspberry Pi 4 building real pages with a content management system (Drupal, a close cousin of WordPress) managed about 149 a second.

Bar chart: a Raspberry Pi 4 answered about 93,000 simple hello requests a second but built only about 149 real web pages a second, roughly 600 times less.
Two different tests on the same model of board, so treat the ratio as a ballpark, not a lab result.

Roughly six hundred to one. The bot lives on the cheap side of that gap. Your store lives on the expensive side. That’s the whole problem in one picture.

“But I Have Caching.” Good. Bots Don’t Care.

Caching is the fix for this, and it works great when everybody asks for the same thing. Your home page gets built once and handed out ten thousand times. The same PiDramble cluster that built 142 fresh pages a second served 3,297 a second from cache. That’s 23 times better.

Now guess which pages can’t come from a cache.

Kinsta, one of the big WordPress hosts, lists them: the cart, checkout, add-to-cart links, search, filtered product pages and background requests. Every one of those has to be built fresh, and while it’s being built it ties up one of your PHP workers.

A PHP worker (Kinsta now calls them threads) is a lane at the checkout counter. Kinsta puts it plainly: each one processes one request at a time. Their smallest plans come with 2. Their biggest, 16.

So a bot that wants to hurt you doesn’t ask for your home page. It asks for the cart. Or a search for something random. Or the same product with a different filter, over and over. Every one of those is a fresh build. Remember DotBot from Part 2, putting 1,050 things in our cart from one address? Every single one of those was a page our server built from scratch.

Why You Can’t Just Add More Lanes

The obvious answer is more workers. More lanes, shorter lines, right?

Only until you run out of processor. Pagely, another WordPress host, tested exactly this on a 32-core server where each request needed about a fifth of a second of work. With 50 workers it handled about 160 requests a second. With 400 workers it handled… about 160 requests a second. The only thing that changed was the wait.

Bar chart from a Pagely test: adding PHP workers past about 50 kept throughput near 160 requests a second while the average wait grew from 0.19 to 2.42 seconds.
Once the processor is full, more workers just means a longer line.

From 0.19 seconds to 2.42 seconds. Same server, same throughput, twelve times slower for everybody in line. Including the customer with a credit card in their hand.

And when the line gets too long, it doesn’t just get slow. Kinsta says a full queue starts rejecting requests, which shows up as 502 and 504 errors. That’s the “this site can’t be reached” page your customer sees right before they go buy from somebody else.

The Napkin Math: $85 vs. $87,600

OK, let’s put numbers on my Raspberry Pi line. Every input here is either sourced or labelled as an assumption, so you can swap in your own.

The Bot

One Raspberry Pi 5, 4GB: $85 list price (Raspberry Pi’s December 2025 price of $70 plus the February 2026 increase of $15).

Assumption: it sends 1,000 requests a second at pages that can’t be cached. That’s about 1% of what a Pi 4 answered in the simple test above.

The Server

Assumption: each request needs about 0.2 seconds of processor time, like Pagely’s test. Real WooCommerce pages vary a lot, heavier or lighter.

Measured by Pagely: a 32-core server topped out around 160 requests a second at that load.

1,000 ÷ 160 = 6.25. Round up: 7 big servers.

The Bill

Price: a 32-processor Amazon server (c7i.8xlarge) lists at $1.428 an hour on demand in Northern Virginia.

7 × $1.428 × 730 hours = about $7,300 a month.

That’s about $87,600 a year, against a bot that cost less than dinner for two.

Is that exact? No. It’s napkin math, and I’m telling you that up front. Your pages might be lighter. You might buy servers instead of renting them. The bot’s internet connection matters too: it still has to receive whatever you send back, and a home connection only carries so much.

But here’s the other direction. Real attackers don’t use one Pi. In 2023 Cloudflare watched a botnet of roughly 20,000 machines push more than 201 million requests a second. That’s an average of about 10,000 requests a second per machine. Run my math at 10,000 instead of 1,000 and you need 63 of those servers. That’s about $788,000 a year to keep up with one of them.

So yeah. A $100,000 setup? I lowballed it.

This Isn’t Hypothetical. Here’s Our Week.

I run Stattery on my own sites, including Texas Metal Works, One Man’s Blog and johnp.me. With Edge Observers in front of them, I don’t have to guess what’s hitting the servers. I can see it, every request, in Real time. A few things from the logs this week:

6,377 Requests, One Address

One address on a VPN service hit Texas Metal Works 6,377 times in two days, and 1,212 of those were cart links. Every cart link is a page that can’t come from cache. In a single hour our Edge Observer turned away 4,228 of its requests before they ever touched the store.

1,232 In One Hour

A single hosting company address in Amsterdam went after One Man’s Blog. The Edge Observer turned away 1,232 of its requests in one hour. That same night, two addresses in Strasbourg tried 1,264 times on johnp.me in an hour.

50,318 Turned Away In Three Days

From November 18 through November 20, our Edge Observers refused 50,318 requests from 529 addresses across nine of my sites: Texas Metal Works, One Man’s Blog, WeldProjects, StepFile, johnp.me, Stattery, AlwaysDetour, Futtbucker and OnlyReason. Every one of them had its Edge Observer running the whole time. Not one of those requests reached PHP. Not one tied up a worker.

Seven Million A Day

That’s just my sites. Kinsta counted over seven million bot requests to add-to-cart links across its servers in 24 hours, and one AI crawler alone at roughly one request every 23 milliseconds.

None of these were sophisticated. They didn’t need to be. When asking costs nothing and answering costs you, dumb and persistent wins.

Fight On The Cheap Side Of The Gap

First, so nobody’s surprised: everything in this section needs the Edge Observer option. Without it, Stattery runs a JavaScript tag on your pages, the same way Google Analytics and every other stats provider does. That’s fine with us, and you still get great analytics. But a tag only runs after your server has already built the page and sent it, and most bots never run it at all. So without an Edge Observer, you don’t get any of the protection below.

Here’s the good news, and it’s the reason Stattery is built the way it is.

The asymmetry cuts both ways. Building a page is expensive. Saying “no” is cheap. A refusal is a tiny reply, the 93,000-a-second side of that chart, not the 149-a-second side. If you say no before the request reaches WordPress, the bot is the only one doing any work.

That’s what Edge Observers do. They sit in front of your site at the network’s edge, see every request as it arrives, and a bot we’ve already caught gets turned away right there. Your server never builds the page. Your workers stay free for the people who actually want to buy something.

How do we decide who gets turned away? Not telling. You don’t hand the bots the playbook.

One Set Of Tools Stops All Of It

This is the thread running through the whole series. Comment spam, cart bots, and bots that just pound your server look like three different problems. They’re one problem, and they fall to the same three things:

1. See Everything

Edge Observers see every single request, in Real time. Not a sample. Not tomorrow’s report.

2. Know Who’s Human

Stattery tells people from bots. Once you know which is which, a flood stops being a mystery and starts being a confession.

3. Act Immediately

Seeing it live means stopping it live, on the cheap side of the gap, before your server pays for a single page.

  • A bot goes straight to your comment form without reading the post? Shut it down. (Part 1.)
  • A bot starts putting things in your cart? Shut it down. (Part 2.)
  • A bot hammers pages your server has to build from scratch? Turn it away at the edge, where it costs you almost nothing. (That’s this one.)

What You Should Take From This

Requests are cheap. Pages are not. On the same chip, building a real page was roughly 600 times the work of a simple reply.

Caching protects the pages bots don’t care about. Cart, checkout, search and filters get built fresh every time.

More servers is a losing race. Napkin math says one $85 board can run up a server bill near $87,600 a year.

Stop them before the server, and stop thinking about them. A “no” at the edge is cheap, and it’s our job, not yours. Part 2 shows what happens in the cart when you don’t.

Run Your Business. We’ll Fight The Bots.

You got into this to sell things, or write, or run a shop. Not to babysit server logs at midnight wondering why the site crawled to a halt. You should be running your business, not fighting bots.

That’s our job. Put Stattery to work, add the Edge Observer option so it sits in front of your site, and hand us the headache. We watch every request in Real time and turn the bots away before your server lifts a finger. They can keep their Raspberry Pi. You keep your money, and your evenings.

Catch up on the series: Part 1, comment spam and Part 2, bots in your cart.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *