The Route Optimization API uses a pay-as-you-go pricing model.
Route Optimization has two SKUs that determine the cost of a request. The SKU used to determine the cost is based on the each specific request you send:
- Requests that contain one vehicle: billed to Single Vehicle Routing SKU
- Requests that contain 2 or more vehicles: billed to Fleet Routing SKU
Per request charge is based on the number of shipment units in the optimization request, times the shipment unit price per SKU.
For example: If you have a Route Optimization request that has:
- 5 vehicles
- 10 unique shipments (with 10 unique shipment locations or loads)
A 10 x (Fleet Routing SKU unit price) charge will be incurred for the request.
You won't be charged for the following:
- Requests that fail due to validation errors, such as syntax or data validation errors, or any internal service error.
- Requests in
VALIDATE_ONLY
solve mode (that only does validation). - Shipments that are either determined as infeasible shipments at validation,
or ones that are explicitly ignored, excluded from optimization, or
constrained from being optimized by
InjectedSolutionConstraint
.
Example: Single Vehicle Routing SKU
If you are trying to create a route using Single Vehicle Routing with 3 shipments at 8am, you will get charged for 3 shipments.
Notes | Shipments | Pickups | Deliveries | Shipment.LoadDemand | Time windows | Shipment count |
---|---|---|---|---|---|---|
New Routes | Shipment A | Austin Warehouse | Austin Shop | 1 | 8 AM - 12 PM | 1 |
Shipment B | Bothell Warehouse | Bothell Shop | 2 | 8 AM - 12 PM | 1 | |
Shipment C | Chicago Warehouse | Chicago Shop | 3 | 12 PM - 5 PM | 1 |
Total charge: $0.01/shipment per optimization X 3 shipments = $0.03
Along with the overall Google Terms of Use, there are usage limits specific to the Route Optimization API. Manage your costs and usage with tools available in the Google Cloud Console.
How the Route Optimization API is billed
The Route Optimization API uses a pay-as-you-go pricing model. The Google Maps Platform APIs and SDKs are billed by SKU. Usage is tracked for each SKU, and any API or SDK may have more than one product SKU. Cost is calculated by
Use our Pricing and Usage calculator to estimate your usage cost per API or SDK. For qualifying Google Maps Platform SKUs, a $200 USD Google Maps Platform credit is available each month for each billing account. This credit is automatically applied to the qualifying SKUs.
Pricing for the Route Optimization API
SKU: Route Optimization: Single Vehicle Routing
A request to the Route Optimization API that specifies exactly one vehicle.
MONTHLY VOLUME RANGE (Price per SHIPMENT) |
||
---|---|---|
0.01 USD per each (10.00 USD per 1000) |
0.004 USD per each (4.00 USD per 1000) |
Contact Sales for volume pricing |
SKU: Route Optimization: Fleet Routing
A request to the Route Optimization API that specifies more than one vehicle.
MONTHLY VOLUME RANGE (Price per SHIPMENT) |
||
---|---|---|
0.03 USD per each (30.00 USD per 1000) |
0.014 USD per each (14.00 USD per 1000) |
Contact Sales for volume pricing |
Other usage limits
While there are no maximum number of requests per day, the following usage limits are still in place for the Route Optimization API:
Optimize Tours
- Maximum queries per minute (QPM): 60
Batch Optimize Tours
- Maximum queries per minute (QPM): 60
- Maximum individual
OptimizeToursRequest
size: 100MB - Maximum number of
OptimizeToursRequest
per batch: 100 - Maximum total combined size of
OptimizeToursRequest
per batch: 100MB
Terms of Use restrictions
For information on terms of use, see policies for the Route Optimization API, and the License Restrictions section of the Google Maps Platform Terms of Service.
Manage your cost of use
To manage your cost of use of the Route Optimization API or to meet the demands of your production traffic, set daily quota limits on all requests to any API. Daily quotas are reset at midnight Pacific time.
To view or change quota limits for the Route Optimization API:
- In the Cloud Console, open the Google Maps Platform Quotas page.
- Click the APIs drop-down and select the Route Optimization API.
- To view the quota limits, scroll down to the Requests
card.
A table lists the quota names and limits. - To change a quota limit, click the Edit icon for that limit.
In the dialog that appears, in the Quota Limit field, enter the preferred billable daily quota limit (up to the quota limit, if any, specified by Google) and select Save.
If your API usage reaches your billable quota limit on any given day, your application will not be able to access the API for the remainder of that day.