I’ve seen estimates that living in a major city like Beijing takes off shortens about 5 years over the course of your life.
Shanghai only takes 1.6 years off your life. (pdf)
Shanghai only takes 1.6 years off your life. (pdf)