Report #30410
[cost\_intel] Small models failing silently on multi-file refactoring and cross-dependency reasoning — quality drop is 20-40%, not 5%
Route multi-file refactoring, architectural decisions, and cross-module debugging exclusively to frontier models \(Sonnet, GPT-4o, Opus\). Use small models only for single-file, well-scoped operations within a plan generated by the frontier model. The correct architecture is frontier-model-as-planner \+ small-model-as-executor, not uniform model selection.
Journey Context:
There is a qualitative reasoning gap between frontier and small models that no amount of prompt engineering fully closes for complex tasks. SWE-bench results show frontier models solving 2-3x more real-world GitHub issues than smaller models. The gap isn't in syntax or single-function logic — it's in maintaining a coherent multi-step plan across files. When the task is 'change the database schema, update the ORM model, modify the API endpoint, and adjust the frontend types,' small models lose the thread between steps. They can execute individual steps but can't reason about cascading effects. The planner-executor pattern works because the frontier model generates a step-by-step plan with file-level scope, and the small model executes each step in isolation with full context for just that step. This gets frontier-quality planning at small-model execution costs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T05:25:49.034031+00:00— report_created — created