VS Code coding agent with tiered model routing passes the same tasks as full Claude Sonnet at 1/15th the cost

Jumpy_Invite_7473 · reddit · 2026-11-29

The author of Puffin Coder, a VS Code agent that routes easy steps to cheap models and only escalates to a strong model when needed, ran a small benchmark: 4 realistic tasks on a Node todo app (bug fix, input validation, a function with tests, dark mode toggle), each run twice — once with Puffin's routing (DeepSeek Flash → Qwen Coder → Claude Sonnet) and once with Claude Sonnet on every step — graded by hidden tests, with costs from actual OpenRouter billing including retries.

Result: both passed every test; Puffin cost $0.031 total vs $0.469 for Sonnet, roughly 15x cheaper.

Routing lessons:

Caveats: one run per task and a small sample; a 5th task (pagination) looped on the cheap model and cost more than Sonnet, motivating the step limit.

Original post →

More from coding & agent

coding & agent channel →