According to recent reports, we're thrilled to share that Groq is now a supported Inference Provider on the Hugging Face Hub! Groq joins our growing ecosystem, enhancing the breadth and capabilities of serverless inference directly on the Hub’s model pages. Inference Providers are also seamlessly integrated into our client SDKs (for both JS and Python), making it super easy to use a wide variety of models with your preferred providers.

Groq supports a wide variety of text and conversational models, including the latest open-source models such as Meta's Llama 4, Qwen's QWQ-32B, and many more.

At the heart of Groq's technology is the Language Processing Unit (LPU™), a latest type of end-to-end processing unit system that provides the fastest inference for computationally intensive applications with a sequential component, such as Large Language Models (LLMs). LPUs are designed to overcome the limitations of GPUs for inference, offering significantly lower latency and higher throughput. This makes them ideal for real-time AI applications.

In a recent development, groq offers fast AI inference for openly-available models. They provide an API that allows developers to easily integrate these models into their applications. It offers an on-demand, pay-as-you-go model for accessing a wide range of openly-available LLMs.

Sources indicate that you can now use Groq's Inference API as an Inference Provider on Huggingface. We're quite excited to see what you'll build with this fresh provider.

Read more about how to use Groq as Inference Provider in its dedicated documentation page.

See the list of supported models here.

The following example shows how to use Meta's Llama 4 using Groq as the inference provider. You can use a Hugging Face token for automatic routing through Hugging Face, or your own Groq API key if you have one.

Install huggingface_hub from source (see instructions). Official support will be released soon in version v0.33.0.

For direct requests, i.e. when you use the key from an inference provider, you are billed by the corresponding provider. For instance, if you use a Groq API key you're billed on your Groq account.

For routed requests, i.e. when you authenticate via the Hugging Face Hub, you'll only pay the standard provider API rates. There's no additional markup from us, we just pass through the provider costs directly. (In the future, we may establish revenue-sharing agreements with our provider partners.).

According to recent reports, crucial Note ‼️ PRO people get $2 worth of Inference credits every month. You can use them across providers. 🔥.

We also provide free inference with a small quota for our signed-in free people, but please upgrade to PRO if you can!

Recent findings suggest that we would love to get your feedback! Share your thoughts and/or comments here: https://huggingface.co/spaces/huggingface/HuggingDiscussions/discussions/49.

Groq’s integration as an Inference Provider on Hugging Face delivers ultra‑low latency and high‑throughput LPU‑powered inference for cutting‑edge open‑source LLMs — a game‑changer for real‑time AI deployments.

→ Read original article