Compute Routes và Compute Route Matrix mỗi API có 3 SKU để xác định chi phí của một yêu cầu. SKU được dùng để xác định chi phí dựa trên dịch vụ mà bạn yêu cầu, Compute Routes hoặc Compute Route Matrix, và các tính năng mà bạn sử dụng trong yêu cầu.
Ví dụ:
Các yêu cầu Compute Routes được tính phí cho mỗi Yêu cầu.
Yêu cầu Compute Route Matrix được tính phí theo ELEMENT được trả về từ yêu cầu. Số lượng phần tử là số lượng điểm xuất phát nhân với số lượng điểm đến. Ví dụ: nếu một yêu cầu chứa hai điểm xuất phát và ba điểm đến, thì yêu cầu đó sẽ được tính phí cho sáu phần tử.
Các tính năng bạn sử dụng sẽ xác định danh mục SKU được tính phí:
Essentials: Tính phí cho các yêu cầu chỉ sử dụng các tính năng cơ bản với tối đa 10 điểm tham chiếu trung gian.
Pro: Tính phí cho các yêu cầu sử dụng một tính năng nâng cao, chẳng hạn như công cụ sửa đổi tuyến đường TRAFFIC_AWARE hoặc TRAFFIC_AWARE_OPTIMAL.
Doanh nghiệp: Tính phí cho các yêu cầu sử dụng một tính năng dành cho doanh nghiệp, chẳng hạn như tính năng định tuyến cho xe hai bánh.
Hãy xem thông tin chi tiết về SKU để biết danh sách đầy đủ các tính năng kích hoạt những SKU này.
Thông tin chi tiết về SKU và giá của Routes API
Bảng sau đây cho biết thông tin chi tiết về SKU và giá của Routes API.
Giới hạn số lần yêu cầu là 3.000 truy vấn mỗi phút.
Số lượng tối đa cho phép của các điểm tham chiếu trung gian cho mỗi yêu cầu ComputeRoutes là 25.
Tính toán ma trận tuyến đường
Hạn mức tốc độ là 3.000 phần tử EPM mỗi phút, được tính bằng số lượng nguồn nhân với số lượng đích đến.
Số lượng điểm xuất phát và điểm đến tối đa mà bạn có thể chỉ định bằng cách sử dụng mã địa điểm hoặc địa chỉ là 50.
Tổng số phần tử tối đa được phép cho mỗi yêu cầu ComputeRouteMatrix có routingPreference được đặt thành TRAFFIC_AWARE_OPTIMAL là 100.
Tổng số phần tử tối đa được phép cho mỗi yêu cầu ComputeRouteMatrix có travelMode được đặt thành TRANSIT là 100.
Tổng số phần tử tối đa được phép cho mỗi yêu cầu ComputeRouteMatrix là 625.
Điều chỉnh hạn mức
Hạn mức xác định số lượng yêu cầu tối đa được phép cho một API hoặc dịch vụ cụ thể trong một khung thời gian nhất định. Khi số lượng yêu cầu trong dự án của bạn đạt đến hạn mức, dịch vụ của bạn sẽ ngừng phản hồi các yêu cầu.
Để sửa đổi giá trị hạn mức cho API của bạn, hãy làm theo các bước sau:
Trong Bảng điều khiển đám mây, hãy chuyển đến Nền tảng Google Maps > Hạn mức.
Chọn API mà bạn muốn sửa đổi hạn mức.
Xác định giá trị hạn mức mà bạn muốn thay đổi, rồi chọn giá trị đó bằng hộp đánh dấu.
Nhấp vào Chỉnh sửa, nhập giá trị hạn mức mới rồi nhấp vào Gửi yêu cầu.
Xem yêu cầu tăng hạn mức
Cách xem tất cả yêu cầu tăng hạn mức, bao gồm cả yêu cầu trước đây và yêu cầu đang chờ xử lý:
Trong Bảng điều khiển đám mây, hãy chuyển đến Nền tảng Google Maps > Hạn mức.
Chọn API mà bạn muốn xem yêu cầu tăng hạn mức.
Nhấp vào Tăng số yêu cầu.
Quy định hạn chế theo Điều khoản sử dụng
Để biết thông tin đầy đủ về việc sử dụng được phép, hãy tham khảo phần Giới hạn về giấy phép trong Điều khoản dịch vụ của Nền tảng Google Maps.
[null,null,["Cập nhật lần gần đây nhất: 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*** ** * ** ***"]]