PEK for history and a peek into the modern China. Tokyo is one of the worlds truly great cities and while big the Yamanote line allows you access to a lot of the City easily.
Shanghai OTOH I find just a bit dull. Perhaps I am coloured by having spent 3.5 weeks of this year but frankly I am a bored of the place.