GPT-4 was released almost exactly two years ago, so “a few years ago” means GPT-3.5.
And Claude 3.7 + Cursor agent is, for me, way more than “marginally more impressive” compared to GPT-3.5