haiku matched opus on 2 coding tasks once i fixed the skill, ~95% cheaper per run

Reddit r/AI_Agents News

Summary

An experiment shows that after a few skill edits, Claude Haiku matched Opus on two judgment-call coding tasks while costing ~95% less per run, suggesting skill fixes can beat upgrading to a bigger model. The author notes the eval is tiny (2 tasks, 3 runs each) and shares an open-source eval tool built with Claude Code.

i've been messing with claude code skills on judgment calls agents get wrong, and the result surprised me. with the original skill haiku failed both tasks 0/3. after one skill edit on the first task and two on the second, haiku went 3/3 on both, same as opus. cost per run was $0.017 vs $0.341 and $0.009 vs $0.275. to be upfront, it's tiny: 3 runs per cell on two tasks i wrote. opus already passed both with the original skill, so haiku matches it, it doesn't beat it. task one was renaming `timeout` to `timeout_s` in a python sdk other teams install and shipping it as a minor release. haiku did the hard rename every time and broke every caller. one paragraph in the skill (public package, minor release, keep the old name working with a deprecation warning) fixed it. task two was a ticket saying "annual plans get 20% off" that doesn't say whether the two existing coupons stack. haiku picked a rule and opened the pr every time. "ask, don't guess" wasn't enough. what worked was making it list every pricing interaction, ask about the ones the ticket doesn't cover, then stop. tests passed in both cases and nothing in the diff was wrong code, so no hook or ci rule would've caught it. it's a judgment call, which is exactly what a skill is for. costs are claude code's own total_cost_usd at list price. i ran the evals with a free open source tool i built mostly with claude code, which wrote a lot of the eval runner and cli while i handled the design and test cases. repo's in the comments if you want to try it. has anyone else had fixing the skill beat just switching to the bigger model?
Original Article

Similar Articles

I benchmarked my VS Code coding agent against running Claude Sonnet on every step. Same tasks, 15x cheaper, same pass rate

Reddit r/AI_Agents

Puffin Coder, a VS Code coding agent that routes easy steps to cheap models (DeepSeek Flash, Qwen Coder) and escalates to Claude Sonnet only when needed, passes the same hidden tests as running Sonnet on every step at 1/15 the cost ($0.031 vs $0.469). The author shares routing lessons: escalate after 3 real failures, hand the strong model a short summary, and enforce step limits.