// local-llm · simonw/llm

llm

Access large language models from the command-line

★ 12.6k stars⑂ 1.0k forksApache-2.0updated 2026-09
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

llm is an open-source local llm project by simonw (simonw/llm on GitHub). It has 12,583 GitHub stars and 1,014 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 22 September 2026.

Repository
simonw/llm
GitHub stars
12,583
Forks
1,014
License
Apache-2.0
Last updated on GitHub
22 September 2026
Category
Local LLM
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Install the runtime

    One binary or app gets you a working local model setup.

  2. Download a model

    Pick a size that fits your RAM/VRAM; smaller models run on laptops.

  3. Chat or integrate

    Use the built-in UI, or point OpenAI-compatible clients at it.

  4. Go private

    Airplane mode works — your prompts never leave the device.

// features

Why people love it

OpenAI-compatible APIs

Existing tools plug in by changing one URL.

Document chat

Ask questions over your PDFs, notes, and codebases.

No subscriptions

Pay nothing per token, ever.

100% private

Prompts and documents stay on your hardware, always.

Extensible

RAG, tools, and agents build on the same base.

Quantized efficiency

Smart compression runs big models on modest hardware.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/simonw/llm.git
    cd llm
  2. Step 2 — Check the README

    Every project documents its own setup; start with install requirements.

    cat README.md | head -60
  3. Step 3 — Run it

    Follow the project's launch command — Docker, pip, npm, or a binary release.

    # see README for the exact launch command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains llm?

It is an open-source project at simonw/llm with 1,014 forks. Check the repo's contributors and recent commits to see how active maintenance is.

Is llm free for commercial use?

Apache 2.0 licensed — commercial use allowed with attribution.

What hardware do I need?

8B models run on 16GB RAM; bigger models want a real GPU.

Which model should I start with?

A recent 8–32B instruct model is the sweet spot for most machines.

Is it really private?

Yes — with no network calls, there's nothing to leak.

// keep exploring

Similar tools

Local LLM

FastChat

An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.

★ 39.6k starsApache-2.0
View guide →
Local LLM

assistant-ui

Typescript/React Library for AI Chat 💬🚀

★ 12.4k starsMIT
View guide →
Local LLM

atomic-agent

Atomic Agent is a local-first AI agent. Runs open-weight models on your own machine via llama.cpp.

★ 2.7k starsMIT
View guide →
Local LLM

gemma

Google DeepMind's Gemma open-weight LLM library — install, load and chat with Gemma models in Python.

★ 5.8k starsApache-2.0
View guide →
Local LLM

comfyui_LLM_party

LLM Agent Framework in ComfyUI includes MCP sever, Omost,GPT-sovits, ChatTTS,GOT-OCR2.0, and FLUX prompt nodes,access to Feishu,discord,and adapts to all llm…

★ 2.4k starsAGPL-3.0
View guide →
Local LLM

llmfit

Hundreds of models & providers. One command to find what runs on your hardware.

★ 37.5k starsMIT
View guide →
// alternatives

Alternatives in Local LLM

The most-starred other Local LLM projects in the LibreAI catalogue — the realistic shortlist if llm is not the right fit.

Get llm

Free and open — grab the source, star the repo, and start creating.