Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
276 by systima | 147 comments on Hacker News.
This started based off of a hunch. We usually use OpenCode, but were 'forced' to use Claude Code for a while due to issues with Meridian. In that time, we saw the usage meter rise much, much more quickly than when using OpenCode. This was the initial anecdotal evidence, but we undertook this small study to collect empirical data: We added logging between the agentic coding tool (Claude Code and OpenCode) and Anthropic's endpoint, and captured all requests (and the returned usage blocks). With one caveat (toward the end of the post) we found unambiguously that Claude Code was far more inefficient in terms of its cache strategy and its harness token usage than OpenCode.
New best story on Hacker News: Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k
Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k 276 by systima | 147 comments on Hacker News. This started base...
-
เคตเคฐोเคฑ्เคฏाเคค เคถเคธ्เคค्เคฐाเคจी เคตाเคฐ เคเคฐूเคจ เคฏुเคตเคाเคा เคेเคฒा เคूเคจ เคตเคฐोเคฐा เคชोเคฒिเคธांเคจी เคेเคฒी เคเคฐोเคชीเคฒा เค เคเค เคตเคฐोเคฐा : เคตเคฐोเคฑ्เคฏाเคคीเคฒ เคेเคธเคฐी เคจंเคฆเคจ เคเคฃเคชเคคी เคเคตเคณ เคเคฐोเคชी เค เคฎो...
-
เคตเคฐोเคฐा เคเคฎเคเคธเคเคฌीเคे เคธเคนाเคฏ्เคฏเค เค เคญिเคฏंเคคा เคช्เคฐเคซुเคฒ เคฒाเคฒเคธเคฐेเคी เคตเคฐोเคฐा เคถเคนเคฐाเคคूเคจ เคนเคाเคฒ เคชเค्เคी เคเคฐा.... เคฎाเคीเคฒ เค เคจेเค เคตเคฐ्เคทांเคชाเคธूเคจ เคตเคฐोเคฐा เคคाเคฒुเค्เคฏाเคค เคाเคฐ्เคฏเคฐเคค...
-
เคญเคฐเคค เคुเคช्เคคा เคต เคธเคนเคाเคฑ्เคฏांเคเคกूเคจ เคฏुเคตाเคธेเคจा เคिเคฒ्เคนा เคช्เคฐเคฎुเคाเคตเคฐ เคीเคตเคेเคฃा เคนเคฒ्เคฒा ; เคंเคฆ्เคฐเคชूเคฐ เคถเคนเคฐाเคคीเคฒ เคช्เคฐเคाเคฐ เคเคฒेเค เคฐเคฎेเคถ เคฐเค्เคे เคฏुเคตा เคธेเคจा เคिเคฒ्เคนा...