Compute Routes et Compute Route Matrix comportent chacun trois SKU qui déterminent le coût d'une requête. Le SKU utilisé pour déterminer le coût dépend du service que vous demandez (Compute Routes ou Compute Route Matrix) et des fonctionnalités que vous utilisez dans la requête.
Exemple :
Les requêtes Compute Routes sont facturées pour chaque Request.
Les requêtes Compute Route Matrix sont facturées par ÉLÉMENT renvoyé par la requête. Le nombre d'éléments correspond au nombre d'origines multiplié par le nombre de destinations. Par exemple, si une requête contient deux origines et trois destinations, elle sera facturée pour six éléments.
Les fonctionnalités que vous utilisez déterminent la catégorie de SKU facturée :
Essentials : facturé pour les requêtes qui utilisent uniquement des fonctionnalités de base avec un maximum de 10 points de cheminement intermédiaires.
Pro : facturé pour les requêtes qui utilisent une fonctionnalité avancée, comme les modificateurs de route TRAFFIC_AWARE ou TRAFFIC_AWARE_OPTIMAL.
Enterprise : facturé pour les requêtes qui utilisent une fonctionnalité Enterprise, comme le calcul d'itinéraire pour deux-roues.
Consultez les détails des SKU pour obtenir la liste complète des fonctionnalités qui déclenchent ces SKU.
Détails et tarifs des SKU pour l'API Routes
Le tableau suivant indique les détails et les tarifs des SKU pour l'API Routes.
Les limites d'utilisation suivantes s'appliquent à l'API Routes.
Compute Routes
Limite de débit de 3 000 requêtes par minute.
Le nombre maximal de points de cheminement intermédiaires autorisé par requête ComputeRoutes est de 25.
Compute Route Matrix
La limite de débit est de 3 000 éléments par minute, calculée en multipliant le nombre d'origines par le nombre de destinations.
Le nombre maximal d'origines et de destinations que vous pouvez spécifier à l'aide d'un ID de lieu ou d'une adresse est de 50.
Le nombre total maximal d'éléments autorisés par requête ComputeRouteMatrix avec routingPreference défini sur TRAFFIC_AWARE_OPTIMAL est de 100.
Le nombre total maximal d'éléments autorisés par requête ComputeRouteMatrix avec travelMode défini sur TRANSIT est de 100.
Le nombre total maximal d'éléments autorisé par requête ComputeRouteMatrix est de 625.
Ajuster le quota
Les limites de quota définissent le nombre maximal de requêtes autorisées pour une API ou un service spécifiques au cours d'une période donnée. Lorsque le nombre de requêtes dans votre projet atteint la limite de quota, votre service cesse de répondre aux requêtes.
Pour modifier la valeur d'un quota pour votre API, procédez comme suit :
Dans la console Cloud, accédez à Google Maps Platform > Quotas.
Sélectionnez l'API pour laquelle vous souhaitez modifier le quota.
Identifiez la valeur de quota que vous souhaitez modifier, puis cochez la case correspondante.
Cliquez sur Modifier, saisissez une nouvelle valeur de quota, puis cliquez sur Envoyer la demande.
Afficher les demandes d'augmentation de quota
Pour afficher toutes les demandes d'augmentation de quota, y compris celles en attente et celles qui ont été traitées :
Dans la console Cloud, accédez à Google Maps Platform > Quotas.
Sélectionnez l'API pour laquelle vous souhaitez afficher la demande d'augmentation de quota.
Cliquez sur Augmenter les demandes.
Restrictions liées aux conditions d'utilisation
Pour en savoir plus sur l'utilisation autorisée, consultez la section Restrictions liées aux licences dans les conditions d'utilisation de Google Maps Platform.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/06 (UTC).
[null,null,["Dernière mise à jour le 2025/08/06 (UTC)."],[[["\u003cp\u003eThe Routes API utilizes a pay-as-you-go pricing model, billing based on the specific features used in each request and falling under either Basic, Advanced, or Preferred SKUs.\u003c/p\u003e\n"],["\u003cp\u003eCompute Routes requests are billed per query, while Compute Route Matrix requests are billed per element, calculated by multiplying the number of origins by the number of destinations.\u003c/p\u003e\n"],["\u003cp\u003eUsage limits apply to the Routes API, including query and element rate limits per minute and maximums for waypoints, origins, destinations, and elements per request type.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage costs by setting daily quota limits for the Routes API in the Google Cloud Console to prevent exceeding your budget and ensure continued access.\u003c/p\u003e\n"]]],["The Routes API uses a pay-as-you-go model, billed by SKU based on the features used. To use the API, enable billing and include an API key or OAuth token. Requests are categorized as Compute Routes or Compute Route Matrix, with Basic, Advanced, and Preferred SKUs, determined by features like traffic awareness or two-wheel routing. Costs are calculated per query or element, with varying monthly volume ranges. Usage limits apply, including rate limits and maximum waypoints/origins/destinations. Manage costs by setting daily quota limits. A $200 monthly credit is available until Feb 28, 2025.\n"],null,["# Routes API Usage and Billing\n\n| **Reminder:** To use the Routes API, you must [enable billing](https://console.cloud.google.com/project/_/billing/enable?utm_source=Docs_BillingNudge) on each of your projects and include an [API key](/maps/documentation/routes/get-api-key) or OAuth token with all API or SDK requests.\nRequests for the Routes API are billed under the SKU for the [features used by the request](#pricing-for-product).\n\n\u003cbr /\u003e\n\n[Compute Routes](/maps/documentation/routes/compute_route_directions) and\n[Compute Route Matrix](/maps/documentation/routes/compute_route_matrix) each have three SKUs\nthat determine the cost of a request. The SKU used to determine the cost is\nbased on the service you request, Compute Routes or\nCompute Route Matrix, and the features that you use in the request.\nFor example:\n\n- **Compute Routes** requests are billed for each\n **Request**.\n\n- **Compute Route Matrix** requests are billed per **ELEMENT**\n returned from the request. The number of elements is the number of\n origins multiplied by the number of destinations. For example, if\n a request contains **two** origins and **three** destinations, then\n the request is billed for **six** elements.\n\nThe features you use determine which SKU category is billed:\n\n- **Essentials**: Billed for requests that use only basic features with\n a maximum of 10 intermediate waypoints.\n\n- **Pro** : Billed for requests that use an advanced feature, such as the\n `TRAFFIC_AWARE` or `TRAFFIC_AWARE_OPTIMAL` route modifiers.\n\n- **Enterprise**: Billed for requests that use an enterprise feature,\n such as two-wheel routing.\n\nSee the SKU details for a complete list of features that trigger these SKUs.\n\nSKU details and pricing for the Routes API\n------------------------------------------\n\nThe following table shows the SKU details and pricing for the Routes API.\n\n| Category | SKU Details | SKU Pricing |\n|----------------|--------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Essentials** | [SKU: Routes: Compute Routes Essentials](/maps/billing-and-pricing/sku-details#compute-routes-ess-sku) | [Main pricing list](/maps/billing-and-pricing/pricing#routes-pricing) [India pricing list](/maps/billing-and-pricing/pricing-india#routes-pricing) |\n| **Essentials** | [SKU: Routes: Compute Route Matrix Essentials](/maps/billing-and-pricing/sku-details#compute-route-matrix-ess-sku) | [Main pricing list](/maps/billing-and-pricing/pricing#routes-pricing) [India pricing list](/maps/billing-and-pricing/pricing-india#routes-pricing) |\n| **Pro** | [SKU: Routes: Compute Routes Pro](/maps/billing-and-pricing/sku-details#compute-routes-pro-sku) | [Main pricing list](/maps/billing-and-pricing/pricing#routes-pricing) [India pricing list](/maps/billing-and-pricing/pricing-india#routes-pricing) |\n| **Pro** | [SKU: Routes: Compute Route Matrix Pro](/maps/billing-and-pricing/sku-details#compute-route-matrix-pro-sku) | [Main pricing list](/maps/billing-and-pricing/pricing#routes-pricing) [India pricing list](/maps/billing-and-pricing/pricing-india#routes-pricing) |\n| **Enterprise** | [SKU: Routes: Compute Routes Enterprise](/maps/billing-and-pricing/sku-details#compute-routes-ent-sku) | [Main pricing list](/maps/billing-and-pricing/pricing#routes-pricing) [India pricing list](/maps/billing-and-pricing/pricing-india#routes-pricing) |\n| **Enterprise** | [SKU: Routes: Compute Route Matrix Enterprise](/maps/billing-and-pricing/sku-details#compute-route-matrix-ent-sku) | [Main pricing list](/maps/billing-and-pricing/pricing#routes-pricing) [India pricing list](/maps/billing-and-pricing/pricing-india#routes-pricing) |\n\n\nUsage limits\n------------\n\nThe following\nusage limits are in place for the Routes API.\n\n### Compute Routes\n\n- Rate limit of 3,000 QPM queries per minute.\n\n- Maximum allowed number of intermediate waypoints per `ComputeRoutes` request\n request is 25.\n\n### Compute Route Matrix\n\n- The rate limit is 3,000 EPM elements per minute, calculated by\n number of origins times the number of destinations.\n\n- Maximum allowed number of origins and destinations that you can specify\n by using a place ID or address is 50.\n\n- Maximum allowed total number of elements per\n `ComputeRouteMatrix` request with `routingPreference` set to\n `TRAFFIC_AWARE_OPTIMAL` is 100.\n\n- Maximum allowed total number of elements per\n `ComputeRouteMatrix` request with `travelMode` set to `TRANSIT` is 100.\n\n- Maximum allowed total number of elements per\n `ComputeRouteMatrix` request otherwise is 625.\n\n\nAdjust quota\n------------\n\n\nQuota limits define the maximum number of requests allowed for a specific API or service within a\ngiven timeframe. When the number of requests in your project reaches the quota limit, your service\nstops responding to requests.\n| **Important:** To understand how an increase in quota could affect your bill, check out the [pricing calculator](https://mapsplatform.google.com/pricing/#pricing-calculator).\n\nTo modify a quota value for your API, follow these steps:\n\n1. In the Cloud console, navigate to **Google Maps Platform \\\u003e Quotas**.\n2. Select the API for which you want to modify the quota.\n3. Identify the quota value that you want to change, and select it using the checkbox.\n4. Click **Edit** , enter a new quota value, and click **Submit request**.\n\n### View quota increase requests\n\n| **Important:** You must have the appropriate [IAM permissions to view quota increase requests](https://cloud.google.com/docs/quotas/permissions#permissions_increase).\n\nTo view all quota increase requests, including past and pending requests:\n\n1. In the Cloud console, navigate to **Google Maps Platform \\\u003e Quotas**.\n2. Select the API for which you want to view the quota increase request.\n3. Click **Increase Requests**.\n\n| **Tip:** Make sure to monitor your quota usage regularly to avoid service interruptions. [Learn more about quotas and\n| quota alerts](/maps/billing-and-pricing/manage-costs#quotas).\n\n\u003cbr /\u003e\n\nTerms of Use restrictions\n-------------------------\n\nFor complete details on allowed usage, consult the\n[License Restrictions section](https://cloud.google.com/maps-platform/terms/#3.-license.)\nin the Google Maps Platform Terms of Service.\n\n\n*** ** * ** ***"]]