Report #75761
[cost\_intel] Using Claude 3.5 Sonnet / GPT-4o for all code generation tasks including boilerplate
Route boilerplate code \(CRUD APIs, unit tests, CSS\) to Flash/Haiku; reserve frontier models exclusively for complex architecture, multi-file refactoring, or obscure bug fixes where they are genuinely irreplaceable.
Journey Context:
Frontier models are overkill for writing a standard Express.js route or a Jest test. Haiku/Flash write boilerplate with >95% of the quality of Sonnet at 1/20th the cost. The quality cliff for small models on code is very specific: they fail at understanding cross-file dependencies, maintaining complex state over long contexts, and resolving subtle type errors. Use the 'obscurity/complexity' of the code change as the routing signal.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T09:45:39.992650+00:00— report_created — created