This depends on the age and condition of your air conditioning system. If the AC repair cost is substantial and your air conditioner is nearing the end of its lifespan, replacement might be more cost-effective in the long run.