# Distance $E_F-E_i$ in a compensated semiconductor

Given two energy level diagrams for a compensated conductor:

At $$0~\text{K}$$

At $$500~\text{K}$$

I want to determine for which diagram is the Fermi level closest/farthest from $$E_i$$. It's a compensated semiconductor so it behaves almost intrinsically. And since $$E_F-E_i=kT\ln(n/n_i)$$ it means that when $$T=0$$ we get $$E_F=E_i$$ and when $$T>0$$ then $$E_F \neq E_i$$. In other words at $$T=0$$ the Fermi level is closest from $$E_i$$ and at $$T=500$$ it's the farthest. However according to the answers it's the other way around. Why is that?