{
  "id": 17987089,
  "title": "I measured 8 weeks of Claude Code: 87% lower cost, 86% first-try typecheck",
  "url": "https://urgent.news/2026/11/03/i-measured-8-weeks-of-claude-code-87-lower-cost-86-first-try-typecheck",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-03T16:20:53.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/diegoprieri/i-measured-8-weeks-of-claude-code-87-lower-cost-86-first-try-typecheck-gp2"
  },
  "original_language": "en",
  "account": "Claude Code, a tool that employs AI agents to write code, was evaluated for cost and accuracy over an 8-week period. The results showed an impressive 87% reduction in cost and an 86% success rate on the first attempt with typechecking and testing. This evaluation was conducted using a custom CLI tool called claude-code-metrics, which parses the JSONL files generated by Claude Code to calculate the metrics. The cache mechanism of Claude Code proved to be highly effective, with 98.4% of input tokens being read from the cache, resulting in significant cost savings. The tool only writes the stable prefix of a session to the cache, while the rest of the session benefits from cached reads at a fraction of the cost. However, the first-attempt success rate is not as high, with only 86.3% of typechecks and 75.2% of tests passing on the first run. This is attributed to the agents' tendency to pipe output through filters, which can mask failing lines. To improve accuracy, it is recommended to run the checks without any filters and include verification gates in the workflow to ensure reliability. The findings highlight the importance of maintaining a stable context for the agents and the limitations of the current workflow in terms of verification.",
  "summary": "Everyone has an opinion about coding agents: they're too expensive, or they're magic, or the code they write is garbage. I lead the frontend of a ~120k-line TypeScript app where agents write most of the code, so I wanted numbers instead of opinions. It turns out the data was already on my machine. The data Claude Code already keeps Claude Code writes every session to ~/.claude/projects/**/*.jsonl…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 6,
    "also_reported_by": [
      {
        "outlet": "OpenAI",
        "title": "Qodo builds context into AI code review with Codex",
        "url": "https://urgent.news/2026/11/02/qodo-builds-context-into-ai-code-review-with-codex",
        "published": "2026-11-02T00:00:00.000Z"
      },
      {
        "outlet": "XDA Developers",
        "title": "I asked Claude Code, Codex, and Antigravity to build the same Android app, and only one made something I'd actually install",
        "url": "https://urgent.news/2026/11/02/i-asked-claude-code-codex-and-antigravity-to-build-the-same-android",
        "published": "2026-11-02T17:31:23.000Z"
      },
      {
        "outlet": "ZDNet",
        "title": "Is Claude Code truly faster with message threads? I did the math on my logs",
        "url": "https://urgent.news/2026/11/03/is-claude-code-truly-faster-with-message-threads-i-did-the-math-on-my",
        "published": "2026-11-03T07:28:00.000Z"
      },
      {
        "outlet": "The New Stack",
        "title": "Anthropic speeds up Claude Code with message threads. But your token bill stays the same.",
        "url": "https://urgent.news/2026/11/03/anthropic-speeds-up-claude-code-with-message-threads-but-your-token",
        "published": "2026-11-03T13:46:14.000Z"
      },
      {
        "outlet": "Simon Willison from Simon Willison’s Newsletter",
        "title": "to experiment with Claude’s new Code Interpreter",
        "url": "https://urgent.news/2026/11/03/to-experiment-with-claudes-new-code-interpreter",
        "published": "2026-11-03T18:37:30.000Z"
      }
    ]
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}