ColGrep-Agent-2B cuts Claude Code's token usage by 34.3% vs grep across 13 repos
IgorCarron · x · 2026-10-12
- Benchmark: Across 52 code-search questions on 13 repositories and 624 benchmark sessions, ColGrep-Agent-2B reduced Claude Code's API token usage compared to plain grep.
- Results: 34.3% mean token savings overall (up to 46.3% on single-location searches, 31.1% cross-folder); it used fewer tokens on 88% of questions, saving 49k tokens per question on average.
- Takeaway: Swapping naive grep-based search inside coding agents for a small retrieval model can meaningfully cut inference costs without changing the main model.
More from coding & agent
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29