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: Astra can read and write weights to improve Qwen
Astra can read and write weights to improve Qwen 708 by dbreunig | 211 comments on Hacker News.
-
рддेрдЬрд╕्рд╡िрдиी рдкрддрд╕ंрд╕्рдеेрдЪ्рдпा рдШोрдЯाрд│ेрдмाрдЬ рдкрджाрдзिрдХाрд░ी, рд╕ंрдЪाрд▓рдХांрд╡рд░ рдЧुрди्рд╣े рджाрдЦрд▓ рд▓ेрдЦाрдкрд░ीрдХ्рд╖рдХ рдмрдирд╕ोрдб рдпांрдЪ्рдпा рддрдХ्рд░ाрд░ीрдиंрддрд░ рдкोрд▓िрд╕ांрдЪी рдХाрд░рд╡ाрдИ рд╡рд░ोрд░ा ...
-
рд╡рд░ोрд░ा рднाрдЬрдкा рдкрд░िрд╡ाрд░ाрдд рдирд╡े рд╕рджрд╕्рдп – рд╡िрдХाрд╕ рдкрд░рдЪाрдХे рдпांрдЪा рднाрдЬрдкा рдк्рд░рд╡ेрд╢ рд╡рд░ोрд░ा : рд╡рд░ोрд░ा-рднрдж्рд░ाрд╡рддी рд╡िрдзाрдирд╕рднा рдХ्рд╖ेрдд्рд░ाрдЪे рдЖрдорджाрд░ рдХрд░рдг рджाрджा рджेрд╡...
-
рд╡рд░ोрд░ाрдд рд╕्рдЯॅрдо्рдкрдкेрдкрд░ рд╡िрдХ्рд░ीрдд рд▓ूрдЯ рдк्рд░рд╢ाрд╕рдиाрдЪी рдмрдШ्рдпाрдЪी рднूрдоिрдХा релрежреж рдЪा рд╕्рдЯॅрдо्рдк релрелреж рд░ुрдкрдпाрдд рд╡िрдХ्рд░ी рдХाрдпрджेрд╢ीрд░ рдХाрдоाрд╕ाрдаी рдЖрд╡рд╢्рдпрдХ рдЕрд╕рд▓ेрд▓्рдпा рд╕्рдЯ...