Depends.
One thing to consider is that at the end of your 5 year lease, the machine will be completely worthless (which is why the lease option is more expensive than the loan - compare that with a lease on a car, where there is a predictable residual value), so it will be up to you to dispose of it. That may well be quite expensive and needs to be factored into your costs.
On the flip side, consider the relative cost of early repayment, if that's something likely to happen. Unless you completely screw up on the terms of your loan, it should be repayable on demand and your "settlement figure" should be limited to the outstanding capital plus a reasonable administration fee for early settlement. As long as you understand amortized loans, there should be no surprises. That's not always the case with standard equipment leases, where you have entered into an agreement to pay them x amount over y months. Unless the early settlement is tied into an equipment upgrade deal with the same manufacturer, the finance company will generally want their pound of flesh, i.e. the entire amount outstanding on the lease.
Unfortunately, many small business people have little experience with finance or legal agreements and some get badly screwed over by vendors and equipment finance companies. Craig gave you the absolute best advice; speak to your accountant.