Cost Is a Design Decision
Cost Efficient End to End Tasks at Scale with Lemma
Paul Taylor - Applied AI Strategist at Thread AI
Ellington Fagan - Business Development Representative at Thread AI
December 1, 2026
“How can companies get AI costs under control? Companies need to be in control of their own AI. Companies should own their own workflow design and process designs for AI.”
McKinsey’s answer to the cost question is ownership: companies need to control their own AI, starting with their workflow and process designs. We agree. Cost is a design decision, so a company that owns their design controls their cost. A company should own its design and buy the underlying plumbing.
Design decides what an AI agent does, how AI is used in the work, and how AI’s output gets reviewed. The extent of the design you can control depends on the platform you build on. Enterprises often don’t have a means for the people who know the process best to build and maintain these designs themselves; that gap in enterprise builder capacity is where even more costs can pile up.
Let’s break down what AI really costs across the life of a use case, why those costs rise when you don’t control the design, and how Lemma, Thread AI’s platform, helps enterprises keep them in check.
The five costs of an AI workflow
Token prices keep falling, and cost is still the main reason enterprise AI projects stall (VentureBeat, VB Pulse AI Infrastructure and Compute Report, October 2026). Tokens are only one line on the bill. A workflow at enterprise scale carries five costs: building it, getting it right, running it, checking it, and improving it. Most teams budget for building and running. The other three arrive after launch and grow over time.
When the company that knows a process can’t build and control its AI design, the company pays extra at all five stages. We call this the dependency premium: the cost of relying on someone else’s schedule, with their assumptions about your work, at their prices.
The key performance metric is cost per finished outcome: the value of a completed task relative to everything it takes to produce it. Here is where AI workflow design drives the five costs, and where a lack of in-house control over design (the dependency premium) can inflate each part.
Cost per finished outcome
Build
Run
Improve
Dependency premium
What enterprise AI really costs
Before launch
Build. Building starts by deciding which process AI should handle and who owns it, who approves its design, and who reviews the work. Then comes the backend, which has to be stable, consistent, and auditable. Building the plumbing yourself is expensive, and rebuilding the same setup every time a pattern repeats elsewhere in the business multiplies the cost.
The dependency premium shows up when your process expert hands the work to a vendor’s engineers. You pay for the hours spent explaining your process to outsiders, and for the time spent waiting until someone is free to build.
Get it right. Between pilot and production, a team tests and refines until the agent completes the task at the standard an industry expert expects. Each round costs money. Builders who don’t know what “good” looks like need more rounds, so outside teams often need more of them than your own experts would.
Every run
Run. Every time the workflow runs, it uses computing power and other resources, and some tasks use more than others. Frontier models and agents that overcomplicate simple, repetitive or well-defined tasks can inflate the bill on every run.
Without a clear view into the design, it’s hard to know or test how heavy or complex one task is compared with another. Even for a single task, an inefficient design can overcharge you on every run. If a vendor opaquely controls the design choices, they set your compute bill.
After launch
Check. Enterprise employees review AI outputs and correct errors. Without defined, mid-process review points, they fix the same mistakes by hand every day, and that effort never shows up in the cost per task. Without in-house builders, review gates may not be designed around your actual risks, and after the vendor leaves, the review points stay frozen while your business process evolves over time.
Improve. When a new model arrives or the business changes a process rule, the workflow must adapt. On a fragile platform, that can mean rebuilding. The platform you choose determines how much of your work carries over through those changes. With a third-party service provider, every model or rule change can become a change order.
Bonus: Volatility raises the stakes
The outside world makes all five harder to predict. Token prices may fall on average, but your total cost won’t necessarily follow, because regulations, provider pricing, and model architectures keep shifting. Each shift costs another paid rebuild, unless you own your design and build on a platform that absorbs change.
What it takes to stay in control
Enterprise AI workflows have to meet a high bar: they need to behave the same way every time, run durably, follow regulatory rules, and put a person in front of high-consequence decisions.
The extra costs go away when the people who know the work can build and control the AI themselves. That gives an enterprise the capacity to build and maintain its own workflows, the ability to enforce good governance, and the freedom to change models and vendors without rebuilding.
We built Lemma to meet these needs. Each task is set up as a Worker: a defined set of steps, with clear permissions, that runs the same way every time. Even when agents are used, oversight and permissions are at the core of the product. Your people own the design, and Lemma supplies the plumbing.
The sections below show how Worker design cuts each of the five costs.
Addresses: Build: Built and owned by the people who know the work
In Lemma, the people who know the work can build the Workers. At Brightstar, a business user with no technical background had a working prototype running in about two days, with no engineering help.
Workers are assembled from ready-made parts, so each new one is faster to build and people only have to learn the platform once. Teams reuse Workers across the business, which avoids costly rework and the sprawl of vendors and point solutions. A global marketing agency goes further and runs its own AI product on Lemma, reusing file-processing designs from earlier Workers.
Ricoh’s experts keep control after launch too. In the Workers Ricoh’s Facilities Management business uses for repair-or-replace decisions, the prompts, scoring thresholds, and key constants live in reference files outside the Worker. Ricoh’s experts change the Worker’s behavior without engineers and without reconfiguring it.
Everything inside a Worker, including your rules, methodology, and decisions, belongs to the business that wrote it.
What this does to cost: You save engineering time, each Worker after the first costs less to build, and the dependency premium on building disappears.
Addresses: Get it right, Run: Precision at every step
Customers can break their workflows into clear, visible steps and can tune each step on its own. That means you can use plain code such as SQL or Python where code does the job, and models handle only the steps that need judgment.
Ricoh built its repair-or-replace reporting this way. Code computes ratios, trends, thresholds, and scores before a model sees anything, and an LLM writes the narrative around the numbers the code produced. With this design, generation of each report became 43% faster, and the variation in scores between runs dropped 74%.
Splitting the work this way meant each report needed less AI computing, and the results were more consistent, so there was less to fix afterward.
What this does to cost: Less compute per task, and fewer outputs to fix.
Addresses: Run: Clear limits on every action
An AI agent with no limits makes costs hard to predict. In Lemma, a team can set limits at the function level, and an agent step stops at the iteration limit the team chose. Lemma’s “glassbox” agent setup lets you see and control what agents are allowed to do, even as you use AI in more places and at higher throughput.
You can trace every Run to its token cost per function, so the cost of a task stays predictable as volume grows.
What this does to cost: Task cost stays visible and bounded at any volume.
Addresses: Check, Improve: Human judgment where it counts
Big decisions belong to humans, and Lemma’s Workers are built to wait for one. A Handoff State pauses the Run, waits for a person, and then continues with their decision on the record. A retirement services provider screens every fund filing this way, and nothing gets filed until two employees approve it. You can add a Handoff to any Worker wherever your business risks call for one, reducing the time spent checking and redoing incorrect results.
Handoffs can also make a Worker cheaper over time. In Ricoh’s data extraction workflow, the system has to match information from inspection forms to the right piece of equipment. The Worker does this in three steps: cheap first, smarter second, human third.
- 01A reference table handles most matches with no AI at all.
- 02When the table finds nothing, a model suggests a match and a new matching rule. The rule tells the system that a name on a form refers to a specific piece of equipment.
- 03A person approves each new rule before Lemma writes it back into the reference table.
The expensive path gets rarer with every approval.
What this does to cost: Each correction happens once, and the daily drag of manual fixes keeps shrinking.
Addresses: Improve: Flexibility where you need it
In Lemma, a model sits in a Function like any other Call State. Each function can call a different provider, and you can switch models later without rebuilding.
The agency tests every model or prompt change against questions its experts approved before the change goes live. Its RFP Retrieval Worker can call multiple model providers at runtime, and its modular design makes it easy to try new ones.
You can also bring your own models or use vendors you already work with: a Worker can use open-source or closed-source models, hosted by you or by someone else. You have the flexibility to design how Workers interact with model providers as well. Workers can decide which model handles which request, cache responses to common prompts, and batch work to save money, all by your own business logic.
What this does to cost: When a better, cheaper, or newly priced model arrives, you adopt it without a rebuild.
Predictable outcomes at a predictable cost
AI costs will stay unpredictable. Token prices, model provider service pricing, regulations, and the way models are built will all keep shifting. Teams that don’t control their own design will pay the dependency premium every time something moves.
Lemma puts that control with the enterprise. Your people build the Workers, each step is precise, each action has limits, a person decides where it matters, and models swap without a rebuild. You get a standard outcome at scale, on the best-suited model, at a cost you control. Your design sets what your AI costs. Lemma lets the people who know the work set the design.
To see how this works in practice, read how Ricoh standardized equipment-investment decisions with Lemma, or request a demo.