Tested. Measured. Anchored to empirical evidence from Stanford, MIT, and our own session logs.
We gave an AI a $4 budget and said: build tools for a law firm, a hospital, an online store, a university, a news company, a real estate agency, a startup, a nonprofit, a consulting firm, and a tech company. It built 49 tools across all ten and had $3.90 left over.
Each tool was generated by an LLM, verified for syntax, executed in an isolated V8 sandbox, approved by the governance engine, and sha256-locked. Average compilation cost: $0.002. After that, the tool runs indefinitely with zero additional LLM cost.
| If each tool runs… | Safebots | Agent swarm | Savings |
|---|---|---|---|
| once | $0.044 | 10¢ | 2× |
| 10 times | $0.044 | $1.00 | 23× |
| 100 times | $0.044 | $10 | 227× |
| 1,000 times | $0.044 | $100 | 2,273× |
The Safebots line is flat. The agent line grows linearly. At 1,000 runs the gap is over two thousand to one. Model: Claude Haiku 4.5, the cheapest available. Every number is measured, not projected.
A team from Stanford, MIT, Michigan, DeepMind, All Hands, and Microsoft AI ran 8 frontier LLMs against 500 SWE-bench tasks and published the first systematic study of agent token consumption.
The input-to-output ratio for agentic tasks is 153:1 — versus 1.33 for chat and 0.16 for reasoning. Your agent isn't expensive because it writes a lot. It's expensive because it reads a lot, repeatedly. Every loop iteration re-ingests the repo state, error logs, tool outputs, and accumulated conversation history. The context snowball is the cost.
The same task, run multiple times on the same model, produced token counts that varied by up to 30×. Higher token consumption does not produce higher accuracy. Accuracy peaks at intermediate cost and saturates or drops as cost increases. The cost-accuracy relationship the industry assumed does not exist in the data.
API providers are pricing inference below cost to capture market share. OpenAI lost roughly $1.35 for every dollar earned in 2025. The per-token price your product currently optimizes against is partially subsidized by venture capital and will not survive market maturity. When the subsidy compresses — and the paper's findings make clear that consumption growth will force it to — every product built on today's cheapest rate has a hidden liability on its balance sheet.
A workflow with 40 tool invocations and 4 LLM calls uses ~5% of what a 300-LLM-call swarm uses. The unit of parallelism is the tool, not the model.
Tools read scoped, immutable references — not the full accumulated context. Cache layers serve cache-hit reads at a fraction of the original cost.
The same workflow runs the same steps in the same order — token consumption is a function of the workflow design, not stochastic agent improvisation.
Tokens are spent where they buy outcomes — explicit workflow structure, plus on-demand tool generation when novel work appears. Not where the agent's improvisation happens to lead.
Every step logs actual input/output tokens to a stream. Budget enforcement is deterministic — the infrastructure stops the workflow when the budget is exceeded, regardless of what the LLM thinks. Best self-prediction correlation in the paper: 0.39.
Most of the AI industry treats autonomous inference as the product: keep calling the model until it finishes. Safebox treats inference as a temporary method for discovering dependable computation. Once a successful process is discovered, continuing to improvise it with an agent is wasteful.
The lifecycle looks like this: a novel task arrives. An agent explores, tries approaches, finds a trajectory that works. That trajectory gets compiled into a workflow or a generated tool. From that point forward, the task executes deterministically — no LLM call needed. If an exception is detected, the agent is invoked again, but only for the part the workflow can't handle.
The essential distinction:
Workflows execute known processes. They are faster, cheaper, reproducible, testable, auditable, permissionable, easier to monitor, easier to roll back, resistant to prompt injection, and predictable in resource consumption.
Agents search for a process when it is not yet known. They remain valuable when the environment is unfamiliar, the task has never been performed before, the necessary sequence can't be specified in advance, tools must be discovered or generated, failures require diagnosis rather than a predetermined response, or conditions change faster than workflows can be manually maintained.
A workflow can still contain LLM steps. The difference is that the model is invoked for a bounded function — classify this document, extract these fields, draft this response — rather than being placed in an open loop and asked to figure out what to do indefinitely.
This is not "workflows versus AI." It is: AI inside governed workflows, with agency invoked only when the workflow reaches something it can't handle.
"Process this invoice according to company policy" should be a workflow. The steps are known. The rules are known. Run it as compiled, deterministic code — no LLM needed.
"Investigate why invoices from this supplier suddenly stopped reconciling" may require an agent. The problem is novel, the diagnosis is open-ended, and the solution isn't known in advance.
Even then, the agent operates inside a controlled envelope: snapshot the state, give it scoped capabilities and a budget, let it explore in isolated branches, verify its proposed outcome, promote the result only after authorization. And if it finds a recurring pattern, turn that pattern into a workflow so next time it runs at deterministic-compute prices.
A conventional agent pays the reasoning cost again every time. Safebox learns a successful path once, encodes it as a workflow or generated tool, verifies it, and reuses it forever at deterministic-compute prices.
Over time: agentic exploration → verified trajectory → reusable workflow → cheap deterministic execution.
Each cycle through this loop converts expensive, unpredictable inference into cheap, predictable computation. The more cycles the system completes, the less agency it needs, and the wider the cost gap grows against systems that re-improvise every task from scratch.
ZFS strengthens this by making experiments, checkpoints, isolated branches, and rollback inexpensive. Local models handle the remaining long tail of novelty. Streams preserve provenance and reusable results. The entire architecture is designed to make this lifecycle — discover, verify, crystallize, reuse — as fast and cheap as possible.
Compilation is the one-time cost ($0.002/tool). At runtime, each task routes to the cheapest layer that can handle it.
Think of it like version control for everything — not just code, but the entire workspace. Safebox can snapshot the current state, create several parallel branches, try different approaches simultaneously, evaluate the results, and promote the winner. Or roll everything back instantly.
What this makes cheap: snapshots (instant), writable copies (instant), rollback after a failed step (instant), parallel experiments (share unchanged data, only store what changes), and clean before/after states for auditing.
What still costs money: the AI computation itself. If you run ten parallel experiments, you pay for ten runs of inference. But Safebox reduces that cost by using cheap local models for initial candidates, stopping weak branches early, and sending only the strongest result to an expensive frontier model. The branching is free. The intelligence about which branches to keep is where the savings compound.
Safebox makes state branching nearly free, allowing parallel experimentation without duplicating entire environments. Compute stays proportional to work performed, but model routing, caching, and early termination sharply reduce wasted inference.
Agentic workloads consume 1000× more tokens while API providers are still finding sustainable unit economics. OpenAI spent roughly $1.35 for every dollar earned in 2025. Anthropic's inference margins improved from 38% to 70% in one year — a sign that costs are stabilizing, but also that prices have room to rise as subsidies unwind.
Even if API prices continue falling, agentic token consumption can grow faster than price-per-token declines. Safebots attacks both sides: the tokens required per outcome and the cost of serving them.
| Metric | Claude Opus API | Safebots (2× HA) | Savings |
|---|---|---|---|
| Daily | $3,000 | $138 | 95.4% |
| Monthly | $90,000 | $4,200 | 95.3% |
| Annual | $1,092,000 | $50,400 | 95.4% |
These numbers assume current subsidized API pricing. When prices normalize, the gap widens.
| Year | API (projected) | Safebots | Savings |
|---|---|---|---|
| Year 1 (2026) | $1.092M (subsidized) | $50.4K | 95.4% |
| Year 2 (2027) | $1.638M (+50%) | $50.4K | 96.9% |
| Year 3 (2028) | $2.457M (+50%) | $50.4K | 98.0% |
| 3-year total | $5.187M | $150K | 97.1% |
The 50% annual increase is one plausible scenario — API prices could also fall as hardware improves. But even if they do, the savings from reducing tokens per outcome remain. Safebots wins in both directions: if prices rise, the gap widens; if prices fall, the workflow efficiency advantage persists.
SemiAnalysis reports Anthropic's inference margins jumped from 38% to 70% in one year. AI software prices across the US climbed 20–37% in 2026 alone.
Per-engineer API cost: $500–$2,000/month. Uber's AI spending grew so fast that the company capped employee AI spend at $1,500/month per tool — a sign that even large companies are hitting the ceiling on API-based AI economics.
Microsoft halted internal Claude Code licenses company-wide, shifting toward their own self-hosted tooling. When the company that invested $13B in OpenAI decides external API costs are unsustainable for internal use, the signal is clear.
The marginal cost of adding a low-utilization tenant is small — ZFS datasets, MariaDB databases, and systemd resource limits make provisioning nearly free. The compute cost scales with aggregate workload, not with tenant count. So ten tenants sharing the same inference capacity cost far less than ten separate deployments.
| Tenants | Cost/tenant/year | Infra note |
|---|---|---|
| 1 | $50,000 | Base infrastructure, full capacity available |
| 10 | $8,000 | Same hardware, shared inference capacity |
| 100 | $720 | 3× infrastructure, utilization-dependent |
Beyond ~100 tenants, GPU/inference capacity must scale with aggregate workload. The tenant provisioning cost stays low, but the compute is proportional to the work performed.
| Org | API spend | Safebots | Savings | Reinvest |
|---|---|---|---|---|
| Startup | $50K | Unlimited | 10× | Scale faster |
| SMB | $250K | $50K | 80% | 4× headcount |
| Mid-Market | $1M | $50K | 95% | R&D expansion |
| Enterprise | $10M | $240K | 97.6% | Strategic initiatives |
| Fortune 500 | $1B | $240K | 99.98% | Transform the business |
The cost savings are so large that switching isn't a hard sell — it's arithmetic.
How they switch: Sign up, get a branded app with AI bots for their community. Members join, interact, build history. Leader pays weekly for compute. Their membership revenue covers the cost.
What they replace: $20–100/month across Zapier + ChatGPT + Mailchimp + scheduling tools. Safebots replaces all of it.
Scale: 1M community leaders in our email list. 38K with push-reachable devices.
How they switch: Deploy a Safebox (single AMI). Compile the 20–30 workflows they actually use. Run them at zero marginal cost. Cancel API subscriptions.
What they save: $250K/year API spend → $50K infrastructure. $200K freed for headcount.
How they switch: We deploy in their VPC, meet their compliance requirements. Multi-tenant infrastructure serves their internal teams. Warm intros through SecurityScorecard's CISO network.
What they save: $10M API spend → $240K infrastructure. 97.6% savings.
How they switch: Take the operator course. Deploy Safeboxes for their own clients. Earn on the compute their clients use. Each FDE becomes a node in the network — a local sales force in their own geography.
What they save: Per-client API costs that scale linearly → single deployment serving 10–100 clients. The margin stays with the operator.
In 2020, Ethereum charged $5–50 per transaction. Polygon did the same transactions for $0.001. Solana did them for $0.00025. Developers migrated to the cheaper rail because the economics demanded it. Polygon reached $20B market cap. Solana reached $80B+.
| Ethereum (agents) | Polygon/Solana (Safebots) | Savings | |
|---|---|---|---|
| 1 transaction / 1 AI task | $5–50 / 10¢ | $0.001 / $0.002 | 5,000× / 50× |
| At 1K runs | $5K–50K / $100 | $1 / $0.002 | 5,000× / 50,000× |
The compiled-workflow model has an advantage even over blockchain's cost disruption: a blockchain transaction has a marginal cost per execution, however small. A compiled workflow's marginal cost for pure-compute tasks is literally zero. The gap widens with usage.
Individual developers adopted Polygon and Solana first. Then projects migrated. Then enterprises. Then institutions. Each layer validated the economics for the next. Safebots follows the same sequence: community leaders adopt first (B2C). Enterprise follows (CISO pipeline). Institutions follow enterprise.
We catalogued the 100 most popular AI workflows across 10 categories — content, sales, operations, legal, finance, HR, support, data, engineering, education. Total compilation cost: eleven cents. 68 run at zero ongoing cost. The other 32 cost under a penny per run.
Beyond cost savings, Safebots creates a network economy where operators run infrastructure and earn for it, community leaders pay for compute and storage, and token holders participate in the network's growth. SafeBux is the utility token that settles usage. $SAFE is the security token linked to equity. Future federated deployments allow independent operators to provide verified capacity through a common settlement layer.
The full token economics, staking mechanics, and network growth model are covered in the crypto parallel and blockchain architecture pages.
Today's API price is not the long-run equilibrium. Build for the equilibrium.
Schedule a Call Tested Results Architecture