· Jesse Edwards · Case Studies · 4 min read
Why I Still Pay for AI Instead of Running It Myself
My AI bill is about $40 to $50 a month. A GPU that could replace it would take 3.5 years or more to pay for itself. Why self-hosting does not make sense for me yet, and what I do instead.

This is the third post in a series that started with A Year of Building With AI: What Worked and What Didn’t. This one is about cost: why I still pay for AI instead of running it myself.
The cost of running it yourself
I will always remember my operating systems professor explaining memory. He said, We will always need more and it will never shrink. And that is why today we learn about operating systems memory optimization. He was right then, and is still right now.
AI is the same story. Every time the models get better, more memory is needed. I should reach back out and ask him if he ended up investing in memory stocks at that time. Wish I would have.
I personally like open source software and owning my own hardware. Something about building a computer, running linux and tinkering with it appeals to me.
And that is probably why I would prefer to get off paid APIs and move to open source models on my own hardware. I have run open source models like Qwen locally on my laptop. I have an M4 Pro with 24 GB of memory. I ran Qwen 2.5 Coder, 32 billion parameters squeezed down to 4-bit, and it took 19 GB of the 24 on its own. It still felt a long way behind gpt-4o-mini. These advanced models today require a hefty hardware spec. Although my mighty small Mac crunches compiling and running code faster than ever it still isn’t close to being able to run a frontier model.
Going that route means buying proper GPUs or specialized hardware. To run a decent model you would need two 5090’s at the time of writing this. Or something that has 64GB to 128GB of unified RAM. So price is between $4k to $12k.
My AI bill is normally about $45 a month, almost all of it the data pipeline. The Rails side is small for now. It runs higher in a month when I am testing a new feature, but not by much. At that rate, the hardware alone would take 3.5 to 7.5 years to pay for itself, even assuming a higher usage spike of $100 a month. Additionally that is not mentioning the power needed. And after 4 years hardware will be like the 1070 card I have, almost useless. Four years from now the models will be bigger and I would be shopping for hardware again.
There is another option, renting hardware. If we do the calculation on that when checking the cost it is around $0.90 per hour to $2.00 per hour. Today my average spend rate per day is $1.50 per day. Easy math. So it is almost a tie, but it adds complexity. Instead of calling an API I would have to manage that infrastructure myself. The good news is these calculation are simple. Every company and every product will be different.
So for now I pay per call, and I spend my effort on the parts I control.
- Test the cheapest model that does the job, on your real data. The small model was about 10 to 15 times cheaper for us. We have several features and calls, but a majority of the time we could make minor software adjustments to compensate. E.g we use a smaller less expensive model and when judging a match for a contractor and job pair, the better model was pretty consistent on rating the match 10 points lower. So an easy fix, use the less expensive model and adjust the threshold accordingly.
- Only call AI when a plain rule cannot do the job.
- Make the model, and even the provider, swappable so you can switch without rewriting code.
There is one kind of self hosting that does make sense for us already. Part of our bid checklist uses two small open source models that run on the server’s own processor: one finds text that means the same thing, the other checks whether one sentence backs up another. They take about 400 MB of memory and cost nothing per call.
Every product is different. Sometimes it makes sense to buy hardware. If you are ripping through calls and your AI cost are through the roof owning hardware might be worth it. Good new is those calculations are straightforward and you can make an pretty accurate decision.
Self hosting will make sense for some teams. High volume, strict privacy or compliance rules, or steady around the clock load. Companies who already pay for someone to setup and maintain the hardware this also could be a good option. For most small companies, it is a hardware bet against a curve that has never went down in the long run.
The next post, What Our Production AI Actually Costs, has the real numbers.



