Sản phẩm hoặc tính năng này đang ở trạng thái Cũ. Để biết thêm thông tin về giai đoạn Cũ và cách di chuyển từ các dịch vụ Cũ sang các dịch vụ mới hơn, hãy xem phần Các sản phẩm và tính năng 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.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\u003cp\u003eThe Distance Matrix API is priced on a pay-as-you-go basis, charging per element, which is calculated by multiplying the number of origins by the number of destinations in a request.\u003c/p\u003e\n"],["\u003cp\u003eThere are two SKUs for billing: Distance Matrix (basic requests) and Distance Matrix Advanced (requests using traffic information or location modifiers), each having its own pricing tier.\u003c/p\u003e\n"],["\u003cp\u003eWhile there is no daily limit on the total number of elements, the API has usage restrictions on the maximum number of origins, destinations, and elements per request, as well as a rate limit of 60,000 elements per minute.\u003c/p\u003e\n"],["\u003cp\u003eUsers can manage their costs by setting daily quota limits for the Distance Matrix API within the Google Cloud Console, ensuring their application's usage stays within budget.\u003c/p\u003e\n"],["\u003cp\u003eYou must enable billing on your projects and include an API key or OAuth token for all API requests to utilize the Distance Matrix API.\u003c/p\u003e\n"]]],["The Distance Matrix API requires enabled billing and an API key or OAuth token. It uses a pay-as-you-go model, with costs based on SKU usage, either basic or advanced. The advanced SKU includes traffic and location modifiers. Usage limits include maximums of 25 origins/destinations, 100 elements per request, and 60,000 elements per minute. Users can manage costs by setting daily quota limits in the Google Cloud console and utilize the $200 monthly credit until March 1, 2025.\n"],null,["# Distance Matrix API Usage and Billing\n\n| **Reminder:** To use the Distance Matrix 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/distance-matrix/get-api-key) or OAuth token with all API or SDK requests.\nDistance Matrix API requests generate calls to one of two SKUs depending on the type of request: [basic](#distance-matrix-ess-sku) or [advanced](#distance-matrix-pro-sku).\n\nSKU details and pricing for the Distance Matrix API\n---------------------------------------------------\n\nThe following table shows the SKU details and pricing for the Distance Matrix API.\n\n| Category | SKU Details | SKU Pricing |\n|----------------|---------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Essentials** | [SKU: Distance Matrix](/maps/billing-and-pricing/sku-details#distance-matrix-ess-sku) | [Main pricing list](/maps/billing-and-pricing/pricing#routes-legacy-pricing) [India pricing list](/maps/billing-and-pricing/pricing-india#routes-legacy-pricing) |\n| **Pro** | [SKU: Distance Matrix Advanced](/maps/billing-and-pricing/sku-details#distance-matrix-advanced-pro-sku) | [Main pricing list](/maps/billing-and-pricing/pricing#routes-legacy-pricing) [India pricing list](/maps/billing-and-pricing/pricing-india#routes-legacy-pricing) |\n\n\nUsage limits\n------------\n\nWhile there is no maximum number of elements per day (EPD), the following\nusage limits are in place for the Distance Matrix API:\n\n- Maximum of 25 origins or 25 destinations per request.\n- Maximum 100 elements per server-side request.\n- Maximum 100 elements per [client-side](/maps/documentation/javascript/distancematrix) request.\n- Elements per minute are calculated as the sum of [client-side](/maps/documentation/javascript/distancematrix) and server-side queries. To look up the per-minute quota, see [Quotas and quota alerts](/maps/billing-and-pricing/manage-costs#quotas).\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\nTerms of Use restrictions\n-------------------------\n\nFor information on terms of use, see\n[policies for the Distance Matrix API](/maps/documentation/distance-matrix/policies), and the\n[License Restrictions section](https://cloud.google.com/maps-platform/terms/#3.-license.)\nof the Google Maps Platform Terms of Service. \n\n*** ** * ** ***"]]