In my experience Claude 3.7 is far superior for coding than Gemini 2.5. I tried it in Cursor and I wanted it to work, as a recent ex-Googler. I repeatedly found it inferior. I think it’s still behind Claud 3.5 for coding. It would decide arbitrarily not to finish tasks and suggest that I do them. It made simple errors and failed to catch them.
It depends on the task, and prompting feels different. I've found that sonnet is possibly better at starting things from scratch and frontend code, while Gemini has been able to one-shot difficult problems and fix bugs that sonnet has struggled with. Switching between them is a frequent occurrence for me. It might be relevant that I've completely stopped using Cursor in favor of other tools/agents.
Can you share what you use these days? I switched from cursor to windsurf but also want to play more with Trae and Cline/RooCode