REPL Code Mode cut tool calls up to 35% across DeepSeek, GLM and MiniMax in 64-run benchmark
Alternative_Ad3781 · reddit · 2026-11-24
Inspired by Code Mode for Claude, the author added a REPL to their coding CLI AnyCode so models can combine symbol search and file reading in one call, plus a prompt reminder since models rarely used it unprompted. Rigorous setup: one bug, 8 runs per model with REPL off and 8 with it on (64 total), all fixes passing the same hidden tests. Results (off/on averages): MiniMax M3.1 Flash gained most—9 fewer steps, 3 minutes faster, cost 10.88→8.59 cents; DeepSeek V4.1 Flash tool calls 51.9→35.2, cost 6.71→5.04 cents; GLM-5.3 Flash 38.8→31.5 calls; GLM-5.4 cut calls from 60 to 39 but saved only two model trips, ran 15s slower, and cost 18% less (72.65 vs 88.65 cents). Terminal-Bench runs on GLM-5.3 Flash are underway.
More from coding & agent
- Nous Portal launches with 200+ models, 20% off Anthropic and OpenAI for a week — NousResearch · 2026-11-24
- Founder shows AI coding setup 'Viktor Code' shipping 228 PRs in 2 hours — tobowers · 2026-11-24
- Intent's new notch lets you record and annotate screen issues for AI agents — LukeW · 2026-11-24
- Talking Stack-chan robot hacks Arduino and Raspberry Pi to control pins and code — alexcovo_eth · 2026-11-24
- Devs want a provider-agnostic coding harness that taps subscription plans, not API billing — john__allard · 2026-11-24
- Factorion: transformer learns high-throughput Factorio factories via SFT + RL — CoreWeaveDevs · 2026-11-24