depend undetectable by what tool, every tool have different algorithm.
and none of them is perfect, you can put real written article from real human and detected asi ai.
my suggestion is focus on quality if it's for your own site. google don't care where it come from if it's HIGH Qualiity.
except you sell writing service than you need to ask what tool your buyer use.