Building software is a one-time cost. Keeping it alive is a cost that never stops, and it is often the larger one. This guide shows where that keep cost comes from and how to budget for it before it budgets you.
The launch went well. The demo worked, the first users signed up, and the team took a day off. Three months later, the same team spends Monday on a broken payment webhook, Tuesday on a library upgrade, and Wednesday on alerts nobody can explain. Nothing new shipped. Nobody did anything wrong.
Short answer: the price of building software is not the price of keeping it. Building is a one-time project. Keeping is a system of people, process and automation that runs every week. That system pays for toil, fixes, upgrades, security patches and debt. If you do not design and budget it, it grows on its own until it eats the roadmap.
This page is part of a series on software ownership after launch. It sits after the test of stepping away and before AI agents in maintenance. Here the focus is money and time: what the keep cost is made of, how to size it, and how to cap it.
Launch ends one bill and opens another
Launch closes the build budget and opens a running budget that has no end date. The build cost is the price of making the thing. The keep cost is the price of keeping it true, safe and useful while the world around it moves.
Most plans treat launch as the finish line. The spreadsheet has a build line, maybe a hosting line, and then a blank. That blank is where the real bill hides.
Think of two numbers. The first is what it costs to reach version one. The second is what it costs, each month, to stay at a working version one while users, vendors and threats change. Total cost of ownership is the first number plus many months of the second.
The second number is not one thing. It is a mix of small, repeated jobs:
- Someone answers alerts and pages.
- Someone triages bug reports and fixes the real ones.
- Someone updates libraries, runtimes and base images.
- Someone renews keys and certificates and rotates secrets.
- Someone patches security holes when a new one is published.
- Someone handles data fixes, refunds and odd support cases.
- Someone decides which of these to do now and which to skip.
Each job looks small. Together they form a second product that nobody planned to build. Software maintenance is often described as the last and longest phase of the life cycle. That same article reports it as comprising 80 to 90 percent of lifecycle cost. Treat that range as a widely cited figure, not a law. The direction is what matters: the keep cost is usually the larger cost.
There is a reason for that. The article notes that, unlike development, maintenance is driven by events, such as user requests or the discovery of a bug. You cannot schedule events. You can only build a system that is ready for them.
Reframe: a launch is a date. Survival is a habit.
Software engineering is programming integrated over time
The book Software Engineering at Google puts the whole problem in one line: software engineering is programming integrated over time. Time is what turns a working program into a cost center that needs care.
The first chapter of Software Engineering at Google says, "Within Google, we sometimes say, 'Software engineering is programming integrated over time.'" The point is simple. Writing code is the first step. Keeping that code correct as everything around it changes is the larger job.
The book asks a sharp question: what is the expected life span of your code? It notes that reasonable answers vary by roughly a factor of 100,000. A script for one meeting can live for minutes. A billing system can live for decades. The longer the life span, the more time matters.
Short-lived code barely feels time. Long-lived code feels it everywhere. The book says that over a span of a decade or more, most program dependencies, whether implicit or explicit, will likely change. Your code did not change. The ground under it did.
Sustainability is a capability, not a state
The book defines the goal in plain terms. A project is sustainable if, for its expected life span, you can react to whatever valuable change comes along, for either technical or business reasons. Note the word "capability." You do not have to make every upgrade. You do have to be able to.
That is the gap this series keeps naming. First-order engineering builds the product. Second-order engineering builds the capacity to keep it changing safely. The book frames the cost side as one question: how much will it cost to do the things that we need to do repeatedly?
Repeated work is the core of the keep cost. If a task happens once, its cost is a line item. If it happens every week, its cost is a rate. Rates add up in a way that line items never do.
When costs grow faster than the system
The same chapter warns that if costs grow superlinearly over time, the operation clearly is not scalable. Picture a manual release that takes one hour today. If each new service adds another manual step, the hour becomes a day. The system grew a little. The cost grew a lot.
It also warns about deferral. If changing something comes at inordinate cost, it will likely be deferred. Deferred changes pile up. Then the first big upgrade bundles several years of changes at once, which the book lists as one reason that first upgrade is so painful.
Reframe: you do not pay for software once. You pay for it per unit of time, for as long as it lives.
Toil is the part of upkeep that grows with the service
Toil, as Google SRE defines it, is production work that is manual, repetitive, automatable, tactical, without lasting value, and that grows linearly as the service grows. It is the most avoidable part of the keep cost, and the part that most often goes unmeasured.
The Eliminating Toil chapter of the Google SRE book gives the exact definition: "Toil is the kind of work tied to running a production service that tends to be manual, repetitive, automatable, tactical, devoid of enduring value, and that scales linearly as a service grows." Not every toil task has all six traits. The more it matches, the more likely it is toil.
The book is careful to say what toil is not. Toil is not just work you do not like. Meetings, goal setting and HR paperwork are overhead, a separate bucket. Grungy work that leaves a lasting improvement, such as a deep cleanup of alert rules, is not toil either.
The six traits in practice
Here is each trait with a plain test you can apply to your own week.
| Trait | Plain test | Typical example after launch |
|---|---|---|
| Manual | A person does it by hand, even if they run a script | Running the deploy script and watching it |
| Repetitive | You have done it before and will do it again | Restarting the same worker every few days |
| Automatable | A machine could do it as well, or design could remove it | Copying error details into a ticket |
| Tactical | It is a reaction to an interrupt, not a plan | Answering a pager alert at night |
| No enduring value | The service is in the same state after you finish | Clearing a full disk that will fill again |
| Grows with scale | More users or traffic means more of this work | Hand-approving each new customer account |
Two details from the book matter for budgets. First, the hands-on time a human spends running a script, not the elapsed time, is still toil time. Running a script by hand is still manual work. Second, if your service remains in the same state after you finish a task, the task was probably toil.
Why linear growth is the real danger
The sixth trait is the one that breaks budgets. The book says that if the work in a task scales up linearly with service size, traffic volume or user count, that task is probably toil.
The contrast is striking. The same chapter says an ideally managed and designed service can grow by at least one order of magnitude with zero additional work, other than one-time efforts to add resources. Ten times the users, the same upkeep. That is the target shape.
When upkeep grows with users, success becomes a cost problem. Every new customer adds a little more hand work. The launch looked cheap because there were few users. Survival gets expensive because there are many.
Reframe: toil is a tax on growth. Automation is how you stop paying it per user.
The 50 percent cap keeps toil from eating the team
Google SRE has a stated goal of keeping operational work, which it calls toil, below 50% of each SRE's time. The cap exists because, in the book's words, toil tends to expand if left unchecked and can quickly fill 100% of everyone's time.
The Eliminating Toil chapter states it directly: "Our SRE organization has an advertised goal of keeping operational work (i.e., toil) below 50% of each SRE's time." The other half should go to engineering project work that either cuts future toil or adds features. That is the "Engineering" in Site Reliability Engineering.
The reason for the cap is not comfort. It is physics of a kind. Per the same chapter, toil tends to expand if left unchecked and can quickly fill 100% of everyone's time. With no cap, there is no point at which the team stops to fix the cause. It just keeps paying.
On-call sets a floor under toil
The book shows that toil has a minimum you cannot design away. It says a typical SRE has one week of primary and one week of secondary on-call per cycle. In a 6-person rotation, per the book, the lower bound on potential toil is 2/6 = 33% of an SRE's time. In an 8-person rotation, per the same page, the lower bound is 2/8 = 25%.
The Being On-Call chapter adds a related limit. It says Google strives to invest at least 50% of SRE time into engineering, and that of the remainder, no more than 25% can be spent on-call. The rest of that half goes to other operational work.
This has a direct lesson for small teams. A team of one cannot have a rotation. Every page, every week, lands on the same person. The floor under toil for that person is not a fraction. It is the whole on-call load, all the time. That is how a launch turns into another job.
Where the toil comes from
The book also reports what fills the toil bucket. Per the chapter, SREs report that their top source of toil is interrupts, meaning non-urgent service messages and emails. The next leading source is on-call, which is urgent. Releases and pushes come after that.
That ordering matters. Teams often budget for outages. They rarely budget for the steady drip of small requests. Yet the drip is what fills the week.
The cap travels, even if the number does not
The SRE Workbook chapter on toil is honest about fit. It says the 50% target may not be appropriate for your organization. It adds that there is still an advantage to placing an upper bound on toil, because identifying and quantifying toil is the first step toward optimizing your team's time.
So pick your own number. A startup might choose a lower cap than Google. A team in a migration might accept a higher one for a quarter. What matters is that a number exists, that someone measures against it, and that crossing it triggers work to bring it down.
Reframe: a cap is not a limit on effort. It is a promise to fix causes, not just symptoms.
Four kinds of maintenance each need a slot in the budget
The ISO/IEC 14764 standard sorts software maintenance into four types: corrective, adaptive, perfective and preventive. A budget that only funds bug fixes is funding one quarter of the job.
According to the Wikipedia summary of the standard, software maintenance can be classified into four types. Each one has a different trigger and a different owner.
| Type | What it does | Trigger | Who usually notices first |
|---|---|---|---|
| Corrective | Fixes a bug or other failure to meet requirements | A user report or an alert | Users or monitoring |
| Adaptive | Keeps software usable in a changed or changing environment | A vendor, runtime or platform change | Release notes, deprecation emails |
| Perfective | Improves qualities such as user experience, efficiency and maintainability | Growing friction or cost | The team, if it looks |
| Preventive | Fixes problems that have not shown up yet | Risk review, audits, aging signals | Nobody, unless it is scheduled |
Corrective work is the visible slice
Corrective work is what most people mean by maintenance. Something broke, so someone fixes it. The article notes that, despite testing and quality assurance, virtually all software contains bugs where the system does not work as intended. So corrective work never reaches zero.
It is also the easiest slice to see. Users complain. Alerts fire. The cost lands on someone's desk with a name on it.
Adaptive work is the slice that arrives from outside
Adaptive work happens when the world changes and your code does not. A runtime reaches end of life. An API version is retired. A certificate rule tightens. The companion piece on obsolescence without code changes covers this slice in depth.
This is where the Software Engineering at Google point about dependencies bites. Over a decade, most of them will likely change. Each change is adaptive work you did not choose but must do.
Perfective and preventive work are the slices that get cut
Perfective work improves the code without a bug to force it. The Wikipedia article makes an important claim here: perfective maintenance is necessary if other types are carried out, because changing a code base will otherwise increase complexity and cause the existing structure to deteriorate. In plain words, every fix makes the code a little worse unless someone also tidies.
Preventive work fixes problems that have not happened yet. It is the hardest slice to justify, because success looks like nothing. That is exactly why it gets cut first, and why its absence shows up later as corrective work.
Lehman's laws explain why the slices never close
Lehman's laws of software evolution describe the same pressure from another angle. The law of Continuing Change says a real-world system must be continually adapted or it becomes progressively less satisfactory. The law of Increasing Complexity says complexity grows unless explicit work is done to maintain or reduce it.
A third law, Declining Quality, says the quality of such a system will appear to decline unless it is rigorously maintained and adapted to operational changes. Put the three together and the budget writes itself. Adaptive work is forced by change. Perfective work is forced by complexity. Preventive work is forced by decay.
Reframe: if you only fund the slice that users can see, you are borrowing from the three they cannot.
Technical debt is the interest on choices made before launch
Technical debt is the future cost of shortcuts taken to ship sooner. It turns the cost of poor quality into a monthly payment: every hour spent working around not-quite-right code is interest, and the principal stays until someone repays it.
The Wikipedia entry on technical debt traces the term to Ward Cunningham in 1992. His framing is still the clearest: "Every minute spent on not-quite-right code counts as interest on that debt." A little debt can speed up a launch. The danger is when it is never paid back.
The same entry lists what unpaid debt does. Failure to address it can result in reduced maintainability, increased development costs, and risk to production systems. It also says debt raises the cost of ongoing maintenance, which makes release dates harder to predict.
The cost of poor quality shows up as rework and delay
Poor quality rarely sends one big bill. It sends many small ones. The entry reports that empirical studies have shown delivery delay, reduced maintainability and rework as the most frequently reported effects of technical debt. Each of those is a keep cost in disguise.
Rework is the clearest case. A feature ships, breaks in a corner case, and comes back. The team builds it twice and pays for it twice. Delay is subtler. Every new change takes longer because the code fights back. Nobody logs that time as "debt." It just shows up as slower weeks.
The software maintenance article adds a blunt line: many software organizations neglect maintainability, even though doing so will increase long-term costs. It also notes that understanding existing code and testing a change often make up most of the maintenance cost. Hard-to-read code makes every one of those steps slower.
Debt changes the shape of the keep cost
Here is why debt matters for total cost of ownership. Without debt, upkeep is roughly flat. With debt, each change costs a bit more than the last. That is the superlinear curve that Software Engineering at Google warns about.
So debt is not only a quality problem. It is a budget problem. A codebase with heavy debt has a higher monthly keep cost, a slower roadmap, and a larger first upgrade. The build budget looked smaller because the bill was moved into the future.
Finding problems early is the cheapest repayment
Software Engineering at Google names one of its broad truths: finding problems earlier in the developer workflow usually reduces costs. The book calls this "shifting left." A bug caught in review costs minutes. The same bug caught in production costs an incident.
For upkeep budgets, shifting left is a lever you can pull. Tests, type checks, review and staged rollouts are not overhead on the build. They are a down payment on the keep cost. Skipping them makes launch cheaper and survival dearer.
Reframe: debt does not make software cheaper. It makes the first payment smaller.
Hidden technical debt in ML and AI systems compounds the keep cost
Machine learning and AI features carry extra, harder-to-see debt on top of normal code debt. The NeurIPS paper Hidden Technical Debt in Machine Learning Systems argues that massive ongoing maintenance costs are common in real ML systems, so a quick AI win is rarely a free one.
The paper by Sculley and co-authors at NeurIPS 2015 opens with a warning. Machine learning makes it fast to build useful prediction systems. The paper then argues it is dangerous to think of these quick wins as coming for free. Using the frame of technical debt, the authors find it is common to incur massive ongoing maintenance costs in real-world ML systems.
The paper names risk factors that ordinary code reviews do not catch. They include boundary erosion, entanglement, hidden feedback loops, undeclared consumers, data dependencies, configuration issues, changes in the external world, and a variety of system-level anti-patterns.
What each risk factor costs after launch
The paper lists the risks. The table below maps them to upkeep work. The upkeep column is this article's reading, not a claim from the paper.
| Risk factor named in the paper | What it means in plain words | Upkeep work it creates |
|---|---|---|
| Entanglement | Changing one input changes everything | Re-testing the whole system for small changes |
| Hidden feedback loops | The system's output shapes its own future input | Watching for slow drift, not just errors |
| Undeclared consumers | Others use your output without telling you | Breaking someone you did not know about |
| Data dependencies | The system depends on data you do not own | Tracking upstream data changes |
| Configuration issues | Behavior lives in many settings | Reviewing config as carefully as code |
| Changes in the external world | The world the model learned from moves | Re-checking quality on a schedule |
Why this matters for LLM features today
The paper predates current LLM products, so do not read it as a study of them. But the risk factors map closely. An LLM feature depends on a model you may not own. Its prompts and settings are configuration. Its inputs come from users and data that keep changing. Its outputs feed other tools.
Each of those is a line in the keep budget. Model versions change. Prompts need re-testing. Quality needs checking against fresh cases, not just last quarter's. If your plan for an AI feature has a build cost and no keep cost, it has the same gap the paper warns about. Our page on hidden AI costs a CFO should see covers the token and idle-spend side. This page covers the people and process side.
Reframe: an AI feature is not a feature. It is a feature plus a standing job to keep checking it.
An illustrative upkeep budget model shows the keep cost in hours
The fastest way to see the keep cost is to list recurring jobs, give each a rate, and add them up. The model below is illustrative arithmetic with made-up inputs. It is not a measurement, a benchmark or a customer case. Swap in your own numbers.
The model counts hours, not dollars, first. Hours are what the SRE Workbook suggests. It says minutes and hours are a natural choice because they are objective and widely understood. It also says to account for the cost of context switching. So the model adds a buffer for that.
Inputs for the illustrative model
Suppose a small product with one main service, a database, a payment provider and an AI feature. All inputs below are assumptions for this example.
| Recurring job (illustrative) | Events per month | Hours per event | Hours per month | Toil? |
|---|---|---|---|---|
| Alerts and pages handled | 20 | 0.5 | 10 | Yes |
| Support and data fixes | 10 | 0.5 | 5 | Yes |
| Manual dependency and runtime updates | 4 | 1.5 | 6 | Yes |
| Certificate, key and secret tasks | 1 | 1 | 1 | Yes |
| Bug triage and fixes (corrective) | 8 | 2 | 16 | No |
| Security patches | 2 | 3 | 6 | No |
| Small improvements (perfective) | 1 | 12 | 12 | No |
| Subtotal | 56 | 22 toil |
Now add the buffer. Suppose context switching adds a quarter on top, which is an assumption, not a measured rate. That is 14 more hours. The total keep load is 70 hours per month, or 840 hours per year.
Turning hours into a total cost of ownership
Suppose the build took 1,000 engineer hours. Suppose a loaded rate of 100 dollars per hour. Both are illustrative inputs. Then:
- Build cost: 1,000 hours times 100 dollars equals 100,000 dollars, paid once.
- Keep cost: 840 hours times 100 dollars equals 84,000 dollars per year.
- Three-year keep cost: 84,000 times 3 equals 252,000 dollars.
- Three-year total: 100,000 plus 252,000 equals 352,000 dollars.
In this example, the keep cost is about 72% of the three-year total. The build was the smaller bill. That matches the direction the maintenance literature describes, but the exact share here comes only from the made-up inputs.
What the model says about one person's time
Suppose one engineer has 160 working hours a month. In this example, 70 hours of upkeep is about 44% of that person's month. The product looks fine. But nearly half of the only engineer is already spoken for, before any new feature.
Now look at toil. In this example, the toil rows add up to 22 hours a month. The non-toil rows add up to 34 hours.
What happens when users double
Toil grows with the service. That is the sixth trait in the Google SRE definition. So in the model, suppose users double and only the toil rows double. Toil goes from 22 to 44 hours. The other rows stay at 34. The subtotal becomes 78 hours. With the same buffer, the total is 97.5 hours per month.
In this example, that is about 61% of one engineer's month. The upkeep load is now above a 50 percent cap of the kind Google SRE uses. Nothing broke. The product just succeeded.
What happens when you cut toil first
Now suppose the team spends one month on toil work instead of features. It automates certificate renewal and dependency updates. It cuts noisy alerts. Suppose that drops the toil rows from 22 to 10 hours at the current scale. All of this is illustrative.
The subtotal becomes 44 hours. With the buffer, the total is 55 hours per month. If users double now, toil goes from 10 to 20. The subtotal is 54 hours and the total is 67.5 hours. In this example, that is about 42% of one engineer's month, well under the cap.
The lesson is not the exact numbers. The lesson is the shape. Toil multiplies with growth. Non-toil work does not, or not as fast. So the cheapest time to cut toil is before growth, not after.
Reframe: the build budget asks "how much to make it?" The keep budget asks "how much per month, per user, forever?"
A decision table separates build signals from keep signals
The same feature can look cheap at build time and expensive at keep time. This table helps you spot which one you are looking at before you commit.
Use it during planning. For each new feature or system, read across the rows and mark which column fits. If most marks land in the right column, add a keep line to the budget before you approve the build.
| Question | Cheap to keep | Expensive to keep |
|---|---|---|
| Does work grow with users? | No, it is flat | Yes, each user adds hand work |
| Who runs it each week? | A scheduled job with alerts | A person, by memory |
| How many outside parts does it depend on? | Few, well-supported ones | Many, including a model or vendor you do not control |
| Can a second person run it? | Yes, with a runbook | Only the original builder |
| How is quality checked after launch? | Automated tests and checks | Someone eyeballs it |
| How big are upgrades? | Small and routine | Rare and large |
| Is there a toil cap? | Yes, and someone tracks it | No number at all |
How this differs from a build versus buy analysis
A build versus buy cost comparison asks which path is cheaper over three years. That is a good question. This page asks a narrower one: whatever you choose, what is the keep system that will run it, and who pays for it?
Buying does not remove the keep cost. It moves part of it to the vendor and leaves the rest with you. You still handle integration changes, vendor deprecations, access reviews and the support cases the vendor does not see. The keep cost changes shape. It does not vanish.
Reliability targets change the keep cost too
The Embracing Risk chapter adds one more input. It says cost does not increase linearly as reliability goes up. An incremental improvement in reliability may cost 100x more than the previous increment.
So the reliability target is a budget decision. A product that needs to be up nearly all the time needs more on-call, more redundancy and more testing. Choose the target on purpose. Do not inherit it by accident.
Reframe: every "yes" at build time is a small monthly payment at keep time.
A seven-step upkeep audit turns the keep cost into a plan
You can size and cap the keep cost in about two weeks of light effort. The steps below follow the SRE Workbook advice to identify toil, pick a unit of measure, and track it, and add the maintenance types and a cap on top.
- List every recurring job. Walk through the last 90 days. Pull from the pager, the ticket queue, the inbox and chat. Write down each job that happened more than once.
- Tag each job by type. Mark it corrective, adaptive, perfective or preventive. Then mark whether it is toil, using the six traits.
- Pick a unit and measure. Use hours, as the workbook suggests. It also lists units such as an applied patch, a completed ticket or a manual production change. Pick one per job and log it for two weeks.
- Find the jobs that grow with users. For each toil job, ask: if users doubled, would this double? Those jobs go to the top of the list.
- Set a cap. Choose a toil ceiling for the team or person. Google SRE uses 50 percent of each engineer's time. Yours may differ. Write it down.
- Fund one fix per cycle. Each cycle, remove or automate the biggest toil job. Google SRE notes that for well-scoped, known procedures, consistency is in many ways the primary value of automation. Start there.
- Name an owner per type. Each of the four maintenance types needs a named owner and a time slot. "Everyone" is not an owner.
What to do with the results
Put the monthly keep hours next to the build cost in the same plan. Show both in the same unit. Then show the toil share against the cap. That one page often changes the roadmap conversation faster than any argument.
If the keep load is already above the cap, stop adding features for a cycle. Spend that cycle on the top toil jobs. This is not lost time. It is the only way to buy back future weeks. The companion page on the maintenance system that keeps software alive shows how to run this as a standing process.
Reframe: you cannot cap what you do not count.
Failure modes show up in the calendar before the budget
Most keep-cost failures are visible in how people spend their week long before they show up in a budget review. Each failure below has a simple sign you can check.
The keep line is blank
Sign: the plan has a build line and a hosting line, and nothing for people. Fix: add a monthly keep line in hours, from the audit above. Even a rough number beats a blank.
Toil grows quietly with users
Sign: support and ops hours rise each month, but no single task looks big. Fix: track toil hours as a share of time, monthly. Watch the trend, not the single week.
Only one person can run it
Sign: when one person is away, alerts wait. Research on open source shows how real this risk is. A study of 1,932 popular GitHub projects reported that 315 of them (16%) were abandoned, and that 128 of those (41%) survived because new core developers took over, per the arXiv paper on abandonment and survival. The same paper notes that open source projects often depend on a small number of core developers. Fix: runbooks, a second person, and a real test of stepping away.
Upgrades are always "next quarter"
Sign: runtime and library versions fall further behind each month. Fix: make upgrades small and routine. Software Engineering at Google says getting to the point where you can reliably stay current is the essence of long-term sustainability.
Alerts are noise
Sign: people mute channels or ignore pages. Each ignored page is toil that buys nothing. Fix: cut alerts that need no action. See alert signal-to-noise for AI systems and the AI incident runbook guide.
The AI feature has no check after launch
Sign: nobody can say when the model, prompt or input data last changed, or how quality was checked. Fix: treat the feature as the ML debt paper suggests. Track data dependencies, config and outside change as standing upkeep work.
Reframe: the budget is the last place a keep-cost problem shows up. The calendar is the first.
A short checklist and a first step for owning the keep cost
Use this checklist before launch and once a quarter after. If you cannot tick an item, that item is a hidden cost.
- [ ] The plan shows a build cost and a monthly keep cost in the same unit.
- [ ] Every recurring job is listed and tagged by maintenance type.
- [ ] Toil is measured in hours, with context switching counted.
- [ ] There is a written toil cap, and someone checks it monthly.
- [ ] Jobs that grow with users are flagged and ranked.
- [ ] Each maintenance type has a named owner and a time slot.
- [ ] At least two people can handle each common incident.
- [ ] Upgrades happen in small steps on a schedule.
- [ ] The reliability target was chosen on purpose.
- [ ] AI features have a standing check for model, prompt and data changes.
The next step is to put the keep line in writing this week
Launch is an event. Survival is a system. The first costs a fixed amount. The second costs a rate, for as long as the software lives.
Start small. This week, list the recurring jobs from the last month and give each an hour count. Next week, mark the toil and set a cap. That is the start of a keep budget.
If you want help mapping that system, including where AI agents can take on recurring work and where people must stay in charge, see sinc-LLM's cost control work. The next page in this series covers AI agents in maintenance after launch. It picks up where this budget leaves off: who, or what, does the work.
Frequently asked questions
Why does software keep costing money after launch?
Software keeps costing money because the world around it keeps moving. Bugs surface, libraries change, users ask for more and threats evolve. Lehman's law of Continuing Change says a real-world system must be adapted or it becomes less satisfactory. Each of those changes needs a person or a process to notice it, decide, act and check the result. That work is the keep cost.
What is toil in Google SRE terms?
Google SRE defines toil as work tied to running a production service that is manual, repetitive, automatable, tactical, has no lasting value, and grows linearly as the service grows. Handling pager alerts and running the same script by hand are common examples. Meetings and HR paperwork are overhead, not toil. Toil is the part of upkeep that a better design or automation could remove.
What is the Google SRE cap on toil?
Google SRE has a stated goal of keeping operational work, which it calls toil, below 50% of each SRE's time. The rest should go to engineering that cuts future toil or adds features. The book explains the cap exists because toil tends to expand if left unchecked and can fill all of a team's time. The SRE Workbook adds that any upper bound helps.
What are the four types of software maintenance?
The ISO/IEC 14764 standard sorts maintenance into four types. Corrective work fixes bugs. Adaptive work keeps software usable when its environment changes. Perfective work improves qualities like speed, user experience and maintainability. Preventive work fixes problems before they show up. A healthy upkeep budget names an owner and a time slice for each of the four, not just for bug fixes.
What is hidden technical debt in machine learning systems?
Hidden technical debt in ML systems is the paper by Sculley and co-authors at NeurIPS 2015. It argues it is dangerous to treat quick ML wins as free and that massive ongoing maintenance costs are common in real ML systems. Risk factors include entanglement, hidden feedback loops, undeclared consumers, data dependencies and changes in the external world. AI features inherit all of these.
How do I estimate the yearly cost of keeping software alive?
List the recurring jobs first: on-call, triage, dependency and runtime updates, security patches, certificate renewals, data fixes and small changes. Give each one a frequency and a time per event in hours. Multiply, add a buffer for context switching, and convert hours to money with your own loaded rate. Then compare the result with the build cost and with your toil cap.
Is it cheaper to rewrite software than to maintain it?
Usually not. The Software Engineering at Google book warns that after one painful upgrade, teams can overestimate the cost of the next one and decide to rewrite or never upgrade again. A first big upgrade hurts because it often bundles several years of changes at once. The better move is to make upgrades small and routine. A rewrite resets the code, but you still need an upkeep system afterward.
Sources
- Site Reliability Engineering, Chapter 5: Eliminating Toil: Definition of toil, the 50% cap and the on-call floor on toil.
- The Site Reliability Workbook: Eliminating Toil: Why an upper bound helps and how to measure toil in hours and units.
- Site Reliability Engineering, Chapter 11: Being On-Call: The 25% on-call limit inside the 50% engineering goal.
- Site Reliability Engineering, Chapter 3: Embracing Risk: Reliability cost does not rise linearly.
- Site Reliability Engineering, Chapter 7: The Evolution of Automation at Google: Consistency as a main value of automation.
- Software Engineering at Google, Chapter 1: What Is Software Engineering?: Programming integrated over time, sustainability, upgrades and shifting left.
- Hidden Technical Debt in Machine Learning Systems (NeurIPS 2015): Ongoing maintenance costs and ML-specific risk factors.
- Software maintenance (Wikipedia): ISO/IEC 14764 maintenance types and lifecycle cost share.
- Technical debt (Wikipedia): Origin of the metaphor and reported effects of debt.
- Lehman's laws of software evolution (Wikipedia): Continuing Change, Increasing Complexity and Declining Quality.
- On the abandonment and survival of open source projects: An empirical investigation: How often popular projects are abandoned and who keeps them alive.
sinc-LLM