What Does an Agent-Run Clinic Cost? Protocol for a Prospective Observational Study of the Compute Cost of Completed Work in a Clinical Agent Fleet
This prospective observational study protocol outlines a method to estimate the compute cost of completed work for a deployed fleet of 20 clinical LLM agents in a London outpatient clinic by analyzing 12 weeks of production telemetry with fixed estimators, data-quality gates, and an analysis plan established prior to data extraction.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer
Hospitals and clinics are beginning to use a new kind of digital worker: artificial intelligence agents that do not just write notes, but actively help run the clinic. These systems can listen to a doctor's conversation with a patient, draft a medical summary, check for dangerous drug interactions, or suggest the next steps in a treatment plan. While early tests showed these tools could save doctors time, a critical question remained unanswered for anyone considering buying or building such a system: how much does it actually cost to get a single piece of work finished? The price tag on a software subscription tells you what you pay the vendor, but it hides the invisible engine room where the work happens. Inside that engine, the computer might try to solve a problem, fail, try again with a different approach, fail once more, and finally succeed. Or it might get stuck in a loop of errors. Until now, no one had a reliable way to count the electricity and computing power burned during those failed attempts and add them to the final bill for the one successful result.
A team of researchers at a private clinic in London decided to build a precise accounting system to measure this hidden cost. They did not run a new experiment or ask doctors to use a new tool; instead, they designed a study to look at the digital footprints left by a fleet of twenty AI agents already working in their clinic. These agents handle real tasks like writing sick notes, summarizing patient visits, and checking safety risks. The researchers set up a strict set of rules to watch these agents for twelve weeks, from late September to mid-December 2026. Their goal is to track every single time the computer tries to do a job, whether it succeeds, how long it takes, and exactly how much it costs to run the calculation, including all the wasted attempts that happen along the way.
This study does not yet reveal specific findings about system quirks or final costs, as the data collection period has not yet concluded. However, the researchers have identified potential challenges in how the system records its own activity that they plan to address. They know that every time an agent tries to do a task, the system writes down two separate notes: one saying the work had started, and another saying it was finished. To get an accurate count, they will need to carefully pair these notes together, removing the "started" notes that are just duplicates of the finished ones. They also anticipate that the system might sometimes lose the final note entirely, leaving a task hanging in mid-air with no record of whether it succeeded or failed. Because of these potential gaps, the researchers have designed their study to handle these imperfections in advance. If the data turns out to be too messy to give a single number, they will report a range, saying the cost is somewhere between a low limit and a high limit, or they will admit that the cost for that specific type of work cannot be measured at all.
The team has outlined three main ways they will measure the work once the data is collected. First, they plan to calculate the cost of a single attempt, regardless of whether it works. Second, and most importantly, they will calculate the cost of a completed piece of work, which will include the price of all the failed tries that happen before the final success. Third, they will look at how often the agents fail completely and have to be restarted. They expect that the cost of a finished task will not just be the price of the final calculation, but the sum of every step taken to get there. For example, if an agent tries to write a medical note, fails because the computer gets confused, tries again with a different model, and finally succeeds, the cost of that one note will include the price of all three attempts. The researchers also anticipate that for very cheap tasks, the computer's accounting system might round the cost down to zero, which could mean that many small jobs appear to be free even though they use computing power.
This study does not claim to have found the perfect price for AI in healthcare, nor does it say that these tools are ready to replace human staff. The researchers are careful to state that their numbers will only apply to the specific twenty agents in their London clinic during that specific twelve-week window. They have excluded the costs of the engineers who built the system, the servers that host it, and the time doctors spend reviewing the AI's work. Their work is a blueprint for how to measure the true cost of AI labor, showing that the price of a finished job depends heavily on how often the machine fails and how many times it has to try again. By laying out these rules before they look at the data, the researchers have created a method that other clinics could use to see exactly how much their own AI systems are costing them, separating the real cost of the work from the simple list price of the software. The study concludes that while we can now specify how to measure the compute cost of completed work, the numbers will change as the technology changes, and we must always account for the wasted effort that happens before a machine gets it right.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.