Choose Ollama when code, a container or a server sits in front of the model, and LM Studio when you will be browsing and tuning models by hand: OllamaLab’s comparison calls it “a workflow choice, not a speed choice”. Both tools serve models through llama.cpp, so prompt-processing speed is close to a tie on the same weights. The 162,000-star figure that circulates with this comparison is out of date: Neon Control’s tracker shows Ollama at 186,833 GitHub stars on 13 November 2026, and the tags on Ollama’s GitHub Releases page show a new build about every four days. To run LM Studio without a display, see our LM Studio headless server guide.
Don't miss new tech stories on Google
Add Tech Insider once in the Google app and our stories appear in your news suggestions.
Ollama has 186,833 stars, up from 162,000 in March
Neon Control lists ollama/ollama at 186,833 stars on 13 November 2026, with 19,055 forks, an MIT licence and the most stars of the 17 open-source AI tools it tracks. The 162,000 figure was accurate in March: GitDebt’s star history has the repository at 162,182 on 21 March and 162,817 on 27 March. From 21 March to 13 November that is 24,651 more stars.
| Window | Stars gained | Days | Stars per day |
|---|---|---|---|
| 27 March to 13 November | 24,016 | 231 | about 104 |
| 90 days ending 13 November | 9,911 | 90 | about 110 |
| 30 days ending 13 November | 4,416 | 30 | about 147 |
Each shorter window is faster than the longer one before it, so growth is still accelerating. For scale, GitHub.Locker’s local-llm ranking puts Ollama second at 186.7K stars (slightly different from the tracker above because the two sites snapshot GitHub at different moments), behind openclaw at 394.4K and ahead of llama.cpp at 134.2K. llama.cpp is the engine inside both tools, so the ranking shows which project people follow, not which tool runs faster.
Stars measure attention, not update risk or lock-in. Ollama was created on 26 June 2023, and in July 2026 its blog said it serves 8.9 million developers and has raised $88M. A star comparison with LM Studio would not be like for like: the LM Studio desktop app is proprietary and only its lms command-line tool is MIT licensed, according to OllamaLab, so a star count captures all of Ollama but only the CLI of LM Studio.
A new Ollama build every four days
Ollama’s GitHub Releases page carries a timestamp on every tag. Times below are as the page displays them.
| Release | Published | Gap from previous row |
|---|---|---|
| v0.40.13 | 28 October, 19:55 | start of window |
| v0.40.15 | 3 November, 22:52 | 6.1 days |
| v0.40.16 (marked Latest) | 9 November, 18:21 | 5.8 days |
| v0.40.17-rc0 (pre-release) | 10 November, 22:25 | 1.2 days |
Across the four tags in the table, from v0.40.13 to the v0.40.17-rc0 pre-release, there are three gaps in 13.1 days: one every 4.4 days on average, or about every four days. The release candidate a day after v0.40.16 shows the next build already forming. The tags Neon Control’s tracker shows for 9 November match the same v0.40.16.
Minor versions are quicker than “monthly” too. Ollama’s blog dates 0.30, with improved performance and GGUF model compatibility through llama.cpp, to 5 June 2026, and 0.31 to 29 June, 24 days later. By the 9 November tag, 157 days after 0.30, the line had reached 0.40.16. Ten minor steps fit inside those 157 days, so a minor version arrived at an average of no more than about 16 days.
LM Studio’s blog dates version 0.4.0, which introduced server deployment, parallel requests with continuous batching and a new REST API endpoint, to 28 January 2026.
For you, a four-day build rhythm means updates are routine and behaviour can shift between them. OllamaLab’s advice is blunt: “Rerun the probe after every upgrade and log the results.” The last section turns that into commands.
What “within a few percent” covers, and what a fixed per-token cost does from 10 to 120 tokens a second
Mozilla.ai’s September 2026 benchmark of llama.cpp, llamafile, LM Studio and Ollama is the controlled head-to-head to start from. Because each tool serves GGUF through llama.cpp, Mozilla.ai reports they land “within a few percent on prompt processing once weights and environment are held fixed”. Its numbers belong to Ollama 0.34.0 and LM Studio runtime 2.28.2, and Ollama’s 9 November tag is 0.40.16, so treat it as a snapshot of those versions.
Mozilla.ai also found that much of the decode gap between servers is fixed host overhead rather than GPU work: a near-constant cost per token of about 0.4 ms on its Mac, 1.8 ms on the L40S and 5.4 ms on the Steam Deck. A fixed cost matters more as a model gets faster, because each token already takes less time. The share of speed lost is h / (1000 / v + h), where h is the overhead in milliseconds and v is the baseline speed in tokens per second. The table below is our own arithmetic on Mozilla.ai’s published overheads, not a benchmark we ran.
| Baseline speed | 0.4 ms (Mac) | 1.8 ms (L40S) | 5.4 ms (Deck) |
|---|---|---|---|
| 10 tokens/s | 0.4% | 1.8% | 5.1% |
| 30 tokens/s | 1.2% | 5.1% | 13.9% |
| 60 tokens/s | 2.3% | 9.7% | 24.5% |
| 120 tokens/s | 4.6% | 17.8% | 39.3% |
On the Mac figure, a small model running at 120 tokens a second loses 4.6% and a large 10 tokens a second model loses 0.4%. On the L40S figure the same two cases lose 17.8% and 1.8%. Mozilla.ai’s “within a few percent” is a finding about prompt processing. For generation, a fixed per-token cost takes a smaller share on a large, slow model, so a gap measured on a small, fast model says little about a large one and neither result should be treated as an Ollama versus LM Studio figure.
You can use the same arithmetic on any benchmark you meet. Convert each rate to milliseconds per token (1000 divided by tokens per second) and subtract. As an illustration, not a published result, 20 against 12.5 tokens a second is 50 ms against 80 ms, a 30 ms gap. That is 75 times the Mac’s 0.4 ms and about 17 times the L40S’s 1.8 ms, so a fixed server cost cannot explain it and the cause is more likely a different runtime, engine version or model build. Mozilla.ai’s Steam Deck result fits that pattern: LM Studio trailed there because of its shipped runtime, and the deficit “cannot be fixed by the user, because the runtime arrives prebuilt”.
Apple Silicon is where versions matter most. Ollama previewed its own MLX engine in 0.19 on 30 March 2026, initially for one model on Macs with more than 32 GB of unified memory. Its blog says Gemma 4 is now significantly faster in Ollama 0.31 on Apple Silicon through multi-token prediction on MLX, and puts the gain at up to 90% with coding agents on the Aider polyglot benchmark; that is Ollama’s own measurement, so read it as a vendor claim about one workload. LM Studio’s documentation says that on Apple Silicon Macs it also runs models using Apple’s MLX, alongside llama.cpp, so a Mac comparison now involves MLX on both sides. As of 13 November 2026, Ollama’s Gemma 4 library page lists E2B, E4B, 12B, 26B and 31B sizes, so check which size a benchmark used. A Mac result that names neither tool version nor model is weak evidence either way, so time your own model on both tools.
What each can deploy as of 13 November 2026: licence, Linux, containers and the API
| Question | Ollama | LM Studio |
|---|---|---|
| Licence | MIT | Desktop app proprietary; lms command-line tool MIT |
| Use at work | Free under MIT | Free at work since 8 July 2025; an Enterprise plan adds SSO and model/MCP gating |
| Linux | Vulkan enabled by default when the backend is installed, on Windows and Linux | Linux x64 and ARM64 listed as supported |
| No display or container | Official ollama/ollama Docker image with GPU passthrough | Headless daemon llmster, which arrived in 0.4.0 together with parallel requests and continuous batching |
| API | OpenAI-compatible at http://localhost:11434/v1/: chat completions, embeddings, streaming, tools | OpenAI-style server on port 1234 (covered in our headless guide) |
| Finding models | Models from Ollama’s own library at ollama.com/library; Safetensors weights can be imported through a Modelfile | In-app browsing of Hugging Face and tuning of load settings |
| Engine and format | GGUF through llama.cpp; MLX engine previewed in 0.19 on Apple Silicon | GGUF through llama.cpp; MLX also supported on Apple Silicon Macs |
The Linux and Vulkan row draws on Ollama’s GPU documentation and on LM Studio’s system requirements. As of 13 November 2026, Ollama’s page says additional GPU support on Windows and Linux is provided via Vulkan, enabled by default when the backend is installed, alongside CUDA, ROCm (AMD ROCm v7 on Linux) and Metal, so Vulkan is not unique to LM Studio. LM Studio’s page says it is supported on both x64 and ARM64 on Linux. The licence and work-use rows come from LM Studio’s free-for-work announcement and OllamaLab. OllamaLab also notes that llmster is what makes a server comparison fair on a machine with no display.
Two LM Studio changelog entries matter for larger setups. The 0.4.15 release notes, dated 29 May 2026, list CUDA tensor parallelism support for multi-GPU model loading (checked 13 November 2026). The 0.4.5 release notes describe LM Link, which lets you connect to remote LM Studio instances, load their models and use them as if they were local, end-to-end encrypted, launched in partnership with Tailscale.
LM Studio’s Bionic documentation says a Bionic session can use frontier open models in LM Studio Secure Cloud with Zero Data Retention, local models on your computer, and remote models from another device through LM Link.
Installation differs by platform. On Windows, Ollama’s Windows documentation says the installer adds the Ollama folder to your user PATH; LM Studio is a desktop app, and OllamaLab describes browsing Hugging Face inside its window. On Linux, Ollama’s install command is a single line:
curl -fsSL https://ollama.com/install.sh | sh
Ollama’s Docker documentation gives the container command, with GPU passthrough and a named volume that keeps downloaded models between restarts:
docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
Because that command names the container ollama, you can fetch and run a model inside it with docker exec (replace YOUR-MODEL with a model name from Ollama’s library):
docker exec -it ollama ollama pull YOUR-MODEL
docker exec -it ollama ollama run YOUR-MODEL
Code written for the OpenAI client needs only a new base URL. In Ollama’s OpenAI-compatibility documentation the key is required but ignored:
from openai import OpenAI
client = OpenAI(base_url="http://localhost:11434/v1/", api_key="ollama")
The same endpoint answers a plain HTTP call to the chat completions route, which is a quick way to check the server from a shell:
curl http://localhost:11434/v1/chat/completions -H "Content-Type: application/json" -d '{"model": "YOUR-MODEL", "messages": [{"role": "user", "content": "Say hello"}]}'
LM Studio’s OpenAI-compatible endpoint has also been changing. Its changelog says 0.4.7, dated 18 March 2026, improved tool calling for Qwen 3.5 and GLM, and 0.4.8, dated 26 March 2026, added support for reasoning_effort and reasoning_tokens in the OpenAI-compatible v1/chat/completions endpoint.
For coding agents, Ollama’s blog announced the ollama launch command on 23 January 2026: a command that sets up and runs coding tools such as Claude Code, OpenCode and Codex with local or cloud models (checked 13 November 2026).
Both run locally for $0; Ollama’s $20, $100 and $500 tiers buy cloud credit, not the software
Running either tool on your own hardware costs nothing in licence fees. The paid plans on Ollama’s pricing page (read on 13 November 2026) sell hosted usage credit, so dividing credit by price shows what each tier actually gives.
| Plan | Monthly price | Included usage | Usage per dollar |
|---|---|---|---|
| Pro | $20 | $60 | 3.0x |
| Max | $100 | $300 | 3.0x |
| Team | $500 | $1,000, shared across the team | 2.0x |
Max buys five times Pro’s credit for five times the price, so the choice between them is about volume, not value. Team gives less credit per dollar but opens the plan to unlimited users on one shared pot. Billing period matters for Pro: on 13 November 2026 the page lists it at $20 a month or $200 a year billed annually ($16.67 a month), so the annual price is 10 times the monthly one, not 12. Those tiers rent hosted capacity.
On the LM Studio side, the app has been free for work since 8 July 2025, and the Enterprise plan adds SSO and model and MCP gating, per OllamaLab. Neither licence is a reason to choose one tool over the other for a work laptop. The real cost is the machine the model runs on. On 13 November 2026 Ollama’s llama2 library page says 7b models generally require at least 8GB of RAM, 13b models at least 16GB and 70b models at least 64GB.
Which tool for which requirement
| Requirement | Pick | Reason |
|---|---|---|
| An app, script or agent loop calls the model over HTTP | Ollama | OpenAI-compatible /v1/ endpoint; OllamaLab picks Ollama when the model sits behind code |
| You choose and compare models by hand in a window | LM Studio | OllamaLab picks it when a person is browsing Hugging Face and tuning load settings |
| Containers or CI | Ollama | Official Docker image with GPU passthrough |
| A Linux box with no screen | Either | Ollama through Docker; LM Studio through llmster, covered in our headless guide |
| Apple Silicon Mac | Install both and time your model | Results move with tool version and model, and both tools now have an MLX route |
| Reading or auditing the source | Ollama | MIT licence; the LM Studio app is proprietary |
| Use at work | Either | Ollama is MIT; LM Studio has been free for work since 8 July 2025 |
| SSO or model gating | LM Studio | Its Enterprise plan adds both |
| Hosted capacity instead of your own GPU | Ollama’s paid plans | Pro, Max and Team sell usage credit |
Speed is absent from that table on purpose. Mozilla.ai found the two within a few percent on prompt processing, and a larger published gap usually points to a version or runtime difference you can test for yourself. Release pace matters only through pinning: a tool that changes every four days is safe to depend on if you know which version produced the behaviour you rely on. If your real question is Ollama against vLLM rather than against LM Studio, our vLLM vs Ollama comparison covers that pairing.
Pointing Ollama at a GGUF file, running both side by side, and pinning a version
Both tools use GGUF, and Ollama’s blog describes 0.30 as bringing GGUF model compatibility through llama.cpp. GGUF is the primary format, but Ollama’s import documentation also shows a Modelfile whose FROM line points at a directory of Safetensors weights, so models published in other formats can be imported too. The script below handles the GGUF case: it writes a Modelfile whose FROM line points at a .gguf file already on disk, then runs ollama create. It takes the path of the .gguf file and a name for the new model, checks both exist, and cleans up its temporary Modelfile on exit. Try it on a small model first, and add PARAMETER or SYSTEM lines to the Modelfile if you want defaults baked in.
#!/bin/sh
set -eu
GGUF="${1:?usage: $0 /path/to/model.gguf model-name}"
NAME="${2:?usage: $0 /path/to/model.gguf model-name}"
[ -f "$GGUF" ] || { echo "not a file: $GGUF" >&2; exit 1; }
command -v ollama >/dev/null || { echo "ollama is not on PATH" >&2; exit 1; }
GGUF="$(cd "$(dirname "$GGUF")" && pwd)/$(basename "$GGUF")"
WORK="$(mktemp -d)"
trap 'rm -rf "$WORK"' EXIT
cat > "$WORK/Modelfile" <<EOF
FROM $GGUF
EOF
ollama create "$NAME" -f "$WORK/Modelfile"
ollama list
The two servers can stay installed together. Ollama listens on port 11434 and LM Studio’s server on port 1234, so there is no clash, but each holds a loaded model in memory, so on a single GPU unload one before you use the other.
If you run Ollama in Docker, pin the image to the version tag you tested rather than following the newest build. Mozilla.ai listed the version of every tool it benchmarked, and OllamaLab notes that Mozilla.ai’s numbers apply only to the versions it tested. After each upgrade, record the version and time the same prompt, then compare it with your earlier log:
ollama --version
ollama run --verbose YOUR-MODEL "Explain Docker in one sentence"




