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