In some cases, landlords may cover the cost of carpet cleaning before you move in. It's worth discussing with the landlord and seeing if they are willing to include it in the move-in agreement.