Tính toán tuyến và Tính toán ma trận tuyến đều có 3 SKU xác định chi phí của một yêu cầu. SKU 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ụ:
Yêu cầu Tính toán tuyến được tính phí cho mỗi Yêu cầu.
Yêu cầu Tính toán ma trận tuyến được tính phí theo PHẦN TỬ được trả về từ yêu cầu. Số lượng phần tử là số lượng nguồn gốc nhân với số lượng đích đến. Ví dụ: nếu một yêu cầu chứa 2 nguồn gốc và 3 đích đến, thì yêu cầu đó sẽ được tính phí cho 6 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 trung gian.
Pro: Tính phí cho các yêu cầu sử dụng tính năng nâng cao, chẳng hạn như công cụ sửa đổi tuyến TRAFFIC_AWARE hoặc TRAFFIC_AWARE_OPTIMAL.
Doanh nghiệp: Tính phí cho các yêu cầu sử dụng tính năng dành cho doanh nghiệp, chẳng hạn như định tuyến 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 thấy thông tin chi tiết về SKU và giá của API Routes.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-05-12 UTC."],[[["The 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."],["Compute 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."],["Usage 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."],["You 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."]]],["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"]]