Skip to content
Hugging Face Blog·· 21 h前AI score42

Pay for Hugging Face Hub with your Google Cloud Account

Pay for Hugging Face Hub with your Google Cloud Account

AI introduction

Hugging Face organizations can now link a Google Cloud account and pay for Hub usage through Google Cloud billing, without adding a new vendor or corporate credit card.

Article · English

You can now link your Hugging Face organization to your Google Cloud account, so that your Hugging Face usage shows up on your Google Cloud bill instead of being charged to a credit card. Get started on the Google Cloud Marketplace.

Why pay through Google Cloud?

Hugging Face is where teams find, build and run open models: from hosting private models and datasets, to running GPU workloads with Jobs, deploying models with Inference Endpoints, calling thousands of models through Inference Providers, or hosting demos on GPU Spaces.

If your company already runs on Google Cloud, adding a new vendor and a corporate credit card just to use these services can slow things down. By linking your organization through the Google Cloud Marketplace:

  • One bill: your Hugging Face usage appears on your existing Google Cloud invoice, next to the rest of your cloud spend.
  • No new vendor to onboard: purchases go through your existing Google Cloud billing account and procurement process.
  • Everything is covered: upgrading your org to a Team or Enterprise subscription, pay-as-you-go compute (Jobs, Inference Endpoints, Inference Providers, GPU Spaces, ZeroGPU quota extension), and additional storage at public Hugging Face pricing.

If you're an admin of your Hugging Face organization, here's how to set it up, step by step.

1. Subscribe to Hugging Face on the Google Cloud Marketplace

Go to the Hugging Face Hub listing on the Google Cloud Marketplace, select the Google Cloud project you want to use, and click on "Subscribe".

Hugging Face Hub listing on the Google Cloud Marketplace

You are now on the subscription page. Select the billing account to be charged, review and accept the terms, then click "Subscribe".

Subscription page with billing account selection and terms

Once the order is placed, Google Cloud asks you to finish setting up your account with Hugging Face. Click on "Sign up with Hugging Face" to be redirected to Hugging Face.

Order request sent to Hugging Face, with a "Sign up with Hugging Face" button

2. Link your Hugging Face organization

You are now on Hugging Face, where you can select the organization you want to link to your Google Cloud account. Only organizations where you are an admin are listed. Select it and confirm.

Selecting the Hugging Face organization to link to the Google Cloud account

You are then redirected to the billing settings of your organization. The payment method section now shows the linked Google Cloud account, with a pending status.

Organization billing settings showing the linked Google Cloud account as pending

Every cloud marketplace subscription is reviewed by the Hugging Face team before paid usage starts being billed through it. While the subscription is pending, usage keeps being billed to the organization's existing payment method, if any.

3. Subscription approved

Once your subscription is approved, you will receive an email confirming that your Google Cloud account and Hugging Face organization are linked. Organizations that already have a credit card on file switch to cloud marketplace billing at the start of their next billing period. Organizations on the free tier with no credit card on file usually switch immediately, so their paid usage is billed through the cloud marketplace right away.

Email confirming the Marketplace account was approved as a payment method

To confirm it, open the billing settings of your organization: the Google Cloud account is now shown as the organization's active payment method.

Organization billing settings showing the Google Cloud account as the active payment method

Congratulations!

Your organization is now billed through your Google Cloud account. All members of your organization can use Hugging Face compute services, and the usage will show up on your Google Cloud bill.

A few things worth knowing:

  • Google Cloud replaces the credit card as the organization's payment method. Usage is metered and reported to Google Cloud, so adding credits is not available while the organization is billed through the marketplace.
  • Included credits still apply: if your organization has a Team or Enterprise subscription, the monthly included credits are applied before any pay-as-you-go usage is reported to Google Cloud.
  • Monitor your usage at any time from the billing section of your organization settings, and find the charges in the Billing reports of the Google Cloud console.
  • Linking and unlinking are audited: both actions are recorded in your organization's audit logs.

Thanks for reading! You can find more details in the billing documentation. If you have any questions, please contact us at [email protected].

Source: Hugging Face Blog · huggingface.co