Pricing and Rate limits

As a HF user, you get monthly credits to run the HF Inference API. The amount of credits you get depends on your type of account (Free or PRO or Enterprise Hub), see table below. You get charged for every inference request, based on the compute time x price of the underlying hardware.

For instance, a request to black-forest-labs/FLUX.1-dev that takes 10 seconds to complete on a GPU machine that costs $0.00012 per second to run, will be billed $0.0012.

When your monthly included credits are depleted:

Note that serverless API is not meant to be used for heavy production applications. If you need to handle large numbers of requests, consider Inference Endpoints to have dedicated resources.

You need to be authenticated (passing a token or through your browser) to use the Inference API.

User Tier Included monthly credits
Free Users subject to change, less than $0.10
PRO and Enterprise Users $2.00
< > Update on GitHub