I believe you are asking about the Bing Maps distance matrix service. I believe that service uses an average speed/travel time value that is regularly updated.
If you are actually asking about Azure Maps, its distance matrix service (also known as route matrix) uses a combination of real-time and predictive traffic data in its calculations based on the specified arriveBy or departAt date time.