A pipe handler for assembling and deploying a string of threaded tubulars into a wellbore includes a pair of compensating bails and an elevator pivotally connected to the compensating bails. Each compensating bail includes: a first bail segment; a second bail segment; and a compensator connecting the respective first and second bail segments. Each compensator includes a load cylinder connected to the respective first bail segment and a linear actuator disposed in the respective load cylinder and operable to retract the respective second bail segment from a hoisting position to a ready position. Each second bail segment is engaged with the respective load cylinder in the hoisting position. The compensating bails are capable of supporting string weight in the hoisting position.