Self-hosted ChatGPT alternative: run your own AI chat with LibreChat

The ChatGPT interface is convenient and locked to one company's models, one company's servers, and one company's view of your conversation history. LibreChat is the self-hosted alternative: one polished chat interface you own, that talks to whichever AI models you choose — and keeps the conversations on your side.
What LibreChat is
LibreChat is an open-source, ChatGPT-style web app — and its trick is that it isn't tied to a single model. Point it at the providers you want and switch between them in the same conversation:
- Every major model, one interface — OpenAI's GPT, Anthropic's Claude, Google's Gemini, and others, side by side (you bring your own API keys).
- Local models too — connect it to a local LLM runner and chat with models that never leave your network.
- Multi-user, so a household or team shares one instance with their own accounts and histories.
- A genuinely good UI — conversation branching, presets, prompt templates, and search over your own history.
Why self-host your AI chat?
- Your conversations are yours. History lives in your database, not a provider's account you don't control.
- One interface, many models. Stop paying for several chat subscriptions; pay per-token through APIs and use one app for all of them — often cheaper for moderate use.
- Model choice and flexibility. Use the best model for each task, or a private local model for sensitive work, without switching apps.
- Share it, control it. Give your family or team access on your terms.
One honest note: unless you're running local models, the messages still go to whichever provider's API you pointed at — LibreChat is the interface and the history, not a way to make a cloud model private. What it gives you is control of the front door and the record, plus the freedom to switch models or go local whenever you want.
How to deploy it
LibreChat is a small stack — the app and a database, behind TLS on a domain — plus the API keys for whichever providers you want to use. Once it's up, you add your keys in the config, create accounts, and start chatting. On a VPS that's a straightforward setup and the usual updates and backups; or deploy LibreChat in one click, paste in your keys, and have your own private AI chat running in minutes.
Deploy LibreChat → — or browse the full catalog of apps you can host and own.