Skip to content

Free Open-Source Local LLM Tools

A local LLM is a large language model that runs on your own computer or server instead of a company’s cloud. Your prompts and documents stay on your machine, it keeps working without an internet connection once the model is downloaded, and there is no per-message bill. The trade-off is hardware: small models run on an ordinary laptop, while bigger ones need a lot of memory or a graphics card. The projects on this page are the engines that load the model files and the apps that put a chat window or an API on top. The models themselves (Llama, Qwen, Gemma, Mistral and others) come with their own licences, which you should read separately. On 23 October 2026 we read each project’s LICENSE file, README, official docs and pricing page, and its GitHub repository for stars and the latest push; all nine had code pushed in the previous two weeks.

Quick answer

For the easiest start, install Jan (Apache-2.0), a desktop chat app that downloads and runs models with no account, or Ollama (MIT), which runs a model with one command and serves an API that many apps can use. llama.cpp (MIT) is the engine underneath many of these tools, and llamafile (Apache-2.0) packs a model and its runtime into one file. KoboldCpp (AGPL-3.0) is a single-file app aimed at writing and roleplay. To chat with your own documents try AnythingLLM (MIT); for a multi-user chat site try LibreChat (MIT). LocalAI (MIT) offers an OpenAI-compatible API for text, voice and images, and vLLM (Apache-2.0) is for serving models fast on GPU servers.

Checked 23 October 2026

How to choose

Desktop app, engine or server

Jan, AnythingLLM Desktop and KoboldCpp are apps you double-click: they show a chat window and download models for you. Ollama and llamafile sit in the middle: a small program that runs a model from the command line and exposes a local API, which chat apps and editors can connect to. llama.cpp is the engine many of these use, with its own command-line tools and a simple web UI. LocalAI, LibreChat and vLLM are server software: you run them with Docker or Python, usually on an always-on machine, so several people or programs can use the same models.

What hardware you need

Memory decides which models you can run. Jan’s README gives a rough guide for Macs: 8 GB of RAM for 3-billion-parameter models, 16 GB for 7B and 32 GB for 13B. Quantised model files (GGUF, used by llama.cpp, Ollama, KoboldCpp, Jan and llamafile) shrink models so they fit on ordinary computers and can run on the processor alone, more slowly. A graphics card from NVIDIA, AMD or Intel, or an Apple Silicon Mac, makes answers much faster. vLLM’s quickstart lists Linux and Python 3.11 to 3.14 and is built for data-centre GPUs, so it is not the place to start on a laptop.

Licences, cloud plans and privacy

Seven of the nine projects use permissive licences (MIT or Apache-2.0); KoboldCpp is AGPL-3.0, which adds duties if you change it and offer it as a service. The model you download has a separate licence, and some model licences limit commercial use. Running locally keeps prompts on your machine, but check the settings: Ollama and AnythingLLM also sell cloud plans, Jan and LibreChat can connect to online providers if you add an API key, and AnythingLLM sends anonymous telemetry unless you turn it off. Do not expose a local API to the internet without a password or a reverse proxy.

The projects

Ollama

Free + paid hosting

184,249 GitHub starslast code update 22 October 2026

A small program that downloads open models from its library and runs them on your computer with one command, with a local REST API on port 11434 that chat apps, coding tools and scripts can call. It also offers optional cloud models.

Who it suits
Anyone who wants a model running in minutes, and developers who need a local API for other apps.
How it is used
Install it, run a model by name from the terminal and chat, or point another app at http://localhost:11434.
Runs on
macOS, Windows, Linux and Docker
Licence
MIT
Free or paid
Running models locally is free under the MIT licence. Ollama’s cloud models are paid: on 23 October 2026 the pricing page showed a free tier with starter credits, Pro at USD 20 a month, Max at USD 100 and Team at USD 500. Pricing page

How to set it up

  1. On macOS or Linux, install with the official script (or download the app from ollama.com):
    curl -fsSL https://ollama.com/install.sh | sh
  2. On Windows, run the official PowerShell installer or download OllamaSetup.exe:
    irm https://ollama.com/install.ps1 | iex
  3. Download and chat with a model from the library, for example Gemma 4:
    ollama run gemma4
  4. Other apps can now use the API at http://localhost:11434 (see the API docs).

Steps from the official docs

Good to know

  • The same app offers local and paid cloud models; check which one you picked if your data must stay on your machine.
  • Ollama is mainly a command-line tool and API; for a full chat interface you add another app.

RepositoryWebsite

llama.cpp

Free

131,886 GitHub starslast code update 21 October 2026

The C/C++ engine for running language and vision models with minimal setup on a wide range of hardware, from Apple Silicon and ordinary CPUs to NVIDIA, AMD and Intel GPUs. It reads GGUF model files, supports 1.5-bit to 8-bit quantisation, and includes a command-line chat, an OpenAI-compatible server and a built-in web UI.

Who it suits
Technical users and developers who want the most control and speed, and builders of other local AI apps.
How it is used
Install a release, then load a GGUF model from Hugging Face with one command to chat or to start a local API server.
Runs on
macOS, Windows, Linux, Docker and Android (build), with CPU, CUDA, ROCm/HIP, Metal, Vulkan and SYCL backends
Licence
MIT
Free or paid
Free and open source under the MIT licence; there is no paid edition from the project. Pricing page

How to set it up

  1. Install with the official script on macOS or Linux (or use the PowerShell script, a release binary or Docker):
    curl -LsSf https://llama.app/install.sh | sh
  2. Download a small model from Hugging Face and chat with it in the terminal:
    llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF
  3. Or start the OpenAI-compatible server with its web UI:
    llama serve -hf ggml-org/Qwen3.5-0.8B-GGUF

Steps from the official docs

Good to know

  • It moves fast and its docs assume some command-line comfort; desktop apps such as Jan wrap it for beginners.
  • Building from source for a specific GPU needs the right toolkit (for example CUDA) installed.

RepositoryWebsite

Jan

Free

44,978 GitHub starslast code update 16 October 2026

A desktop chat app that downloads open models from Hugging Face and runs them on your computer, with custom assistants, file upload, MCP integrations and a local OpenAI-compatible API server on localhost:1337. You can also connect online providers if you add your own API key.

Who it suits
People who want a familiar chat window that works offline, with no account and no command line.
How it is used
Install the app, pick a model from its hub, wait for the download and start chatting.
Runs on
macOS 13.6+, Windows 10+ and Linux (Flathub, AppImage and other builds)
Licence
Apache-2.0
Free or paid
Free and open source; its LICENSE file applies the Apache License 2.0 and asks for attribution in user-facing materials. The docs describe it as built in public with no account needed. Pricing page

How to set it up

  1. Download Jan from jan.ai or the GitHub releases page (also on the Microsoft Store and Flathub) and install it.
  2. Open the Hub, choose a model that fits your memory (the README suggests 8 GB RAM for 3B models on a Mac) and download it.
  3. Start a new chat with the downloaded model; turn on the Local API Server in settings if other apps need it.

Steps from the official docs

Good to know

  • Some features, such as Cowork, were marked as previews on 23 October 2026.
  • If you add a cloud provider’s key, those chats go to that provider, not your machine.

RepositoryWebsite

LocalAI

Free

49,723 GitHub starslast code update 19 October 2026

A self-hosted AI engine with drop-in OpenAI, Anthropic and ElevenLabs-compatible APIs for text, vision, voice, images and video. It keeps a small core and pulls each backend (llama.cpp, vLLM, whisper.cpp, stable-diffusion and others) only when a model needs it, and adds users, API keys, quotas and built-in agents.

Who it suits
Developers and small teams who want one local API that existing OpenAI-based apps can switch to.
How it is used
Start the Docker image, open the web UI on port 8080, install a model from the gallery and call the API.
Runs on
Docker or Podman on Linux, Windows and macOS (CPU, NVIDIA, AMD, Intel and Vulkan images), plus a macOS app
Licence
MIT
Free or paid
Free and open source under the MIT licence, with no paid tier from the project. Pricing page

How to set it up

  1. Run the CPU-only container (the README lists separate image tags for NVIDIA, AMD, Intel and Vulkan GPUs):
    docker run -ti --name local-ai -p 8080:8080 localai/localai:latest
  2. Load a model from the gallery, for example:
    local-ai run llama-3.2-1b-instruct:q4_k_m
  3. Open http://localhost:8080 for the web UI, or send OpenAI-style requests to the same address.

Steps from the official docs

Good to know

  • The macOS app (DMG) is not signed by Apple, so the README gives a command to remove the quarantine flag.
  • It is a server, not a desktop chat app; plan for Docker and an always-on machine.

RepositoryWebsite

AnythingLLM

Free + paid hosting

67,406 GitHub starslast code update 21 October 2026

An all-in-one app for chatting with your own documents (retrieval-augmented generation), with AI agents, agent flows and scheduled jobs. It can run local models with its built-in engine (based on llama.cpp) or connect to Ollama, LocalAI, KoboldCpp and cloud providers. The Docker version adds multiple users, permissions, white-labelling and an embeddable website chat widget.

Who it suits
Individuals and small teams who want to ask questions about their own PDFs, notes and websites privately.
How it is used
Install the desktop app or run the Docker image, create a workspace, upload documents and chat with them.
Runs on
Desktop for macOS, Windows and Linux; Docker for servers; an Android app
Licence
MIT
Free or paid
The desktop app and the Docker self-hosted version are free under MIT. The company also sells hosted instances: on 23 October 2026 the cloud page showed Basic at USD 50 a month, Pro at USD 99 and a quoted Enterprise plan; the docs also describe an optional Desktop Pro subscription. Pricing page

How to set it up

  1. For one person, download the desktop app from anythingllm.com and install it. For a shared server, pull the Docker image:
    docker pull mintplexlabs/anythingllm
  2. Run it with a storage folder mounted so your data survives updates (the Linux/macOS command from the Docker guide):
    export STORAGE_LOCATION=$HOME/anythingllm && mkdir -p $STORAGE_LOCATION && touch "$STORAGE_LOCATION/.env" && docker run -d -p 3001:3001 --cap-add SYS_ADMIN -v ${STORAGE_LOCATION}:/app/server/storage -v ${STORAGE_LOCATION}/.env:/app/server/.env -e STORAGE_DIR="/app/server/storage" mintplexlabs/anythingllm
  3. Open http://localhost:3001, choose a model provider (add -e ENABLE_BUILT_IN_LLM=true to use the built-in engine), create a workspace and upload documents.

Steps from the official docs

Good to know

  • The README says it collects anonymous telemetry by default; set DISABLE_TELEMETRY to true or switch it off under Privacy in the app.
  • Multi-user mode, white-labelling and the website chat widget are in the Docker version only.

RepositoryWebsite

vLLM

Free

95,140 GitHub starslast code update 22 October 2026

A library and server for fast, memory-efficient LLM inference, started at UC Berkeley’s Sky Computing Lab. It uses PagedAttention and continuous batching to serve many users at once, supports more than 200 model architectures from Hugging Face, and exposes an OpenAI-compatible API.

Who it suits
Engineering teams serving models on GPU servers for many users or high volumes.
How it is used
Install it with uv or pip on a Linux GPU machine and start a server for a Hugging Face model.
Runs on
Linux with Python 3.11 to 3.14 (NVIDIA, AMD and Intel GPUs, CPUs and hardware plugins); macOS through vLLM-Metal
Licence
Apache-2.0
Free or paid
Free and open source under the Apache License 2.0; the project sells nothing itself. Pricing page

How to set it up

  1. In a Python environment on Linux, install vLLM (uv is recommended):
    uv pip install vllm
  2. Start the OpenAI-compatible server with a model, for example:
    vllm serve Qwen/Qwen2.5-1.5B-Instruct
  3. Send requests to http://localhost:8000 with any OpenAI-compatible client.

Steps from the official docs

Good to know

  • Built for servers with graphics cards; on a normal laptop the desktop tools above are simpler.
  • The quickstart notes that the server hosts one model at a time.

RepositoryWebsite

llamafile

Free

26,447 GitHub starslast code update 12 October 2026

Packs a model and llama.cpp into a single executable file that runs on most operating systems and CPUs with no installation, using Cosmopolitan Libc. It started as a Mozilla Builders project and is now maintained by Mozilla.ai; it also includes whisperfile for speech-to-text.

Who it suits
People who want to share or carry a ready-to-run model as one file, including on offline machines.
How it is used
Download a prebuilt llamafile, make it executable and run it; a chat opens in the terminal and a local server starts.
Runs on
macOS, Linux, BSD and Windows on x86-64 and ARM64
Licence
Apache-2.0
Free or paid
Free and open source. The project is Apache-2.0, and its README says its changes to llama.cpp and whisper.cpp are MIT, like those projects. Pricing page

How to set it up

  1. Download the small example model from the README:
    curl -LO https://huggingface.co/mozilla-ai/llamafile_0.10/resolve/main/Qwen3.5-0.8B-Q8_0.llamafile
  2. On macOS, Linux or BSD, make it executable (on Windows, rename it to end in .exe instead):
    chmod +x Qwen3.5-0.8B-Q8_0.llamafile
  3. Run the file and start chatting:
    ./Qwen3.5-0.8B-Q8_0.llamafile

Steps from the official docs

Good to know

  • Windows cannot run executables over 4 GB, so larger models need the llamafile binary with a separate GGUF file.
  • Version 0.10 moved to a new build system and may lack some features of older versions, which stay on the releases page.

RepositoryWebsite

KoboldCpp

Free

12,018 GitHub starslast code update 17 October 2026

A single-file app, built on llama.cpp, that runs GGUF models with the KoboldAI Lite web interface for chat, story writing and text adventures. It also does image generation, speech and music, and offers APIs compatible with OpenAI, Ollama and Anthropic clients.

Who it suits
Writers, hobbyists and roleplay fans who want an all-in-one offline app.
How it is used
Download one executable, pick a model in the launcher and click Launch; the chat opens in your browser on port 5001.
Runs on
Windows, Linux and macOS (Apple Silicon) executables; Docker and other platforms by self-compiling
Licence
AGPL-3.0
Free or paid
Free and open source under the GNU AGPL-3.0. Its site says official downloads are only on the GitHub releases page and warns about fake sites. Pricing page

How to set it up

  1. On Windows, download koboldcpp.exe from the latest GitHub release and double-click it. On Linux:
    curl -fLo koboldcpp-linux-x64 https://github.com/LostRuins/koboldcpp/releases/latest/download/koboldcpp-linux-x64 && chmod +x koboldcpp-linux-x64 && ./koboldcpp-linux-x64
  2. In the launcher, choose a ready-made template or a GGUF model file you downloaded.
  3. Click Launch; KoboldAI Lite opens at http://localhost:5001.

Steps from the official docs

Good to know

  • The AGPL-3.0 requires you to share your source changes if you run a modified version as a network service for others.
  • On macOS the system may block the download until you allow it in Privacy & Security, as the README explains.

RepositoryWebsite

LibreChat

Free

46,049 GitHub starslast code update 20 October 2026

A self-hosted chat website with user accounts, agents, MCP tools and conversation history, that can talk to many model providers at once. Through custom endpoints it connects to local servers such as Ollama, so a team can share local models in one interface.

Who it suits
Small teams, schools and offices that want a shared chat site on their own server.
How it is used
Run it with Docker Compose, register the first account, then add a local endpoint or an API key.
Runs on
Docker on Windows, macOS and Linux; Node.js install for advanced setups
Licence
MIT
Free or paid
Free and open source under the MIT licence. Its site announced on 23 October 2026 that LibreChat is joining ClickHouse; the code remains on GitHub under MIT. Pricing page

How to set it up

  1. Download the project (ZIP or git clone) and install Docker Desktop:
    git clone https://github.com/LibreChat-AI/LibreChat.git
  2. In the LibreChat folder, copy the example settings file:
    cp .env.example .env
  3. Start it with Docker Compose:
    docker compose up -d
  4. Open http://localhost:3080, register an account, then add an API key or a custom endpoint such as a local Ollama server.

Steps from the official docs

Good to know

  • LibreChat does not run models itself; you still need Ollama, LocalAI or a cloud provider behind it.
  • With cloud API keys, chats leave your server for that provider.

RepositoryWebsite

Common questions

What is the easiest way to run a local LLM on my computer?

Install a desktop app such as Jan, choose a small model that fits your memory, and chat; no account or command line is needed. If you are comfortable with a terminal, Ollama runs a model with one command and gives other apps a local API.

How much RAM do I need to run a local AI model?

It depends on the model size. Jan’s README suggests, for Macs, 8 GB for 3-billion-parameter models, 16 GB for 7B and 32 GB for 13B. Quantised GGUF files make models smaller, and a graphics card or Apple Silicon makes them faster.

Is Open WebUI open source?

Not under an OSI-approved licence. On 23 October 2026 its LICENSE file was the “Open WebUI License”, the project’s own terms, so we do not list it with the open-source projects here. Its code is public and many people self-host it; read the licence for your use. LibreChat (MIT) is an open-source alternative for a shared chat interface.

Do local LLMs send my data to the internet?

When you use a downloaded model, the prompts are processed on your machine. Data can still leave if you pick a cloud model (Ollama offers both), add a cloud provider’s API key (Jan, AnythingLLM, LibreChat), leave telemetry on (AnythingLLM collects anonymous usage by default), or expose the local API to the internet.

Why is GPT4All not on this list?

Our rule is that a project must have code pushed within the last 12 months. On 23 October 2026 GPT4All’s repository was last pushed on 27 May 2025, so it did not qualify even though its licence (MIT) is open source. We re-check each category monthly.

We are not affiliated with these projects. Facts were checked on the date above from each project's repository, licence and pricing page; prices, licences and install steps can change, so confirm on the official site before you rely on them.