Unfortunately the cost of HSM is the cost of two of them, overprovisioned for your projected needs over years, and staff who know how to use them safely both in terms of security design and not losing access to everything in case of an issue.
Just having HSM is not good enough. You also need a process around it to keep it secure. you can also use Cloud HSM solutions.