Below you can see the front-view size comparison of the Sony NEX-5R and Pentax K-70. The Sony NEX-5R is clearly the smaller of the two cameras. Its body is 15mm narrower, 34 mm shorter and 35 mm thinner than the Pentax K-70.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.