Pricing

This document explains pricing for Batch, including the following:

Before you begin

Batch costs

There is no additional cost for using Batch. You only incur charges for any billable Google Cloud resources that are used by Batch jobs.

You can review the costs associated with your Batch jobs by using Cloud Billing reports. For more information, see View Cloud Billing reports in this document.

View and filter Cloud Billing reports

You can view Cloud Billing reports to analyze the costs tied to Batch.

Optionally, you can filter a Cloud Billing report for specific costs by specifying one or more of the labels that are defined for a job's resources:

  • To help you clarify the Google Cloud resources and costs tied to Batch and specific jobs, Batch automatically applies predefined labels to all of the GPUs, persistent disks, and virtual machine (VM) instances created for a job.

  • Additionally, you can optionally define custom labels for a job and each of the GPUs, persistent disks, and VMs created for it.

For more information about labels, see Organize resources using labels.

Restrictions

When you filter a Cloud Billing report for Batch costs, the report only displays the costs of the following Google Cloud resources:

Your Batch jobs might still incur costs that appear on your Cloud Billing report, but do not appear specifically when filtering on Batch labels. For example, Batch filters for a Cloud Billing report do not include costs incurred by Batch jobs for Cloud Logging, storage services such as Cloud Storage and Filestore, and some networking charges.

View and filter a Billing report for Batch costs

To view and filter a Cloud Billing report for the costs of the Compute Engine resources created for your jobs using the Google Cloud console, follow these steps:

  1. View a Cloud Billing report:

    1. In the Google Cloud console, go to the Billing page.

      Go to Billing

    2. In the Billing account list, select the Cloud Billing account for which you'd like to view reports.

      The Overview page opens.

    3. In the Cost management section of the Billing navigation menu, click the Reports tab.

      The Reports page opens.

  2. Optional: Filter the Cloud Billing report for specific Batch costs using one or more labels:

    1. In the Filters pane, expand Labels, and then specify one of the following labels:

      • To filter by job name, follow these steps:

        1. In the Key 1 list, select batch-job-id.

        2. In the Value 1 list, select one or more job names.

      • To filter by job unique ID (UID), follow these steps:

        1. In the Key 1 list, select batch-job-uid.

        2. In the Value 1 list, select one or more UIDs.

      • To filter by all the GPUs, persistent disks, and VMs created for your Batch jobs, follow these steps:

        • In the Key 1 list, select batch-node.

          The Value 1 list only has one available option, which is automatically selected.

      • To filter by a customly defined label, follow these steps:

        1. In the Key 1 list, select an existing custom label.

        2. In the Value 1 list, select one or more values.

      After you specify a filter, it might take a few seconds for the Cloud Billing report to finish updating.

    2. Optional: To specify more labels to filter a Cloud Billing report, click Add label, and then repeat the previous step.

For more information about customizing a Cloud Billing report view, see Manage report view and settings.