Skip to content
r.

web-llm

mlc-ai/web-llm · Public GitHub repository

High-performance In-browser LLM Inference Engine

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

web-llm live demo screenshot
Captured from the live demo · 2026-11-20

About this project

Author-written excerpt from the project README.

High-Performance In-Browser LLM Inference Engine.

WebLLM is a high-performance in-browser LLM inference engine that brings language model inference directly onto web browsers with hardware acceleration. Everything runs inside the browser with no server support and is accelerated with WebGPU.

WebLLM is fully compatible with OpenAI API. That is, you can use the same OpenAI API on any open source models locally, with functionalities including streaming, JSON-mode, function-calling (WIP), etc.

Requirements and intended audience

High-Performance In-Browser LLM Inference Engine.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-11-01. Source: https://github.com/mlc-ai/web-llm/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-20. Saved release: v0.2.85 · 2026-09-08. These dates do not guarantee ongoing maintenance.

Technologies
TypeScript
Licence
Apache-2.0. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-20. This does not test every feature.

Browse related categories