Aquinas’s principle of non-contradiction: you cannot deny the existence of an experience while experiencing it. Question the nature of consciousness all you want, but deny its existence and your act denies itself, undermining the denial.
“Whatever you call the thing he sees, a moon or a mirage or a sensation or a state of consciousness, when he sees it, he knows it is not true that he does not see it.”
— G. K. Chesterton, St. Thomas Aquinas (1933).
We’ve spent a lot of time thinking about how to benchmark routing in a way that reflects how developers actually use coding agents. Long sessions and variable cache dynamics are two of the biggest drivers of real-world coding-agent cost, but most static benchmarks don’t capture them.
Today we’re releasing our methodology for evaluating model routing with interactive benchmarks, which represent agent cost accumulation better than static benchmarks do.
Across leading benchmarks, we achieve Pareto-dominance, exceeding Opus xhigh quality at 20–80% lower cost.
Great article from Fortune on routing's challenges, Not Diamond, and why every company is trying to set up intelligent model routing now. We've been working on this problem since 2023 and there are a *lot* of dead ends where routing will cost you *more* money.
This quote from @cclark from OpenRouter (who's also been working on this since 2023) captures it well:
“I know a lot of companies are trying this – we’ve seen some sort of launch from just about every company under the sun over the past few weeks. But I think those companies and their customers will discover this is a harder problem to get right than they anticipate.”
Model routing is both a deceptively difficult problem and a constantly moving target. It's not by chance that Cursor didn't publish any performance benchmarks when they launched their router—this is a company that is extremely proficient at benchmarking.
In long-horizon coding agents, the interdependent variables and downstream consequences of model selection makes model routing incredibly challenging, but also incredibly rewarding if done right.
As all inference spend shifts to agentic workloads, it's more important than ever to have effective, reliable, and secure routing infrastructure for every AI product and consumer, both at the gateway level and at the intelligent recommendations layer.
Check out the full article by @sharongoldman here: https://t.co/Ndkscb4FqS
We’ve been working on model routing since 2023, when we released the world’s first open-source intelligent model router. At the time, it routed between GPT-3.5 and GPT-4, in a much smaller model landscape with fewer dimensions of cost and performance to optimize.
Coding agents have made the routing problem far more consequential. The impact of each model decision compounds across long-running sessions, affecting downstream work, cache state, total cost, and output quality across reasoning-effort levels and providers.
Not Diamond Code is the result of continuing to work on this problem as both the model landscape and the workloads built on top of it have evolved.
The greatest opportunity for routing however is in leveraging multiple providers across closed-source and open-source models. On SWE-PolyBench-Verified, routing between Anthropic models and GLM 5.2 and DeepSeek V4 Flash improved performance by 3.6% and increased savings from 39% to 66%.
Multi-provider routing maximizes performance and savings, protects teams from vendor lock-in, and ensures they’re always benefitting from improvements in the model landscape.
Today we’re announcing Not Diamond Code, the world’s most powerful intelligent model router for long-horizon coding agents.
Not Diamond works with any gateway or harness, including Claude Code, to select the best model and reasoning effort for each step, reducing costs by 20-65% without impacting quality.
Enterprises are increasingly looking to route between closed and open source models to manage exploding inference costs.
Over the past eighteen months, I have seen the attitudes of F500 leaders shift when it comes to open source models, particularly Chinese models. The growing distribution of tasks that can be handled by these models together with the urgent need to reduce AI spending has organizations looking to intelligently route between powerful frontier models and leading oss models to keep the productivity gains from coding agents without sending every task to the most expensive model by default.
That's a very hard thing to do.
- Naive approaches to routing backfire
- Models change constantly
- Developers choose quality when given the choice
- Education does not solve model selection
- Token usage does not translate linearly to ROI
This is why we're building infrastructure that determines which model should handle each request, so enterprises can preserve frontier-level quality without paying frontier prices every time.
Across enterprise pilots, we help orgs with thousands of engineers achieve 30%+ lower inference costs while maintaining frontier-model quality.
Good article from @theinformation's @LauraBratton5 on what we’re seeing across the world’s largest engineering teams:
Fantastic writeup by Peter evaluating rtk, caveman, semble, codebase-memory-mcp, and finding they barely reduce cost or even increase it. The best intervention was a simple prompt gpt5.5 wrote to be frugal.
Why do these tools claim such incredible cost-savings then? Because they evaluate those claims solely on the single output step they are impacting. But most agent costs are not driven by output steps—they come from previous tokens being re-read on every subsequent step.
Not only do these tools deliver minimal savings, they also threaten the quality of outputs:
"A few runs with rtk displayed pathological behavior because the agent couldn’t verify the task was complete. On an Opus 4.8 run it couldn’t validate a change it had made because of rtk’s truncated output. It also wastes turns because normally valid commands the agent expects to use are not valid with rtk, and it’ll see errors like rtk: rtk find does not support compound predicates or actions (e.g. -not, -exec). Use find directly."
Managing cost may seem simple in practice, but it is decidedly not—it sprawls many surface areas and causal vectors, and it requires an incredibly precise understanding of how interventions impact quality not merely at a single point in time but over long horizons.
Strongly recommend reading the full post, linked in comments.
Everyone is talking about coding spend. It's actually incredibly simple to reduce coding agent spend though. Just stop caring about quality.
I speak with a lot of engineering leaders who know they have a cost problem but they don't actually understand how to measure coding agent ROI. If you don't understand R, you can't optimize I. Token counts are not I.
We wrote a guide covering an overview of how to measure coding agent ROI, as most of what's out there is not very actionable. There's a quick and dirty set of metrics you can start measuring today, as well as a more comprehensive framework largely cribbed from DX which I think is excellent.
Full piece: https://t.co/JXioxFTX9E
Reposting the banger quote from @tomas_hk “You won’t need to be a power user to spend a shit ton of money on AI. You will just need your AI agent to be a power user to spend a shit ton on AI."
Loops
My thoughts on the future of model routing and AI:
- We have not even scratched the surface of runaway inference costs
- Solving this requires intelligent model routing, especially as the inference landscape continues fragmenting. This is a *hard* problem.
- Naive solutions (turn-based routing, session routing) fail; routing successfully involves managing multiple cost surface areas in concert.
- Getting routing right means a more diverse market of providers, more power for consumers, reduced ecological impact, and improved effectiveness.
More in the full essay:
I made an angel investment in @tomas_hk two years ago, believing model routing would become a massive business.
Now companies are spending $500m per month on tokens. Increased quality and decreased cost are not mutually exclusive.
Here's Tomas' essay about how Model Routing Will Control the Future of Economic Value
https://t.co/7dv0Elifq4
We're burning billions of dollars a day running our smartest AI models on our dumbest tasks.
As AI scales, the biggest lever on cost and performance won't be picking one "best" model. It'll be routing each task to the model that actually fits it.
This piece by @tomas_hk breaks down why intelligent model routing is shaping up to be the next battleground for efficiency and economic value in AI, and what that means for how companies build and spend from here.
You need to renegotiate your enterprise Claude Code contract.
Enterprise Claude Code spend is rocketing to the top spot in most developer productivity budgets. But most contracts were signed under conditions that no longer hold:
• Claude was ahead of every other model on coding benchmarks
• Internal usage projections were educated guesses
• AI spend was small enough that pricing didn't warrant scrutiny
All three have now changed.
Recent releases from OpenAI, Cursor, Google, DeepSeek, Kimi, and Qwen close the gap on output quality, with cheaper models increasingly capable of handling large portions of coding workloads. Internal usage data now exists at scale and can be collected. And CC is no longer a rounding error. It's eclipsing CI, observability, and IDE tooling combined.
While it might seem like now would be harder than ever to renegotiate your Anthropic contract, you have more leverage than you realize.
The single biggest predictor of renegotiation outcome is the quality of the preparation. Here's what we've learned from conversations with finance leaders at F500 companies actively navigating these renegotiations today.
The first step is to quantify your BATNA:
• Audit internal historical usage across users, repos, and task complexity.
• Most enterprises that do this find that 30-60% of token spend is going to tasks a cheaper model could handle with comparable quality.
• Run a cohort of your developers’ traffic against two alternative models and monitor the impact on developer productivity metrics (e.g. PR volume, DORA).
Being prepared to route 50% of coding-agent traffic away from Claude within 60 days will help you move Anthropic's pricing team off their position.
Once you build some leverage, here’s what you should be asking for:
• Multi-model support. Anthropic will often try to force enterprises to only use Anthropic models in Claude Code. Push for explicit, written-in rights to use other models in the harness.
• Flexible commit structure. Replace hard commits with minimums that carry rollover. Add the right to reallocate spend across Anthropic models and products.
• Lower per-token rates. A 10–20% reduction for committed volume is a reasonable starting anchor, calibrated to the alternative you benchmarked.
• Price protection. A twelve-month price lock, a most-favored-customer clause, or an automatic downward repricing mechanism if Anthropic publishes lower public rates. These protect against the asymmetry of a market that is still repricing.
We've written a full guide covering how to audit usage, benchmark on real workloads, model a credible walk-away, and structure terms that survive the next twelve months of model movement: https://t.co/vXfVcrHqYu
If you have lessons to share from your own contract renegotiations, drop them in the comments or send me a DM for a confidential conversation.
Companies are now incinerating annual coding agent budgets in less than a quarter.
This is why we've seen usage and demand for model routing—intelligently sending each request to the best suited model at the lowest cost—grow by 100x(!) in the last three months.