Bitten Sie Ihren Administrator, Ihnen die IAM-Rolle Billing Account Viewer (roles/billing.viewer) für das Projekt zuzuweisen, um die Berechtigungen zu erhalten, die Sie zum Aufrufen und Ansehen von Cloud-Rechnungsberichten benötigen.
Weitere Informationen zum Zuweisen von Rollen finden Sie unter Zugriff auf Projekte, Ordner und Organisationen verwalten.
Für die Verwendung von Batch fallen keine zusätzlichen Kosten an. Es fallen nur Kosten für kostenpflichtige Google Cloud Ressourcen an, die von Batch-Jobs verwendet werden.
Sie können die Kosten für Ihre Batch-Jobs mit Cloud Billing-Berichten einsehen. Weitere Informationen finden Sie in diesem Dokument unter Cloud Billing-Berichte ansehen.
Cloud Billing-Berichte ansehen und filtern
Sie können Cloud Billing-Berichte aufrufen, um die mit Batch verbundenen Kosten zu analysieren.
Optional können Sie einen Cloud-Abrechnungsbericht nach bestimmten Kosten filtern, indem Sie ein oder mehrere der Labels angeben, die für die Ressourcen eines Jobs definiert sind:
Damit Sie die Google Cloud -Ressourcen und -Kosten für Batch und bestimmte Jobs besser nachvollziehen können, werden automatisch vordefinierte Labels auf alle GPUs, persistenten Datenträger und VM-Instanzen angewendet, die für einen Job erstellt wurden.
Außerdem können Sie optional benutzerdefinierte Labels für einen Job und jede der dafür erstellten GPUs, persistenten Laufwerke und VMs definieren.
Die VM-Instanzen, die für einen Job erstellt wurden.
Für Ihre Batch-Jobs fallen möglicherweise weiterhin Kosten an, die in Ihrem Cloud-Abrechnungsbericht aufgeführt sind, aber nicht speziell angezeigt werden, wenn Sie nach Batch-Labels filtern. Batchfilter für einen Cloud Billing-Bericht enthalten beispielsweise keine Kosten, die durch Batchjobs für Cloud Logging, Speicherdienste wie Cloud Storage und Filestore sowie einige Netzwerkgebühren anfallen.
Abrechnungsbericht für Batch-Kosten ansehen und filtern
So rufen Sie einen Cloud Billing-Bericht für die Kosten der Compute Engine-Ressourcen auf, die für Ihre Jobs mit derGoogle Cloud Console erstellt wurden, und filtern ihn:
Cloud Billing-Bericht ansehen:
Rufen Sie in der Google Cloud Console die Seite Abrechnung auf.
Wählen Sie in der Liste Schlüssel 1 ein vorhandenes benutzerdefiniertes Label aus.
Wählen Sie in der Liste Wert 1 einen oder mehrere Werte aus.
Nachdem Sie einen Filter angegeben haben, kann es einige Sekunden dauern, bis der Cloud Billing-Bericht aktualisiert ist.
Optional: Wenn Sie weitere Labels zum Filtern eines Cloud-Abrechnungsberichts angeben möchten, klicken Sie auf addLabel hinzufügen und wiederholen Sie den vorherigen Schritt.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-12 (UTC)."],[[["\u003cp\u003eUsing Batch itself has no additional cost; charges are only incurred for the Google Cloud resources used by Batch jobs.\u003c/p\u003e\n"],["\u003cp\u003eCloud Billing reports can be used to review the costs associated with Batch jobs, allowing for a clear overview of expenses.\u003c/p\u003e\n"],["\u003cp\u003eBatch automatically applies predefined labels to GPUs, persistent disks, and VM instances created for jobs to help clarify associated costs.\u003c/p\u003e\n"],["\u003cp\u003eYou can filter Cloud Billing reports by job name, unique ID (UID), or a specific label, including custom labels, to pinpoint costs for specific jobs or resources.\u003c/p\u003e\n"],["\u003cp\u003eFiltering only includes the costs of the GPUs, persistent disks, and VM instances used for the job, not other services like Cloud Logging or Cloud Storage.\u003c/p\u003e\n"]]],[],null,["# Pricing\n\nThis document explains pricing for Batch, including the following:\n\n- The costs associated with Batch.\n\n- How to filter [Cloud Billing reports](/billing/docs/reports) for\n Batch costs.\n\nBefore you begin\n----------------\n\n1. If you haven't used Batch before, review [Get started with Batch](/batch/docs/get-started) and enable Batch by completing the [prerequisites for projects and users](/batch/docs/get-started#prerequisites).\n2.\n\n To get the permissions that\n you need to access and view Cloud Billing reports,\n\n ask your administrator to grant you the\n\n\n [Billing Account Viewer](/iam/docs/roles-permissions/billing#billing.viewer) (`roles/billing.viewer`)\n IAM role on the project.\n\n\n For more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\n You might also be able to get\n the required permissions through [custom\n roles](/iam/docs/creating-custom-roles) or other [predefined\n roles](/iam/docs/roles-overview#predefined).\nFor more information, see [Permissions required to access reports](/billing/docs/how-to/reports#required-permissions).\n\n\u003cbr /\u003e\n\nBatch costs\n-----------\n\nThere is no additional cost for using Batch. You only incur\ncharges for any billable Google Cloud resources that are used by\nBatch jobs.\n\nYou can review the costs associated with your Batch jobs by\nusing Cloud Billing reports. For more information, see\n[View Cloud Billing reports](#view-billing-reports) in this document.\n\nView and filter Cloud Billing reports\n-------------------------------------\n\nYou can view Cloud Billing reports to analyze the costs tied to\nBatch.\n\nOptionally, you can filter a Cloud Billing report for specific costs by\nspecifying one or more of the labels that are defined for a job's resources:\n\n- To help you clarify the Google Cloud resources and costs tied to\n Batch and specific jobs, Batch\n automatically applies predefined labels to all of the GPUs, persistent disks,\n and virtual machine (VM) instances created for a job.\n\n- Additionally, you can optionally define custom labels for a job and each of\n the GPUs, persistent disks, and VMs created for it.\n\nFor more information about labels, see\n[Organize resources using labels](/batch/docs/organize-resources-using-labels).\n\n### Restrictions\n\nWhen you filter a Cloud Billing report for Batch\ncosts, the report only displays the costs of the following Google Cloud\nresources:\n\n- The [graphics processing units (GPUs)](/batch/docs/create-run-job-gpus) used\n for a job (if any).\n\n- The persistent disks ([boot disks](/compute/docs/disks/create-root-persistent-disks)\n and any new [storage volumes](/batch/docs/create-run-job-storage))\n created for a job.\n\n- The virtual machine (VM) instances created for a job.\n\nYour Batch jobs might still incur costs that appear on your\nCloud Billing report, but do not appear specifically when filtering on\nBatch labels. For example, Batch filters for a\nCloud Billing report do not include costs incurred by\nBatch jobs for Cloud Logging, storage services such as\nCloud Storage and Filestore, and some networking charges.\n\n### View and filter a Billing report for Batch costs\n\nTo view and filter a Cloud Billing report for the costs of the\nCompute Engine resources created for your jobs using the\nGoogle Cloud console, follow these steps:\n\n1. View a Cloud Billing report:\n\n 1. In the Google Cloud console, go to the **Billing** page.\n\n [Go to Billing](https://console.cloud.google.com/billing/overview)\n 2. In the **Billing account** list, select the Cloud Billing\n account for which you'd like to view reports.\n\n The **Overview** page opens.\n 3. In the **Cost management** section of the **Billing** navigation menu,\n click the bar_chart **Reports** tab.\n\n The **Reports** page opens.\n2. Optional: Filter the Cloud Billing report for specific\n Batch costs using one or more labels:\n\n 1. In the **Filters** pane, expand **Labels**, and then specify one of the\n following labels:\n\n - To filter by job name, follow these steps:\n\n 1. In the **Key 1** list, select **batch-job-id**.\n\n 2. In the **Value 1** list, select one or more job names.\n\n - To filter by job unique ID (UID), follow these steps:\n\n 1. In the **Key 1** list, select **batch-job-uid**.\n\n 2. In the **Value 1** list, select one or more UIDs.\n\n - To filter by all the GPUs, persistent disks, and VMs created for\n your Batch jobs, follow these steps:\n\n - In the **Key 1** list, select **batch-node**.\n\n The **Value 1** list only has one available option, which is\n automatically selected.\n - To filter by a\n [customly defined label](/batch/docs/organize-resources-using-labels#define-labels),\n follow these steps:\n\n 1. In the **Key 1** list, select an existing custom label.\n\n 2. In the **Value 1** list, select one or more values.\n\n After you specify a filter, it might take a few seconds for the\n Cloud Billing report to finish updating.\n 2. Optional: To specify more labels to filter a Cloud Billing\n report, click add **Add label**, and\n then repeat the previous step.\n\nFor more information about customizing a Cloud Billing report view, see\n[Manage report view and settings](/billing/docs/how-to/reports#filtering_and_grouping)."]]