Sonnet 5 Costs More for Long Coding Tasks
shricodev · reddit · 2026-07-11
The author tested Claude Sonnet 5 and Fable 5 on two coding tasks: adding a RAG debugger in Open WebUI, and building a browser-based Clash Royale-style game. Results show Sonnet isn't necessarily cheaper for long tasks:
- RAG debugger: Sonnet took longer but cost slightly less overall; Fable was faster and the implementation was more to the author's liking.
- Game project: Fable worked in one shot, included tests, and used Playwright for UI checks; Sonnet produced a usable appearance but had more initial issues, requiring multiple rounds of fixes, ultimately costing more time and money.
The author's conclusion: Cheaper per token doesn't mean cheaper per task completed. Sonnet 5 is significantly better than 4.6 in frontend and tool use, but token consumption and total cost can escalate quickly on complex long coding tasks.
More from coding & agent
- Dev builds interactive 3D product experience with GPT-6 Astra + Hyper3D Rodin — nikola_mr64990 · 2026-09-11
- Codex tip: use Sol with Astra and Luna sub-agents to save usage — pvncher · 2026-09-11
- agents-best-practices: a provider-neutral Agent Skill for designing and auditing agentic harnesses — tom_doerr · 2026-09-11
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11