Below you can see the front-view size comparison of the Pentax 645Z and Nikon D810. The Nikon D810 is 10 mm narrower and 41 mm thinner than the Pentax 645Z but it is also 6 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.