Tech Tree of the Web

The history of web technology, 1945 to now: 112 ideas and the lines between them. Drag, scroll or press ← → to travel. Open any one for its story.

No. 112 / 112Seen 0 / 112Colophon

The Present

WebLLM, 2023. Era VI, The Present.

Era VI · 2017–2026

← drag · scroll · arrow keys →

2023LLMimport { CreateMLCEngine } from '@mlc-ai/web-llm'; const engine = await CreateMLCEngine(modelId);// chat runs on your GPU

A large language model loaded into the page and run on the visitor's GPU through WebGPU. Typeset for this timeline: no licence-clean photograph of the thing itself was found.

Key details

When
2023 (repository created 13 April; paper December 2024)
Who
MLC AI, Tianqi Chen and colleagues
Where
MLC AI
Answered
It replaced server-side chatbot inference with large language models running on the user's own GPU in the browser.
Led to
It showed in-browser LLM apps could keep data on the device while offering an OpenAI-style API.

No. 112 · 2023 · Machine learning · Era VI, The Present

WebLLM

Ran large language models entirely in the browser on the local GPU, keeping chats on the device.

Facts

  1. The mlc-ai/web-llm GitHub repository was created on April 13, 2023. 2
  2. Everything runs inside the browser with no server support, accelerated with WebGPU. 1
  3. WebLLM is a companion project of MLC LLM and is fully compatible with the OpenAI API. 1
  4. The WebLLM paper, by 14 authors with Tianqi Chen listed last, was submitted to arXiv on December 20, 2024. 3
  5. The paper reports WebLLM can retain up to 80% of native performance on the same device. 3

Sources

  1. mlc-ai/web-llm - GitHub
  2. GitHub API, mlc-ai/web-llm repository metadata
  3. Ruan et al., "WebLLM: A High-Performance In-Browser LLM Inference Engine", arXiv:2412.15803
Came from
Led to
Nothing on this tree yet