You must check the documentation for the Servo drive.
It must be specified which Performance Level can be achieved with the STO function.
Compare this with which PL can be achieved with a contactor or redundant contactors.
Also, possibly there is a feedback from the servo drive which must be connected to the safety relay for the diagnostics coverage. This may be necessary to achieve the PL.
As an example, for the VFD's that I use, the STO can achieve PL d or even PL e.
Another consideration is that the servo does not like the supply power to be removed and reconnected frequently.
So if you need to start and stop safely with a high frequency, then an STO is better than cutting the power with contactor(s).