LightOn's open 2B model cuts Claude Code token bills by 34% via local semantic code search
lmoroney · x · 2026-10-13
LightOn measured how much of a coding agent's token bill goes to just finding the right file, and released ColGrep-Agent-2B, a 2.5 GB local model that handles semantic code search. Plugged into Claude Code across 52 questions on 13 repos, it cut API tokens 34% vs grep (40% cache-aware), with savings growing to 40% on 150k-600k line repos — at the cost of slower responses (21.6s vs 13.0s) and a possibly-noise 80.8% vs 83.3% accuracy gap. Training recipe: 2B base, short supervised cold start, then GRPO with file/line-F1 rewards.
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