Open source alternatives to DeepSeek
DeepSeek's chat app stores your data in China and uses it for training unless you opt out. Because DeepSeek publishes its models under the MIT license, you can run them on your own hardware with Ollama or llama.cpp, or keep the hosted model and use a self-hosted chat app with your own API key.
8 alternatives, sorted by GitHub stars as of 6 December 2026. Reviewed .
-
Ollama
Run open models on your own computer and serve them to chat apps and tools through a local API
-
llama.cpp
C/C++ engine for running GGUF models on almost any CPU or GPU, with a built-in web chat and API server
-
NextChat
Lightweight chat client for many model APIs, deployed on Vercel or Docker or installed as a desktop app
-
AnythingLLM
Chat with your documents and run agents on local or hosted models, as a desktop app or Docker server
-
LibreChat
Self-hosted, multi-user AI chat with agents, MCP, web search and SSO across most model providers
-
Jan
Desktop AI assistant that runs local models or connects to cloud providers, with projects and web search
-
Chatbox Community Edition
Desktop chat client for 30+ model providers and local Ollama or LM Studio models
-
Big-AGI
Browser-first AI workspace that compares and merges answers from several models at once
Compare at a glance
| App | License | Self-hosting needs | Hosted version | Last commit |
|---|---|---|---|---|
| AnythingLLM | MIT* | Nothing beyond the app | Yes | today |
| Big-AGI | MIT* | Nothing beyond the app | Yes | today |
| Chatbox Community Edition | GPL-3.0* | Nothing beyond the app | Yes | today |
| Jan | Apache-2.0* | Nothing beyond the app | No | 17 days ago |
| LibreChat | MIT* | MongoDB, Meilisearch, PostgreSQL (pgvector), RAG API | No | yesterday |
| llama.cpp | MIT | Nothing beyond the app | No | today |
| NextChat | MIT* | Nothing beyond the app | Yes | 2 months ago |
| Ollama | MIT* | Nothing beyond the app | Yes | yesterday |
An asterisk marks a license with exceptions, such as proprietary directories or paid plugins; see the app page.
What DeepSeek does
DeepSeek is a Chinese AI company that runs a chat assistant on the web and in a mobile app, an API platform and a desktop tool called Harness. The chat app uses its current model, DeepSeek V4.1 Flash, and offers a DeepThink mode for step-by-step reasoning and a Search mode for answers based on the web. Unlike most hosted assistants, DeepSeek also publishes its models’ weights: DeepSeek-R1 and the V4 models come under the MIT license, which allows commercial use, modification and distillation.
Why people look for an alternative
- Data stored in China. The privacy policy (updated February 10, 2026) states that DeepSeek collects, processes and stores personal data in the People’s Republic of China, and the terms of use are governed by mainland Chinese law, with disputes heard by courts where the company is registered in Hangzhou.
- Training unless you opt out. DeepSeek uses inputs and outputs, de-identified, to improve its services and models. The terms describe an “Improve the model for everyone” setting to turn this off, and the privacy policy also accepts opt-out requests at a privacy email address.
- Long retention. Account data, inputs and payment data are kept for as long as you have an account. You can copy or delete your chat history in the settings.
- No self-hosted version of the app. The chat service runs only on DeepSeek’s servers. The models are open, but the app, its search and its history are not.
Running DeepSeek models yourself
The open weights change the usual picture. The full models are very large: DeepSeek V4 Flash has 284 billion parameters (13 billion active per token) and V4 Pro 1.6 trillion, which needs server-class GPUs. Ollama lists V4 Pro and V4.1 Flash only as cloud models, though DeepSeek points to community GGUF builds for llama.cpp and Ollama. Older V3 and V3.1 (671B) are in Ollama’s library for local use, again on large hardware.
On a typical PC or Mac, people run the distilled R1 models: Ollama’s deepseek-r1 comes in 1.5B, 7B, 8B, 14B, 32B and 70B versions, alongside the full 671B model. These are Qwen 2.5, Qwen3 and Llama models fine-tuned on R1’s reasoning, so they think in R1’s style but are much less capable than DeepSeek’s hosted model, and the Llama-based ones also carry Meta’s Llama license terms.
What to compare in an alternative
- Local or hosted model. A distilled model on your hardware keeps everything private; DeepSeek’s API gives the full model, but your prompts still go to DeepSeek.
- Native DeepSeek provider. Whether the app supports DeepSeek’s API directly or only as a custom OpenAI-compatible endpoint.
- Reasoning display. Whether the app shows or hides the model’s thinking, which R1-style models produce at length.
- Hardware. GPU or unified memory for the model size you pick.
- Users. A personal desktop app or a multi-user server.
Which one to choose
To run DeepSeek models on your own machine, Ollama is the simplest route (ollama run deepseek-r1) and serves them to other apps, while llama.cpp runs any DeepSeek GGUF build and has its own web chat. Jan is a desktop app with llama.cpp built in, and connects to the DeepSeek API through a custom endpoint. AnythingLLM has a built-in engine and DeepSeek as a native provider, with document workspaces. For a shared server, LibreChat supports DeepSeek as a known endpoint alongside local models and other providers, with accounts and SSO. Chatbox, Big-AGI and NextChat are lighter clients with a DeepSeek provider built in. Whichever interface you use, only a local model keeps prompts off DeepSeek’s servers.
Other apps in the same category. They are not listed as DeepSeek alternatives, but one may suit you if you need only part of what it does.
-
Self-hosted AI server for text, speech, image and video models behind OpenAI-compatible APIs, with a web UI
- Stars
- 50.7k
- Last commit
- today
- License
- MIT
-
Offline app for chatting with local models, with many backends, web search, training and image generation
- Stars
- 47.8k
- Last commit
- 4 months ago
- License
- AGPL-3.0
-
Self-hosted research notebook for your sources, with cited chat, notes and multi-speaker podcasts
- Stars
- 42.5k
- Last commit
- 4 days ago
- License
- MIT
-
Self-hosted answer engine, formerly Perplexica, that searches with SearXNG and cites its sources
- Stars
- 38.4k
- Last commit
- 4 days ago
- License
- MIT
-
Self-hosted personal AI that searches and answers from your notes, documents and the web
- Stars
- 38.4k
- Last commit
- 4 months ago
- License
- AGPL-3.0-or-later
-
Open source chat UI from Hugging Face, the code behind HuggingChat, for any OpenAI-compatible endpoint
- Stars
- 11.1k
- Last commit
- yesterday
- License
- Apache-2.0
DeepSeek is a product of Hangzhou DeepSeek Artificial Intelligence Co., Ltd. OpenSourcePicks is not affiliated with Hangzhou DeepSeek Artificial Intelligence Co., Ltd or with the projects listed. More tools in AI Chat & Local LLMs.