The question I would add: which one makes you a better reviewer of its output? Fast answers you cannot follow are a liability in a codebase other people have to maintain. An explanation that walks through the reasoning is worth more than a clever one-liner. (bkz: asking an AI coding assistant to review code)
claude vs chatgpt for coding
Worth separating the model from the product around it. A lot of what people call the better coder is really the better workflow: can it read the whole repository, run the tests, show a diff before touching anything? Those features change faster than the models do, so any ranking from six months ago is already a bit stale.
The honest answer changes with the shape of the task. For a small function with a clear spec, both will usually get you somewhere usable. The differences show up in the boring middle: following an existing code style, respecting constraints you mentioned ten messages ago, and admitting when a library call does not exist. Give both the same failing test and the same file, then compare how much of the diff you would actually keep.