The amount that a landlord can charge for cleaning a unit depends on the state the unit was rented out in the state the unit was returned in and the general rules of wear and tear.
Carpet cleaning charges landlord.
However if a tenant left the carpet clean with only signs of normal wear and tear the landlord could not charge for carpet cleaning.
A landlord cannot charge for routine cleaning.
After you move out of an apartment a landlord might withhold money from your security deposit for professional carpet cleaning that charge may be fair if you left the carpet in worse shape.
Deductions cannot include normal wear and tear essentially a landlord would have to sue a tenant as a separate matter if they did not pay for routine carpet cleaning required by the lease.
Also the lease agreement may stipulate that the tenants handle the carpet cleaning before they vacate the property.
For example if a tenant left the carpet stained dirty and or ripped then the carpet would be damaged beyond normal wear and tear and the landlord could deduct carpet cleaning costs from the security deposit.
If a unit was rented out in a brand new condition and returned very dirty the landlord could charge 200 to 500 dollars to get things clean depending on what.
A landlord can charge for cleaning if the carpet is excessively dirty and or damaged.