Whoever orders the home inspection will be the one who pays for it. Typically the buyer is the one that requests an inspection after the contract has been signed.
References
Courtesy of HomeOwners Advantage and link that to their entry in the wiki which is at HomeOwners Advantage