LM Studio is a polished way to run local models, but it is closed source. Many people now want open code, a headless server or a lighter setup.
This guide is for LM Studio users who want to switch. Every tool below was checked on its official site or GitHub page on 5 December 2026.
- Why switch: open source code, a server with no GUI, containers, or a different licence.
- Best GUI swap: Jan, KoboldCpp, GPT4All or Msty.
- Best server swap: Ollama, llama.cpp, Docker Model Runner or LocalAI.
- Your models move easily: LM Studio stores plain GGUF files in
~/.lmstudio/models. - LM Studio itself: still has a $0 Free plan for local models, but the source is closed.
LM Studio today: licence and limits
LM Studio runs models on Windows, macOS and Linux with llama.cpp and MLX under the hood. It has a chat UI, a model browser, the lms command line and an OpenAI-compatible server.
The official pricing page lists a Free plan at $0 for running local models. Paid plans (Bionic+ at $20 a month, Pro at $100 a month) add cloud features tied to the new Bionic agent app.
Work use is a common question. LM Studio announced in July 2025 that it is free for work, with no form needed.
Warning: The current terms grant a licence for “personal and / or internal business purposes”. They also ban modifying, redistributing or reverse engineering the app. If you ship it inside a product or sell access to it, read the terms first or choose an open source tool.
System limits matter too. On Mac it needs Apple Silicon and macOS 14 or newer. Intel Macs are not supported. On Windows x64 it needs a CPU with AVX2.
Why people switch
- Open source: you can read, audit and fork the code.
- Headless use: run a server on a Linux box with no desktop.
- Containers: pin a version in Docker or Compose.
- Older hardware: Intel Macs and CPUs without AVX2 are not covered by LM Studio.
- Licence comfort: MIT, Apache or AGPL are well understood.
To be fair, LM Studio now has its own headless route. The headless docs describe llmster, a daemon you install with curl -fsSL https://lmstudio.ai/install.sh | bash and start with lms daemon up. It is still closed source, so the open source reasons stay valid.
Master comparison table
Checked 5 December 2026. Licences come from each project’s GitHub page. Latest versions come from the releases pages.
| Tool | Type | Licence | Price | Platforms | OpenAI-style API | Best for |
|---|---|---|---|---|---|---|
| LM Studio | GUI + CLI | Closed source | Free plan $0 | Win, Mac (Apple Silicon), Linux | Yes, port 1234 | Easy start (baseline) |
| Ollama | CLI + app + server | MIT | Free | Win, Mac, Linux, Docker | Yes, port 11434 | Servers and integrations |
| Jan | GUI | Apache 2.0 | Free | Win, Mac, Linux | Yes, port 1337 | Open source LM Studio swap |
| GPT4All | GUI | MIT | Free | Win (x64, ARM), Mac, Linux | Docker API server (older) | Simple offline chat |
| KoboldCpp | Single binary + web UI | AGPL v3 | Free | Win, Linux, Mac (Apple Silicon) | Yes, port 5001 | Roleplay, old GPUs |
| Msty Studio | GUI | Not stated as open source | Free; Aurum $149 per user per year | Desktop | Not confirmed | Polished multi-model chat |
| AnythingLLM | GUI + Docker | MIT | Free | Win, Mac, Linux, Docker | Connects to servers | Chat with your documents |
| llama.cpp + Open WebUI | Server + web UI | MIT / custom (see below) | Free | CUDA, Metal, Vulkan, HIP | Yes | Full control |
| Docker Model Runner | Docker feature | Part of Docker | Free feature | Win, Mac, Linux | Yes, port 12434 | Compose and CI |
The alternatives, one by one
Ollama
Ollama is a small server with a command line and a desktop app. The repo is MIT and the releases page showed v0.40.17 as the latest.
- Why switch: it runs as a background service and many tools support it.
- Free vs paid: local use is free. It also offers cloud models that run without a local GPU.
- Weakness: model files are stored in its own layout, so GGUFs need an import step.
- Suits: servers, scripts and editor plugins.
See our LM Studio vs Ollama comparison and the best Ollama models list.
Jan
Jan is the closest open source match to LM Studio. The repo is Apache 2.0 with builds for Windows, macOS and Linux. The latest release I could see was v0.8.7.
- Why switch: open code, a familiar chat UI and a local server at
127.0.0.1:1337. - Free vs paid: free. You can also connect online models such as ChatGPT, Claude and Gemini.
- Weakness: fewer advanced sampler and developer tools than LM Studio.
- Suits: people who want the same feel with open code.
Our Jan guide walks through setup.
GPT4All
GPT4All from Nomic is a simple offline chat app. The repo is MIT with installers for Windows (x64 and ARM), macOS and Linux x86-64.
- Why switch: very simple, with local document chat built in.
- Free vs paid: free.
- Weakness: the releases page shows v3.10.0 as latest and no newer one, so development looks slow.
- Suits: beginners with modest PCs.
KoboldCpp
KoboldCpp is one executable built on llama.cpp. The repo is AGPL v3 and the latest release was 1.120.
- Why switch: no install, wide GPU support (CUDA with
--usecuda, Vulkan with--usevulkan), and an API athttp://localhost:5001/v1. - Free vs paid: free.
- Weakness: the UI is aimed at story and roleplay writing, not general chat.
- Suits: creative writing and older GPUs.
Read our KoboldCpp guide for flags and settings.
Msty Studio
Msty is a polished desktop app. Its pricing page lists Free at $0, Aurum at $149 per user per year, Aurum Lifetime at $349, and custom Enterprise pricing.
- Why switch: a clean multi-model workspace.
- Free vs paid: the free tier covers core desktop features for one person.
- Weakness: I could not confirm an open source licence on the official site.
- Suits: users who value design over open code.
AnythingLLM
AnythingLLM is built for chatting with your files. The repo is MIT. It has a desktop app and a Docker version, and the latest release was v1.19.0.
- Why switch: built-in document workspaces and it can use LM Studio, Ollama and llama.cpp backends.
- Free vs paid: free to self host.
- Weakness: multi-user and white-label features are Docker only.
- Suits: private document Q&A.
llama.cpp with Open WebUI
This pair gives you the engine and a ChatGPT-style web UI. llama.cpp is MIT. Start it with llama-server -hf ggml-org/GLM-4.7-Flash-GGUF:Q4_K_M to pull a model and serve an OpenAI-compatible API.
- Why switch: newest model support first and full control of flags. Backends include CUDA, Metal, Vulkan and HIP.
- Free vs paid: free.
- Weakness: you manage everything yourself.
- Suits: power users and home servers.
Note: Open WebUI is source available but not OSI-approved. Since v0.6.6 its licence requires keeping the “Open WebUI” branding unless you have 50 or fewer users, plus a few other exceptions.
Our guides cover Open WebUI offline, Open WebUI without Docker and llama.cpp in Docker.
Docker Model Runner
Docker Model Runner is built into Docker Desktop and Docker Engine. It runs on Windows, macOS and Linux with CPU, NVIDIA, AMD and Vulkan backends, and pulls models from Docker Hub or Hugging Face.
- Why switch: models become part of your Compose files.
- Free vs paid: the feature is part of Docker. Check Docker’s own plans for team use.
- Weakness: no chat UI of its own.
- Suits: developers who already live in Docker.
See the Docker Model Runner guide. Another server worth a look is LocalAI, covered in our LocalAI guide.
Which one to pick
| You want | Pick | Why |
|---|---|---|
| Same GUI feel, open source | Jan | Apache 2.0 chat app with a local server |
| A headless server | Ollama or llama.cpp | Background service, no desktop needed |
| Docker or CI | Docker Model Runner | Models as part of Compose |
| Chat with PDFs | AnythingLLM | Workspaces and RAG built in |
| Roleplay and stories | KoboldCpp | Single binary, story tools |
| Team web UI | Open WebUI + llama.cpp | Accounts and a web interface |
| Simplest offline chat | GPT4All | Few settings |
| Polished multi-model app | Msty Studio | Clean workspace, free tier |
How to switch and move your models
You do not need to download models again. LM Studio keeps standard GGUF files in ~/.lmstudio/models/, arranged as publisher/model/model-file.gguf, per its import docs. You can change that folder in My Models.
- Find your files. Open My Models in LM Studio and note the models directory. Copy the GGUF paths you want to keep.
- Pick the target. Use the table above. Keep LM Studio installed until the new tool works.
- Import into Ollama. Create a file named
ModelfilewithFROM /path/to/file.gguf. Runollama create my-model, thenollama run my-model. - Import into Jan. In the llama.cpp engine settings use the import option and select the GGUF file.
- Use llama.cpp or KoboldCpp. Point the app at the file directly, for example
llama-server -m /path/to/file.gguf. - Change your app URLs. Replace LM Studio’s
http://localhost:1234/v1with the new base URL from the table below. - Test, then clean up. Run one chat and one API call. Delete duplicate model files only after both work.
| Tool | Default API base URL |
|---|---|
| LM Studio | http://localhost:1234/v1 |
| Jan | http://127.0.0.1:1337/v1 |
| KoboldCpp | http://localhost:5001/v1 |
| Docker Model Runner (host) | http://localhost:12434/engines/v1 |
| Ollama | port 11434 (OpenAI-style path under /v1) |
Tip: Ollama does not quantize on import, so import an already quantized GGUF. If you want to keep Ollama’s files elsewhere, set the OLLAMA_MODELS variable.
Troubleshooting: Common Problems and Fixes
- Model not found after import: check the folder layout and the exact file name. For split GGUF files in Ollama, keep the shard names and use a wildcard in
FROM. - App cannot reach the server: the port changed. Jan uses 1337, KoboldCpp 5001, Ollama 11434 and LM Studio 1234.
- Docker cannot reach Ollama: Ollama must listen on
0.0.0.0, and Open WebUI needs the--add-hostflag shown in its quick start. - Out of memory: pick a smaller quantization or a smaller model, and lower the context size.
- Open WebUI will not install with pip: use Python 3.11 or 3.12. Python 3.13 is not supported.
- Other devices cannot connect: Jan binds to 127.0.0.1 by default. Set the host to 0.0.0.0 and add an API key.
Warning: Never expose a local server to the internet without an API key and a firewall rule.
Frequently asked questions
Is LM Studio open source?
No. Its terms call the source code confidential and ban reverse engineering. Some parts of its ecosystem, such as SDKs, may be public, but the desktop app is not open source.
Is LM Studio free for work use?
LM Studio said in July 2025 that it is free for work. The terms allow “internal business purposes”, so check them before redistributing it.
What is the best open source LM Studio alternative?
Jan is the closest in look and feel, under Apache 2.0. For a server, Ollama and llama.cpp are both MIT.
Can I reuse my LM Studio models elsewhere?
Yes. They are normal GGUF files in ~/.lmstudio/models/. Point llama.cpp or KoboldCpp at them, or import them into Ollama or Jan.
Which alternative works on Intel Macs or old CPUs?
LM Studio needs Apple Silicon on Mac and AVX2 on Windows x64. KoboldCpp lists Intel Macs as a source build, and llama.cpp builds from source on many systems.
Which tool is best for a headless Linux server?
Ollama or llama-server are the usual choices. LM Studio’s llmster also runs headless if you accept the closed source.
Do all of these have an OpenAI-compatible API?
LM Studio, Ollama, Jan, KoboldCpp, llama.cpp and Docker Model Runner all do. AnythingLLM and Open WebUI are front ends that connect to such servers.
Is GPT4All still a good choice?
It still works and is MIT licensed. Its latest GitHub release is older than most rivals, so Jan or Ollama are safer long term picks.




