Bitter lesson: Don't use Claude Sonnet, if you must, use Opus, cherish life. If you can't bear to buy Max, you can use it in combination with Codex, which is more reliable than Sonnet.