Report #87504
[cost\_intel] Using cheap models \(Haiku/Mini\) for cross-file code refactoring
Use frontier models \(Opus/GPT-4\) for cross-file refactoring; restrict cheap models to single-function generation or docstring writing.
Journey Context:
Cheap models can write a standalone function, but they lack the global context reasoning to maintain architectural consistency across files. Quality cliff: cheap models will invent APIs that don't exist or break imports. The cost of a human reviewing and fixing a hallucinated import is 10x the API savings. The degradation signature is a model confidently using methods from the wrong class or file.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T05:27:56.428459+00:00— report_created — created