The first thing I would do is remove the accessory drive belt and see if the noise stops. Hopefully a rogue bolt fell in somewhere and is clattering against one of the pulleys.
But if that is it, it sounds like a classic timing chain noise. No, it won't be cheap to fix.