Post

Log inSign up

Post

Tomas Hernando Kofman on X: "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% https://t.co/io9biZOxbM"

  • user avatar
    Tomas Hernando Kofman
    @tomas_hk
    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.
    00:00
    3:57 PM · Aug 4, 20261.4MViews
  • user avatar
    Tomas Hernando Kofman
    @tomas_hk
    Aug 4
    Not Diamond Code achieves Pareto-optimal performance on SWE-PolyBench-Verified and LongCodeQA, approximating the quality of Opus 4.8 Xhigh at 39–61% lower cost. Evaluations were run with Claude Code as the harness routing between Haiku 4.5, Sonnet 4.6, and Opus 4.8 at various
    user avatar
    Tomas Hernando Kofman
    @tomas_hk
    Aug 4
    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%
    user avatar
    Tomas Hernando Kofman
    @tomas_hk
    Aug 4
    Not Diamond Code is based on a novel routing technique that makes recommendations by predicting future rewards and costs for a given model and reasoning effort at each step of an agent sequence. Recommendations are made in a cache-aware manner that optimizes for long-trajectory
    user avatar
    Tomas Hernando Kofman
    @tomas_hk
    Aug 4
    Before each turn, Not Diamond considers current and prior session states, message and token counts, task complexity, implicit developer feedback signals, and KV cache state to predict the future cost and reward of each model and reasoning-effort recommendation. It then selects
    user avatar
    Tomas Hernando Kofman
    @tomas_hk
    Aug 4
    Not Diamond is the first harness- and gateway-agnostic model router. It works natively with Claude Code without requiring any change in behavior to save you inference spend automatically.
    00:00
    user avatar
    Tomas Hernando Kofman
    @tomas_hk
    Aug 4
    We founded Not Diamond to build the routing infrastructure for the multi-model future, all the way back to releasing the world’s first open source intelligent model router in December 2023. A world with many diverse models is more performant and cost-efficient than one in which
    user avatar
    Tomas Hernando Kofman
    @tomas_hk
    Aug 4
    We are selectively onboarding teams to Not Diamond Code early access. Run it on your own coding-agent workflows and compare routing against your current default-model strategy. Learn more and request access here:
    Not Diamond Code: intelligent model routing for coding agents
    From notdiamond.ai
  • user avatar
    Not Jerome Powell
    @alifarhat79
    Aug 4
    My coding agent after getting a budget cut.

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email

Relevant people

Avatar
Tomas Hernando Kofman@tomas_hkFollow
building ¬◇, intelligent model routing for coding agents

Trending now

Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.