Skip to content
Blog

My app costs less than my phone contract to run. This is exactly how.

How I use budgets, guard rails and careful choices about AI tokens to keep a free support app lean, without ever pulling the plug on the people who need it.

By Adrian Davies · · 6 min read

Last month Solaces cost me £9.42 to run.

I'd love to call that luck, but it's the whole point of the design.

Solaces is a free, anonymous peer support app. You tap a button and an everyday volunteer listener can pick up and talk. There's no subscription, no adverts and no premium tier with the good bits locked away. Free only works if the thing behind it is cheap to keep alive, so I built it lean from the first line of code.

It runs in a browser today. And as I write this, the iPhone version is sitting in Apple's review queue. If Apple clears it, people will be able to download it from the App Store. I mention it because it shapes everything below. Anything that goes into that app has to justify what it costs before it gets a place.

Update, October 2026: Solaces is now on the App Store.

I spent years building enterprise cloud and DevSecOps for large organisations. Terraform, GCP, AWS, pipelines, the lot. The most useful thing all that taught me was what to leave out.

1. The bill, in black and white

This is the whole £9.42, line by line.

The database, which holds every chat, note and setting£8.80
AI safety checks on messages, billed per use£0.51
Live chat updates, so messages arrive as they are sent£0.06
Data going back and forth, sounds and pictures included£0.03
Small background jobs that wake, do one job and sleep£0.02
Total£9.42

Nearly all of it is the database. The AI, the bit people assume must be expensive, came to about fifty pence.

Since Solaces launched, 624 conversations have happened in it. Spread last month's bill across all of them and each one cost about one and a half pence. Every one of those people paid nothing at all.

The £9.42 doesn't include the £79 a year Apple charges for the developer account that gets the iPhone app into the App Store. I'll carry that one whether the app has ten users or ten thousand.

There's no clever trick behind any of this. It's what happens when every part of the design has to answer one question before it gets built. Does this earn its keep?

2. Pay for what actually happens

Most apps pay for servers running flat out whether anyone shows up or not. Solaces works the other way round. When nobody's reaching out, almost nothing is running, so almost nothing costs money. The bits that do cost something wake up when someone taps the button, do one small job and go back to sleep.

It's like only paying for electricity while the kettle is on.

The website and the app share one codebase, so a fix made once works everywhere. The sounds in the Calm section of the app are real, free to use nature recordings. And I don't store anything that doesn't need storing.

3. The stack, and why each piece earns its place

I pay for the infrastructure behind Solaces by use rather than by the month. Partly that's because I know that world well after years in it, but mostly it's because of how it charges. If I'd put the same setup on big always on servers, I'd have been paying several times as much before a single person signed up.

Every change starts in my GitHub repository. When I finish something, it goes from the repo to the live app automatically, with no manual steps. That connection earns its keep twice. Each change stays small, so if something breaks I know which change did it. And publishing stays cheap in every sense, with no servers for me to babysit and no evenings lost to deployment chores. It keeps the bill predictable too, which matters when the whole design leans on knowing what things cost before they happen.

GitHub is where my whole development process lives, as well as my code. Every change goes in as a commit with a note explaining why. When AI writes code, I read it in a pull request before it lands. And if anything breaks, I can put the app back to the last good version without any drama. That safety net is what lets one person keep something like this healthy.

4. Budgets and alerts from day one

I didn't bolt the money side on afterwards. Monthly budgets and alerts were part of the setup from the start, so as spending passes each mark, an email reaches me well before anything becomes a problem.

Think of it as the low fuel light on a car. It comes on with plenty left in the tank.

5. Guard rails instead of kill switches

This is the part I think most founders get wrong.

The easy option is a hard cap. Hit the budget and switch everything off. For a shopping app, fine. For an app where someone might be reaching out at two in the morning, I'm not willing to do that.

So the guard rails are there to give me time. The bill grows with use, in steps I can see coming. More people means more messages, more checking and more storage, so the cost climbs gently, like a slope, and I can watch it coming. And if growth ever outpaced the budget, my first move would be to find the money. Switching people off would be the last thing I'd do.

6. The AI, and what it really costs

AI shows up twice in this story, and people assume it's the expensive part, which it isn't.

The AI inside Solaces checks messages for safety. Each call is a handful of tokens and only runs when it's needed. It's billed per use, so it grows with the number of people and the same guard rails cover it. Before choosing any model I worked out what each option would cost in practice, and Gemini came out as the sensible fit for the job.

The AI I build with is a different animal. It doesn't scale with users. Whether ten people or ten thousand show up tonight, the tokens behind the code cost the same. It sits on the building side of the ledger, well away from the running side.

Getting that difference clear in my head has mattered more than any clever optimisation.

Cost that grows with users needs guarding. Cost that doesn't is just a tool.

Managing AI coding tools is mostly restraint. I make small, specific requests rather than throwing the whole codebase at the model, and I read everything before it goes near the live app. Lean architecture adds up here too. One shared codebase means less for the AI to write, so fewer tokens and a smaller bill.

7. The question that kills features

When a new idea comes up, the first thing I ask is what it'll cost to run for the next year. How fast I can ship it comes second.

That question has quietly killed more features than any bug. I've deleted more than I've added, and the app is better for it.

Where the savings go

I'm not keeping costs down to get rich. Nothing's coming in yet anyway. I'm doing it to keep Solaces free for the person who needs someone at two in the morning and can't stretch to another subscription.

Will it stay this lean? Honestly, I don't know. If a lot more people find their way here, the bills will grow with them. But the principle stays the same. Solaces should cost as little as possible to run, so it can cost you nothing to use.

Keep the bills small and the choices careful, and the door stays open.

Building SolacesCloudAIFirst published on LinkedIn