HuggingChat is the fastest public sandbox for testing open-weight models without spinning up a local GPU or funding cloud API credits. At 365Finds, we routinely use it as our first benchmark when a new open-source checkpoint drops. However, its interface frequently confuses people who arrive expecting a clone of ChatGPT or an open client like Open WebUI.
Switching models is straightforward, but customizing system prompts works differently than most proprietary alternatives. HuggingChat separates basic model picking from persona configuration, relying on Model Settings for quick swaps and Assistants for tailored instructions and external tools. If you need to plug in arbitrary private endpoints or unsupported weights, you must look beyond the hosted web interface to its open-source foundation, chat-ui.
1. Switching the Active LLM Backend in the Web Interface
On the hosted HuggingChat platform (https://huggingface.co/chat/), Hugging Face manages inference infrastructure through Text Generation Inference (TGI) and serverless endpoints. You do not need an API key to switch between models.
[HuggingChat Header]
└── Current Model Dropdown (e.g., Llama 3.3 70B)
├── Click to view curated roster (Qwen 2.5, DeepSeek, Mistral, Command R+)
├── Activate model for subsequent prompts
└── Toggle "Omni" router for automatic task routing
Steps to Switch Models
- Open the model selector: Click the active model name displayed at the top of the chat panel, or click the Settings gear icon in the bottom-left sidebar and select Models.
- Review the available catalog: Hugging Face presents a curated roster of leading open-weight models, typically including Meta's Llama series, Qwen, DeepSeek, Mistral/Mixtral, and Cohere's Command R+.
- Select your engine: Click on the model card you want. The new model activates immediately for your current or subsequent chats.
- Using the Omni router: If you do not want to lock in a single model manually, selecting the built-in Omni option routes prompts automatically to the backend judged most suitable for that task.
365Finds notes a practical constraint: Hugging Face periodically updates this public catalog to reflect current open-source benchmarks and manage server capacity. If a specific legacy checkpoint disappears from the selector, it has been retired from the free hosting pool rather than broken in your account.
2. Customizing System Prompts via HuggingChat Assistants
Unlike ChatGPT, which provides a global "Custom Instructions" field in account settings, HuggingChat handles persistent system prompts through Assistants.
This design choice makes technical sense. Open-source models vary drastically in how they interpret system tokens, roles, and context boundaries. Binding system prompts to distinct assistants prevents one model's prompt format from breaking another's conversational coherence.
+-------------------------------------------------------------+
| Create New Assistant (huggingface.co/chat/assistants/new) |
| |
| 1. Name & Description: Define identity and purpose |
| 2. Base Model: Attach specific open-weight backend |
| 3. System Prompt: Input persistent behavioral rules |
| 4. User Start Prompts: Create quick action chips |
| 5. Community Tools: Attach up to 3 Hugging Face Spaces |
+-------------------------------------------------------------+
Step-by-Step Assistant Setup
- Navigate to Assistants: Click Assistants in the left sidebar, or visit
https://huggingface.co/chat/assistants. - Click Create New Assistant: Select the button at the top right (or go directly to
/chat/assistants/new). - Assign Identity: Enter an Assistant Name, a brief description, and optionally upload a custom avatar.
- Select Base Model: Choose which open-source LLM powers this assistant from the dropdown. 365Finds recommends choosing your base model based on task type: Llama 3.3 or Qwen 2.5 72B for reasoning and code; Command R+ for retrieval-heavy or document tasks.
- Enter System Prompt: Type your instructions into the System Prompt field. Define role, tone, formatting requirements (e.g., Markdown tables, concise bullet points), negative constraints (e.g., "Do not produce conversational filler"), and default language.
- Configure Start Prompts (Optional): Add pre-written prompt buttons that display when starting a new session with this assistant.
- Attach Community Tools (Optional): HuggingChat allows you to attach up to three public Hugging Face Spaces as functional tools, granting your assistant capabilities like web search, code execution, or image generation.
- Save and Launch: Choose whether to keep the assistant private or publish it to the community directory, then click Create.
Your new assistant appears in your personal sidebar. Starting a chat through it automatically wraps every prompt in your defined system instructions and executes them against your chosen model.
3. The Boundary: Hosted HuggingChat vs. Self-Hosted chat-ui
A frequent source of user frustration is attempting to point the hosted huggingface.co/chat interface toward a private local Ollama server, an internal vLLM cluster, or proprietary API keys. The hosted HuggingChat web application does not allow custom API endpoints.
To connect arbitrary model weights or private endpoints, you must deploy your own instance of chat-ui, the open-source repository that powers HuggingChat.
| Deployment Layer | Model Switching | System Prompt Customization | Custom Endpoint / Private Weights |
|---|---|---|---|
| Hosted HuggingChat | Curated catalog in web UI | Via Custom Assistants | No (Fixed to HF-hosted endpoints) |
| Hugging Face Pro | Curated catalog with higher rate limits | Via Custom Assistants | Dedicated compute priority only |
Self-Hosted chat-ui | Configured via MODELS environment file | Per-model default or Assistant UI | Yes (TGI, vLLM, Ollama, OpenAI-compatible APIs) |
When hosting chat-ui locally or on Hugging Face Spaces, you define backends in .env.local using standard JSON structures:
MODELS=`[
{
"name": "custom-vllm-model",
"displayName": "Internal Qwen 72B",
"parameters": {
"temperature": 0.3,
"max_new_tokens": 2048
},
"endpoints": [
{
"type": "openai",
"baseURL": "http://localhost:8000/v1"
}
]
}
]`
365Finds recommends using hosted HuggingChat for rapid zero-cost evaluation of state-of-the-art open weights, and migrating to a self-hosted chat-ui container when your workflow demands proprietary data isolation or specialized fine-tuned checkpoints.
HuggingChat free tiers enforce sliding rate limits per model based on real-time cluster load.