Most people treat HuggingChat as just a free, open-weights sandbox when they get tired of OpenAI's restrictions. That framing misses the point. At 365Finds, we look at HuggingChat as an entirely different architectural compromise: an interface that deliberately refuses to trap you inside a single model's worldview.
If you come directly from ChatGPT, your first reaction will likely be confusion. Where is the universal "Custom Instructions" toggle in user settings? How do you swap out the inference provider or test your system prompt against three rival open-source foundation models?
The answer depends on whether you are running on Hugging Face’s hosted web tier or self-hosting the open-source frontend. Here is how both workflows actually function, where they bite, and how we configure them at 365Finds.
1. Switching Models on the Hosted Web Interface
On the public instance at https://huggingface.co/chat/, Hugging Face manages the underlying inference infrastructure. You cannot plug raw third-party API keys or private cloud endpoints into the default consumer view. What you can do is switch the active foundation model across the leading open weights available in the catalog.
The Fast Path: In-Chat Model Selector
- Open HuggingChat.
- Look at the top header or sidebar navigation. The currently active model name is displayed as an active pill or dropdown (such as
meta-llama/Llama-3.3-70B-InstructorQwen/Qwen2.5-72B-Instruct). - Click the model name to open the model drawer.
- Select your target architecture. Starting a new session applies the newly selected model immediately.
Each model in HuggingChat routes through Hugging Face’s managed Inference Providers and dedicated Text Generation Inference (TGI) clusters. Hugging Face continuously rotates featured weights based on community traction, token throughput, and licensing.
2. Setting Custom System Prompts via Custom Assistants
HuggingChat does not offer a single global user-profile system prompt. We consider this a feature, not an omission. Forcing one system prompt across models with wildly different tokenizers, instruction-following tolerances, and safety guardrails is bad practice. A prompt that makes Command R+ sing often causes smaller architectures to degenerate into boilerplate.
Instead, HuggingChat implements system prompts through Assistants.
Step-by-Step: Creating a Custom-Prompted Assistant
- Sign In: Log into your Hugging Face account at
https://huggingface.co/chat/. Custom assistants require account binding so your prompt presets persist. - Access Assistants: Click Assistants in the left sidebar, or jump directly to
https://huggingface.co/chat/assistants. Click Create New Assistant. - Select Your Base Model: Pick the exact model architecture you want this persona to run on.
- Define the System Prompt: Locate the System Prompt / Instructions input field. This is the raw preprompt injected into the model's chat template before any user dialogue turns.
- Adjust Additional Parameters:
- Give the assistant a clear name and concise description.
- Toggle Web Search on or off depending on whether your prompt requires live retrieval or pure reasoning.
- Add optional starter prompts to test behavior.
- Save: Click Create Assistant. You can keep it private or share it publicly via direct URL.
Whenever you start a conversation from this Assistant in your sidebar, HuggingChat enforces your system prompt at the root context level. When you need to test the exact same prompt against a different model, duplicate the assistant, switch the base model dropdown, and run side-by-side comparisons.
3. Switching Inference Backends in Self-Hosted HuggingChat (chat-ui)
If your goal is literal backend swapping—routing requests to a local Ollama instance, an on-premises vLLM server, or an OpenAI-compatible endpoint like Together AI or Groq—you must step outside the public web app. HuggingChat runs entirely on the open-source repository huggingface/chat-ui.
In a self-hosted chat-ui instance, backend endpoints and base system prompts are defined inside your environment configuration (.env.local).
Pointing to an OpenAI-Compatible Inference Server
In your configuration file, define endpoints within the MODELS JSON array:
[
{
"name": "Local-Llama-3",
"displayName": "Llama 3.3 (Local vLLM)",
"preprompt": "You are a concise engineering assistant. Answer in technical terms without preamble.",
"endpoints": [
{
"type": "openai",
"baseURL": "http://127.0.0.1:8000/v1",
"apiKey": "your-local-or-remote-key"
}
],
"parameters": {
"temperature": 0.3,
"max_new_tokens": 2048
}
}
]
Supported Backend Types
The engine natively supports multiple backend adapters out of the box:
tgi: Native Hugging Face Text Generation Inference container.openai: Standard OpenAI-compatible completions and chat endpoints (vLLM, Ollama, LiteLLM, Groq, Together).anthropicandaws: Direct API integrations for hybrid enterprise topologies.
In this self-hosted environment, the preprompt key serves as the system prompt baseline for all standard chats under that model, while the Assistants feature remains available for ad-hoc user overrides.
365Finds Takeaways
HuggingChat separates interface from model lock-in. For regular browser tasks, stop trying to paste context preambles into every fresh prompt. Set up three or four purpose-built Assistants linked to different foundational models: one dense reasoning assistant on Qwen or Llama, and one creative drafting assistant on Mistral.
If you require proprietary inference routing, deploy chat-ui in a Docker container on your own hardware. The public interface is an open-model showcase, not a universal API proxy.