Switching Medication

After 7 months on Trizepitide, I am almost at my goal weight. I was wondering if I could switch to the Semiglutide, which is cheaper, and still maintain my weight or should I continue with the Trizepitide in order to maintain. I wouldn't mind saving some money but not at the risk of ballooning weight again.