The thermosphere. When the mesosphere extends past the stratosphere the temperature decreases. In the thermosphere the air is thin so, there are far less air molocules. Temperatures in there can get as low as -90 degrees Celcius.
So, The thermosphere is the coldest layer of the atmosphere