I had a similar situation, but it didn't go through. I offered to reduce the company-wide monthly costs by 5% in exchange for 40k once by replacing an outside vendor with my own self-developed clone which the company would then own. Didn't go through because our investors feared an increased dependency on me as an employee.