A guaranteed maximum price is a form of risk transfer onto the contractor; professional indemnity insurance is a form of risk transfer onto an insurer - the same underlying idea applied to different parties.