Claude Opus vs 3.7 Sonnet: Which is Better for Coding?
Asked by
CodingEnthusiast42
Hey folks! I've been using Claude 3.7 Sonnet for my coding projects and have now switched to Claude Code thanks to my MAX subscription. However, I've noticed it tends to complicate things unnecessarily and often ignores my clear requests to keep it simple, following principles like KISS, DRY, and YAGNI as outlined in my CLAUDE.md and instructions. I sometimes forget that Opus exists, so I'm curiousโhow do Opus and Sonnet 3.7 compare for coding and math tasks? I'd love any insights! Thanks!
Answers
Iโve recently started using Opus for my coding, and Iโve seen an improvement. It requires fewer corrections from me, though itโs still early to give a full assessment for it.
Reply to this answer
Don't forget about the context window. Sonnet 3.7 can struggle with longer contexts, similar to other models. Also, itโs key to give specific examples when you tell it not to over-engineer. Just saying 'donโt over-engineer' might not mean the same thing to it as it does to you.
Reply to this answer
Iโm in the same boat, feeling like Claude has become unusable lately. Iโm even considering switching to 3.5 since it seemed to have a better focus overall.
Reply to this answer
I had a rough day with 3.7; it kept hardcoding things despite my requests to avoid that. I even had to switch to Opus because it just wouldn't listen. Itโs disappointing because when it works, itโs great, but it can get stuck on ideas and ignore your guidance.
Reply to this answer
I feel you! Iโm in the same boat here, waiting to hear what others say. Iโm currently using Gemini 2.5 Pro and GPT-4.1, since Sonnet 3.7 is a bit pricey to juggle around.
Reply to this answer
Add your answer
Answers are reviewed before publication.
AIWizard: Using adversarial AI has helped me in cases like this. I upload my code to Gemini and ask it to critique it where I didnโt follow the required methods, then it gives me better suggestions.