It turns on factors no calculator can settle for you: your health and family longevity, whether someone depends on your income, how much you already have in other savings, how comfortable you are managing money, and sometimes a quiet worry about the company standing behind the pension. The math matters, but it rarely decides on its own.
Start with longevity. Guaranteed lifetime income is most valuable to people who live a long time, because the payments simply keep coming. If your health is poor or your family does not tend to live long, the lifetime guarantee is worth less to you, and a lump sum you can spend or leave to heirs may appeal more. If you expect a long retirement, the monthly payment quietly does its job for decades.
Then look at who depends on you. A pension with a survivor benefit protects a spouse without any effort on their part, no investing decisions, no market timing, just income that continues. If you commute, that protection now depends on how the lump sum is invested and managed, possibly by the survivor, possibly during a stressful time. Your other assets matter too, if you already hold plenty elsewhere, a guaranteed pension can be the stable floor; if the pension is most of what you have, giving up the guarantee is a bigger swing.
Finally, be honest about control and comfort. Some people want the freedom to invest the money their own way, draw it flexibly, and potentially leave a larger estate, and they will sleep fine doing it. Others would lie awake watching a balance rise and fall. There is also the occasional fear that the employer or plan may not survive, that is worth understanding rather than reacting to, since well-funded plans and pension protections exist for a reason. None of these factors decide alone, the right answer is the one that holds up across all of them at once.