LibreAI / Local LLM / Web LLM
// local-llm · mlc-ai/web-llm

Web LLM

High-performance In-browser LLM Inference Engine

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

Project facts

Web LLM is an open-source local llm project by mlc-ai (mlc-ai/web-llm on GitHub). It has 19,219 GitHub stars and 1,388 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 3 October 2026.

Repository
mlc-ai/web-llm
GitHub stars
19,219
Forks
1,388
License
Apache-2.0
Last updated on GitHub
3 October 2026
Category
Local LLM
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Install the runtime

    One-command installers exist for every major OS; servers and engines use Docker or simple binaries.

  2. Download a model

    Pull from a built-in library or point at any GGUF/compatible weights you already have.

  3. Chat or call the API

    Use the bundled chat UI, or point your apps and coding agents at the local OpenAI-style endpoint.

  4. Tune for your hardware

    Pick model sizes that fit your RAM/VRAM; quantization options trade a little quality for a lot of speed.

// features

Why people love it

Total privacy

Prompts never leave your machine — no accounts, no logging, no training on your data.

Works offline

Once weights are downloaded, everything runs with the network cable unplugged.

OpenAI-style APIs

Local endpoints your existing tools and code can call with minimal changes.

Huge model choice

Llama, Qwen, Gemma, DeepSeek, Mistral and more, in sizes from phone-friendly to workstation-class.

Agent integrations

Coding assistants and automation tools plug straight into the local server.

Quantization support

Run bigger models on smaller hardware via GGUF and friends.

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/mlc-ai/web-llm.git
    cd web-llm
  2. Step 2 — Install dependencies

    Use the package manager the project specifies (check for pnpm or yarn lockfiles).

    npm install
  3. Step 3 — Start it

    Launch the dev server or build, per the README.

    npm run dev
// use cases

What you can build

Advertisement
// faq

Questions, answered

How much RAM do I need?

Roughly the model size in GB plus headroom — 8B models fit comfortably on 16GB machines with quantization.

Local or cloud — which is better?

Local wins on privacy and cost; cloud wins on raw frontier quality. Many people use both.

Who maintains Web LLM?

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

Which model should I start with?

A recent mid-size open model in the library's recommendations — start small and scale up.

Can my apps use it?

Yes — the local API plus client libraries make it a popular backend for indie apps.

Does it run on Apple Silicon?

Yes — several of these are optimized for it, and unified memory helps a lot.

// keep exploring

Similar tools

Local LLM

llama.cpp

LLM inference in C/C++

★ 130.2k starsMIT
View guide →
Local LLM

vLLM

A high-throughput and memory-efficient inference and serving engine for LLMs

★ 93.1k starsApache-2.0
View guide →
Local LLM

Text Generation Webui

Open-source desktop app for local LLMs. Text, vision, tool-calling, OpenAI/Anthropic-compatible API. 100% private

★ 47.7k starsAGPL-3.0
View guide →
Local LLM

TokenSpeed

TokenSpeed — a speed-of-light LLM inference engine designed for agentic workloads, with TensorRT-LLM-level performance and vLLM-level usability

★ 2.5k starsMIT
View guide →
Local LLM

airllm

Run a 70B LLM on a single 4GB GPU — layer-by-layer inference with almost no memory tricks skipped

★ 35.5k starsApache-2.0
View guide →
Local LLM

mlc-llm

Compile and run LLMs anywhere - phones, laptops, browsers and GPUs - with one engine

★ 23.2k starsApache-2.0
View guide →
// alternatives

Alternatives in Local LLM

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

Get Web LLM

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