Chinese engineers in top cities (Beijing, Shanghai, etc.) get paid comparably to the West. An entry-level SDE at Alibaba in Beijing gets offered like 80k USD, which is close to the compensation in Toronto (~110k USD for an entry-level at Amazon), Berlin (~70k for the same position at Amazon), and London (~80k for the same).