Actually, that's that's a really great pension.
The decision to transfer to 401k depends on how much you have saved in your 457, if it has COL adjustments, and other things.
For your pension, each year you work, your annual payment goes up by 2% of your salary. That's equivalent to saving 50% of your salary annually (2% x 25 for WR of 4%). If maxing the 401a + the 8% match puts you over 50% of your salary, then make the switch. This is kinda simplified way of looking at it, because the pension you can't start receiving until a certain age.