Provides model serving with a web UI and OpenAI-compatible APIs, plus training and benchmark tooling for conversational models such as Vicuna.
Overview
FastChat is an open platform for building, running, and judging large language model chatbots. It bundles training and evaluation code for conversational models, a distributed multi-model serving stack, and interfaces for both humans and API clients.
For inference, it supports many open chat models through command-line chat, multi-GPU loading, CPU-only mode, and hardware-specific backends including Apple Silicon, Intel XPU, and Ascend NPU where documented. Quantization options reduce memory for smaller GPUs.
Serving uses a controller, one or more model workers, and a Gradio web frontend so users chat in the browser. The same stack can power side-by-side arena-style comparisons and can proxy commercial API models when configured. REST endpoints follow OpenAI-compatible shapes for drop-in client use.
Evaluation centers on MT-Bench multi-turn judging, often with stronger models as automated judges. Fine-tuning recipes and data-handling notes support derivative models. Chatbot Arena has been operated on this serving architecture.
Key features
- Multi-model chat serving
- Gradio web chat UI
- OpenAI-compatible REST API
- Distributed controller and workers
- Broad open-model support
- MT-Bench evaluation flow
- Fine-tuning scripts
- Chatbot Arena-style battles
Use cases
- Self-hosted LLM chat API
- Local Vicuna-style inference
- Model benchmarking with MT-Bench
- Side-by-side model comparison UI
- Fine-tuning conversational models
Open-source alternative to
OpenAI API“FastChat provides OpenAI-compatible APIs for its supported models, so you can use FastChat as a local drop-in replacement for OpenAI APIs.” source