Wyznaczanie tras i macierz wyznaczania tras mają po 3 kody SKU, które określają koszt żądania. SKU używany do określania kosztu zależy od usługi, o którą prosisz, czyli Compute Routes lub Compute Route Matrix, oraz od funkcji, których używasz w żądaniu.
Na przykład:
Opłaty za żądania Compute Routes są naliczane za każde żądanie.
Opłaty za żądania Compute Route Matrix są naliczane za każdy ELEMENT
zwrócony w odpowiedzi na żądanie. Liczba elementów to liczba
źródeł pomnożona przez liczbę miejsc docelowych. Jeśli na przykład żądanie zawiera 2 źródła i 3 miejsca docelowe, zostanie naliczona opłata za 6 elementów.
Używane funkcje określają, do której kategorii SKU należy naliczyć opłatę:
Essentials: opłaty są naliczane za żądania, które korzystają tylko z podstawowych funkcji i mają maksymalnie 10 pośrednich punktów trasy.
Pro opłaty są naliczane za żądania korzystające z funkcji zaawansowanych, takich jak modyfikatory trasy TRAFFIC_AWARE lub TRAFFIC_AWARE_OPTIMAL.
Enterprise: opłaty są naliczane za żądania korzystające z funkcji dla firm, np. wyznaczanie tras dla pojazdów dwukołowych.
Aby zobaczyć pełną listę funkcji, które wywołują te kody SKU, zapoznaj się ze szczegółami kodu SKU.
Szczegóły kodów SKU i ceny interfejsu Routes API
W tabeli poniżej znajdziesz szczegóły dotyczące kodów SKU i cen interfejsu Routes API.
W przypadku interfejsu Routes API obowiązują te limity wykorzystania:
Wyznaczanie tras
Limit wynosi 3000 zapytań na minutę.
Maksymalna dozwolona liczba pośrednich punktów na trasie w przypadku ComputeRoutes żądania wynosi 25.
Macierz wyznaczania tras
Limit wynosi 3000 elementów EPM na minutę i jest obliczany jako iloczyn liczby punktów początkowych i liczby punktów docelowych.
Maksymalna dozwolona liczba miejsc początkowych i docelowych, które możesz określić za pomocą identyfikatora miejsca lub adresu, to 50.
Maksymalna dozwolona łączna liczba elementów na żądanie z parametrem routingPreference ustawionym na TRAFFIC_AWARE_OPTIMAL wynosi 100.ComputeRouteMatrix
Maksymalna dozwolona łączna liczba elementów na żądanie z parametrem ComputeRouteMatrix ustawionym na TRANSIT wynosi 100.travelMode
Maksymalna dozwolona łączna liczba elementów na żądanie to 625.ComputeRouteMatrix
Dostosowywanie limitu
Limity przydziału określają maksymalną liczbę żądań dozwolonych w przypadku konkretnego interfejsu API lub usługi w określonym przedziale czasu. Gdy liczba żądań w projekcie osiągnie limit, usługa przestanie odpowiadać na żądania.
Aby zmodyfikować wartość limitu interfejsu API:
W konsoli Cloud otwórz Google Maps Platform > Limity.
Wybierz interfejs API, dla którego chcesz zmodyfikować limit.
Odszukaj wartość limitu, którą chcesz zmienić, i zaznacz ją za pomocą pola wyboru.
Kliknij Edytuj, wpisz nową wartość limitu i kliknij Prześlij prośbę.
Wyświetlanie próśb o zwiększenie limitu
.
Aby wyświetlić wszystkie prośby o zwiększenie limitu, w tym te z przeszłości i oczekujące:
W konsoli Cloud otwórz Google Maps Platform > Limity.
Wybierz interfejs API, dla którego chcesz wyświetlić prośbę o zwiększenie limitu.
Kliknij Zwiększ liczbę próśb.
Ograniczenia wynikające z Warunków korzystania z usługi
Szczegółowe informacje o dozwolonym użytkowaniu znajdziesz w sekcji Ograniczenia licencji w Warunkach usługi Google Maps Platform.
[null,null,["Ostatnia aktualizacja: 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*** ** * ** ***"]]