The Hugging Face Hub
A hub with hundreds of thousands of free, open-source models, plus libraries to run them.
Last updated
Analogy
npm for models. OpenAI is a paid SaaS API; Hugging Face is where you pick a package and run it yourself.
In an agent
Use it when a small, free or private model does a job better than paying an LLM API for every call.
Questions people ask
What is the Hugging Face Hub?
The Hugging Face Hub is a public site with hundreds of thousands of open models and datasets, plus libraries to run them. Think of it as npm for models: you pick a model and run it yourself, instead of paying a provider like OpenAI for every call to their API.
When should I use a Hugging Face model instead of OpenAI?
When a small, focused model can do the job: embeddings, classification or sentiment at high volume, or work on private data that must not leave your servers. For open-ended reasoning and tool calling, a large hosted model like OpenAI or Claude is usually still the better choice.