> If the AI is writing it all, the code is effectively free

Its not even close to free in either $, your own personal time, or calendar time.