Not Diamond 发布 Not Diamond Code,一个为长时程编码智能体设计的模型路由层,可在每一步切换模型。官方称其可将成本降低 20% 以上且不损失整体任务质量,并兼容 Claude Code 等网关。在基准测试中,混合路由策略相比 Anthropic 单一策略性能提升 3.6%,节省成本从 39% 增至 66%。
So much brilliant work is coming on the routing layer of inference.
Not Diamond just announced Not Diamond Code, a routing layer that lets a coding agent switch between models at every step.
claims this cuts costs by 20% or more without reducing overall task quality.
The point is long-horizon coding makes model routing much harder than picking the cheapest model for each prompt.
A cheap model may handle the current turn, but switching to it can discard a warm KV cache or leave later steps with weaker context. Not Diamond Code instead predicts the future cost and reward of each model and reasoning-effort choice across the remaining agent trajectory.
e.g. the below graph is taken from their official blog, show that how different models are better at different parts of a coding task, and a router that can choose among them can outperform an Anthropic-only strategy while spending less.
In this benchmark, the mixed router improved performance by 3.6% and increased savings from 39% to 66%.
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.在 X 查看被引用的帖子
来源:Rohan Paul · x.com