Somewhat related: I simply buy a small pack of quality multi-blade razors, and keep them sharp using a silicone rubber strop (the Blade Buddy, easily found online). Each razor lasts at least a month, often more, and that’s up against my very coarse and thick whiskers. My shaving budget is this pretty close to zero.
Drying the razor after use is also crucial.