Stay organized with collections Save and categorize content based on your preferences.
The Cost Estimation API provides customer-specific estimates that include your discounts, such as those negotiated as part of a contract and those based on committed usage. These cost estimates can help you make more informed business decisions. For information on constructing your API request, and example cost estimates, see Get cost estimates for your workloads.
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
POST /v1beta/{billingAccount=billingAccounts/*}:estimateCostScenario Use custom pricing in the estimate, using a CostScenario with a defined billingAccount.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[[["The Cost Estimation API provides customer-specific cost estimates that incorporate discounts, including contract and committed usage discounts, to help inform business decisions."],["The service endpoint for the Cost Estimation API is `https://cloudbilling.googleapis.com`, and all URIs are relative to this endpoint."],["The API uses a Discovery Document available at `\u003chttps://cloudbilling.googleapis.com/$discovery/rest?version=v1beta\u003e` which can be used to create tools that interact with it."],["The API offers two main REST resources, `v1beta` and `v1beta.billingAccounts`, allowing cost estimation without or with a defined billing account respectively."],["You can estimate list prices without a defined `billingAccount` using `POST /v1beta:estimateCostScenario`, and use custom pricing with a defined `billingAccount` through `POST /v1beta/{billingAccount=billingAccounts/*}:estimateCostScenario`."]]],[]]