LSP plugin made Claude Code 11% pricier on C++ fixes

A ByteAsk Research preprint reports that requiring a clangd language server made Claude Code resolve 270 of 359 C/C++ repair attempts against 275 without it, at 11% higher API cost. If you added Anthropic’s LSP plugin to save tokens on C or C++, the study found no detectable repair gain. The authors say the results apply to their configured workflow, instructions included.
The server shortened search results, but the agent read more file content and made more model calls. Re-reads made up 94% of the extra tokens.
The authors also say public C++ benchmarks leave little room to measure a navigation tool. Working from the issue text alone, without the repository, the model named every fix site for 126 of 255 issues, in two of three tries.
Up next
Cat Wu, Claude Code’s product lead, joins OpenAI
Claude Code’s product lead Cat Wu left Anthropic for Cursor in 2025 and quickly came back, per The Information. This time she’s heading to OpenAI to lead product management for Core Products.
Related stories
- Claude Code sends 33k tokens before it even reads your prompt; OpenCode uses 7k
- Coding harnesses drove a 70-fold token gap
- Context7 cuts Claude Code input tokens by roughly 99%
- Claude Code team has Claude test the app before committing
- Claude Code 2.1.326 runs Code Mode with agent teams on
- Claude Code’s Code Mode runs tool calls as JavaScript
Comments
No comments yet. Be the first.
Join the conversation
Sign in to leave a comment. It appears after moderation.

