One thing that may be missing from your comparison is retirement healthcare. Many plans provide healthcare as part of the benefit, so you can't assume all of the city's portion would be available for you to invest.
My pension plan doesn't proved any healthcare benefits at all.