The calculated distance (air line) between Cusco and Ayaviri is approximately 132 miles respectively 212 kilometers.
By car or train, the actual journey to Ayaviri is certainly longer, as only the direct route (as the crow flies) between Cusco and Ayaviri has been calculated here.