I short… It depends.
But that said, verything you need to know to answer is here.. So You Want to AI in Home Assistant