The seller typically pays for the inspection (actually most companies will do them for free). I often order them beforehand to know if there is an issue and how expensive it would be to address it. As a seller you are typically asked to provide termite clearance as a condition of the sale. When you agree to do so without knowing the extent of the problem (if there is one) you are signing a blank check. It’s a good idea to do it upfront. Eliminates unpleasant surprises.