Hugging Face provider plugin for Umbraco.AI, giving access to hundreds of open-weights models served by the Hugging Face Inference Providers router.
- Inference Providers Router — single endpoint (
https://router.huggingface.co/v1) routes to Cerebras, Together, Fireworks, SambaNova, Groq, Replicate, and more - Chat Completions — streaming and non-streaming chat against any conversational model on the Hub
- Model Discovery — fetches the list of available chat models directly from
/v1/models - Routing Suffixes — supports
model-id:fastest,:cheapest,:preferred, or:provider-nameto control how the request is routed - Custom Endpoint — point at a self-hosted OpenAI-compatible gateway if needed
The provider has no dependency on Umbraco.AI.OpenAI; it talks to the Hugging Face router via the OpenAI-compatible
schema using Microsoft.Extensions.AI.OpenAI.
This package is part of the Umbraco.AI monorepo. For local development, see the monorepo setup instructions in the root README.
dotnet add package Umbraco.AI.HuggingFace- Umbraco CMS 17.0.0+
- Umbraco.AI 1.0.0+
- .NET 10.0
- A Hugging Face access token with the Make calls to Inference Providers permission
After installation, create a connection in the Umbraco backoffice:
- Navigate to the AI section
- Create a new Hugging Face connection
- Paste your Hugging Face access token
- Create a profile that uses this connection
{
"ApiKey": "hf_..."
}The full list comes back live from GET /v1/models on the router and varies as Hugging Face partners add or
retire models. Examples that have been broadly available:
openai/gpt-oss-120bmeta-llama/Meta-Llama-3.1-70B-Instructdeepseek-ai/DeepSeek-R1Qwen/Qwen2.5-72B-Instructmistralai/Mistral-Small-24B-Instruct-2501
Append a routing suffix to influence provider selection, e.g. openai/gpt-oss-120b:fastest or
deepseek-ai/DeepSeek-R1:sambanova.
- CLAUDE.md — Development guide and technical details
- Root CLAUDE.md — Shared coding standards and conventions
- Contributing Guide — How to contribute to the monorepo
This project is licensed under the MIT License. See LICENSE.md for details.