Use google key to calculate times

hello, i have a key of google maps api, is possible use the service of google to calculate the time of rute and distance ?

I see in documentation tomtom and openstreet map…


You can fetch results from any provider and then use the custom cost matrices feature to include this in an route optimization request.