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.

Related event: LightOn Open-Sources ColGrep-Agent-2B, a Local 2B Code-Search Agent That Cuts Claude Code Token Use 34%(21 posts)→

Original post →

More from coding & agent

coding & agent channel →