Generally three years, non-man-made reasons, the warranty period 4S store free repair.
If it is out of warranty, the repair cost of 4S store is around 200-300 dollars, and the repair store is around 100-200 dollars.