Twitter/X

Weak/cheap model calls cause stalls, retries and cache invalidation, which can…

Brief

Not Diamond Code is an intelligent model router announced by Tomas Hernando Kofman (2026-08-04) that selects the best model and amount of reasoning per coding-step with cache-awareness. It aims to avoid stalls and cache-breaks from weaker models, maintain frontier-quality results, integrate with gateways like Claude Code, and cut inference costs by about 20–65%.

Why it matters

Weak/cheap model calls cause stalls, retries and cache invalidation, which can erase upfront cost savings for long-horizon coding tasks.

Key details

  • Not Diamond Code, announced by Tomas Hernando Kofman on 2026-08-04, is an intelligent model router that routes every step with full cache awareness to preserve frontier-quality reasoning.
  • Not Diamond Code claims compatibility with any gateway or harness (including Claude Code) and promises to reduce inference spend by roughly 20–65% without impacting output quality.
Source evidence

The cheapest model call is often the most expensive way to finish a coding task.

Weak models stall, retry and break the cache, erasing the savings.

Not Diamond Code routes every step with full cache awareness, keeping frontier quality while cutting inference spend 20% or more.

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.

Video

— https://nitter.net/tomas_hk/status/2084669945150062619#m