Hugging Face
The Git-based hub for open models, datasets and Spaces, with serverless Inference Providers, dedicated Inference Endpoints and Apache-2.0 libraries.
Hugging Face is the Git-based hub for open models, datasets and Spaces, plus two ways to run models: serverless Inference Providers, at provider prices with no markup and with chat models routed through OpenRouter since November 16, 2026, and dedicated Inference Endpoints. Its libraries, including Transformers and Datasets, are Apache-2.0.
Hugging Face runs the Hub, where open models, datasets and demos are published. The Hub is, in the company's words, "the central place to explore, experiment, collaborate and build technology with Machine Learning", and it is "Git based and designed for collaboration at its core": models, datasets and Spaces (hosted demos) are repositories you clone, version and push. Around the Hub sit two ways to run models, serverless Inference Providers and dedicated Inference Endpoints, plus a family of Apache-2.0 libraries led by Transformers.
It is aimed at AI engineers and developers who pick, test, fine-tune and serve open-weight models. Two recent changes matter if you last looked a while ago. Chat models on Inference Providers now route through OpenRouter (since November 16, 2026), and free accounts no longer receive monthly inference credits.
Highlights
- The Hub. Models, datasets and Spaces live as Git repositories. Spaces "are one of the most popular ways to share ML applications and demos with the world", and the CPU Basic and ZeroGPU hardware tiers are free.
- Inference Providers. Serverless access to "the best open models for text, image, video and audio, ready to call from your app or your coding agent, at the provider's price with no markup". The API is a "drop-in replacement for the OpenAI chat completions API", and for chat models "Routing is powered by OpenRouter".
- Inference Endpoints. "Deploy any ML model on dedicated and autoscaling infrastructure, right from the HF Hub. Secure, production-ready, with no cold starts."
- One token for the stack. "One Hugging Face token gives you the whole stack: storage, compute with Jobs, dedicated inference with Inference Endpoints and serverless inference with Inference Providers."
- Organization guardrails. Administrators "can also set a spending limit and disable a set of Inference Providers from the organization's settings".
- The libraries. Transformers ("the model-definition framework for state-of-the-art machine learning models", about 169,000 GitHub stars as of November 2026), Datasets, Diffusers, Tokenizers, Accelerate, PEFT, TRL, Sentence Transformers, smolagents ("a barebones library for agents that think in code"), Transformers.js, LeRobot, Text Embeddings Inference, Gradio, and huggingface_hub, which provides the
hfCLI. Every one is Apache-2.0.
In an AI-assisted workflow
A common path runs from the Hub to production in three steps. Shortlist models on the Hub. Prototype against Inference Providers with your Hugging Face token, since the OpenAI-compatible API means code written for that API needs little change. Then move steady or specialized traffic to an Inference Endpoint. A coding agent such as Claude Code or Junie can run the comparison step for you. A fictional example:
Compare three open chat models for summarizing support tickets. Call each
through Hugging Face Inference Providers using the OpenAI-compatible chat
completions API and my Hugging Face token from the environment. Run the 20
sample tickets in ./samples (fictional Acme data) and write a table of
output notes, latency and token counts. Never print or hard-code the token.To keep a record of those runs, W&B Weave traces each call's inputs, outputs, cost, token count and latency.
If you fine-tune the winner, the QLoRA fine-tune runner skill runs a 4-bit LoRA fine-tune from a prepared dataset, and the fine-tuning engineer agent checks that the result beats the prompted baseline. For the shortlisting and publishing ends of the same loop, see the open-model scout agent and the model card writer skill.
TIP
Set the organization's spending limit before you give a token to a coding agent. Inference Providers spends credits on every call, and an agent stuck in a retry loop can make many calls quickly.
Pricing
As of November 2026 Hugging Face's pricing page lists PRO at $9 per month, with 10× private storage, $2 of included inference credits monthly, 8× ZeroGPU quota with the highest queue priority, Spaces Dev Mode and the Dataset Viewer for private datasets. As of November 2026 Team costs $20 per user per month and adds SSO (SAML and OIDC), audit logs, Resource Groups and Storage Regions, while Enterprise is listed at $500 per user per month through sales. As of November 2026 the monthly Inference Providers credits are none for free users, $2.00 for PRO users and $2.00 per seat for Team or Enterprise, and those credits can also pay for Inference Endpoints, upgraded Spaces hardware and Jobs.
As of November 2026 Spaces run from free CPU Basic and ZeroGPU up to $0.40 an hour for an Nvidia T4 small and $2.50 an hour for an Nvidia A100 large. As of November 2026 dedicated Inference Endpoints start at $0.033 an hour, with an AWS-hosted NVIDIA H200 (141 GB) listed at $5.00 an hour. As of November 2026 storage costs $12 per TB per month for public repositories and $18 per TB per month for private ones, with volume discounts from 50 TB.
Good to know
- No markup on inference. "Hugging Face charges you the same rates as the provider, with no additional fees."
- The house provider is mostly CPU. "As of July 2025, hf-inference focuses mostly on CPU inference", so GPU-heavy chat models come from partner providers.
- TGI is archived. The text-generation-inference repository was archived after its last push on March 21, 2026. For serving open models yourself, see vLLM vs Ollama.
- safetensors moved. It now lives at github.com/safetensors/safetensors, outside the huggingface organization.
- Storage Buckets. OpenRouter can "send a trace of each request to a Hugging Face Storage Bucket you own", a Broadcast destination that is in beta as of November 2026.
- Platforms. The Hub is a web product, with the
hfCLI and Python and JavaScript SDKs alongside.
Replicate, Together AI, Modal and fal compete with its inference services, and Ollama is the option for running weights on your own machine. The LLM inference providers roundup compares the hosted options, and the open-source LLMs guide covers the model families you will find on the Hub. See all Hugging Face alternatives.
Frequently asked questions
- Is Hugging Face free?
- Partly. A free account can host static Spaces and, if it is in good standing, up to two ZeroGPU Spaces at no cost (other Gradio and Docker Spaces now need a paid plan), but as of November 2026 free accounts get no monthly Inference Providers credits, so serverless inference needs purchased credits. As of November 2026 the PRO plan costs $9 per month and includes $2 of inference credits each month, and Team costs $20 per user per month.
- What changed with Hugging Face Inference Providers in November 2026?
- Since November 16, 2026, chat models on Inference Providers run through OpenRouter. Hugging Face's docs say 'Routing is powered by OpenRouter', and OpenRouter's announcement says 'your existing Hugging Face token and code keep working' and that 160 models from 38 labs were available that way when the change was announced. Hugging Face still charges the provider's rate with no additional fees.
- What is the difference between Inference Providers and Inference Endpoints?
- Inference Providers is serverless: you call open models hosted by partner providers through an OpenAI-compatible API and pay the provider's rate. Inference Endpoints is dedicated: you deploy a model from the Hub on autoscaling infrastructure reserved for you, which Hugging Face describes as production-ready with no cold starts, billed by the hour.
- Which Hugging Face libraries matter most?
- The core set is Transformers ('the model-definition framework for state-of-the-art machine learning models'), Datasets, Tokenizers, Diffusers, Accelerate, PEFT, TRL, Sentence Transformers, smolagents ('a barebones library for agents that think in code'), Transformers.js, Gradio, and huggingface_hub, the official CLI and Python client for the Hub. All are Apache-2.0. Text Generation Inference (TGI) is archived, and safetensors now lives in its own GitHub organization.
Filed under
hugging-face · open-models · model-hub · inference · transformers · datasets
Related
- Model Card WriterWrite or update the Hugging Face model card for a fine-tuned model: the repo's README.md with a YAML metadata block (license, language, library_name, pipeline_tag, base_model, datasets, metrics, tags, and a model-index for eval results) followed by the sections of Hugging Face's model card template. Every value comes from the training config, dataset references, and eval output in the repo; anything the repo cannot support is written as [More Information Needed], and no eval number is ever invented. Use when publishing a fine-tune or adapter to the Hub, or when an existing card has no metadata, no limitations section, or scores nobody can trace.
- Open Model ScoutUse this agent to shortlist open-weight models on the Hugging Face Hub for a task under hard constraints (license, parameter count or GPU memory budget, context length, language, gated access). It queries the Hub with huggingface_hub or the hf CLI, reads each candidate's model card and license, and returns a comparison table with caveats. It is read-only and never quotes a benchmark number that is not on the card. Examples — "find an Apache-2.0 text-generation model under 10B parameters that handles Spanish", "which non-gated embedding models fit on one 24 GB GPU?", "shortlist code models with long context that we can use commercially".
- The Best LLM Inference Providers in 2026: Groq vs Together vs Fireworks vs Baseten and MoreGroq, Cerebras, Together AI, Fireworks AI, Baseten, Modal, fal and Replicate compared by workload, with 2026 ownership changes and OpenAI compatibility.
- ReplicateRun and deploy any open ML model — LLMs, image, video, audio — through one API with pay-per-second billing, and package your own with open-source Cog.
- Together AIA cloud for running, fine-tuning, and deploying open-source models (Llama, DeepSeek, Qwen) via an OpenAI-compatible API plus dedicated GPU endpoints.
- Best Open-Source LLMs in 2026: The Open-Weight Families ComparedThe open-weight LLM families current in October 2026, from DeepSeek and Qwen to Gemma 4 and Muse, with sizes, context, the exact licence and where to run them.
- OllamaAn open-source tool to run open-weight LLMs locally with a single command, including a local OpenAI-compatible API.
- Open WeightsAn open-weights model publishes its parameters for anyone to download and run — unlike API-only models — with licenses from permissive to restricted.