mlc-ai / web-llm
High-performance In-browser LLM Inference Engine
Why this job: says: inference engine, llm inference
What it does
- In-Browser Inference. WebLLM is a high-performance, in-browser language model inference engine that leverages WebGPU for hardware acceleration, enabling powerful LLM operations directly within web browsers without server-side processing.
- Full OpenAI API Compatibility. Seamlessly integrate your app with WebLLM using OpenAI API with functionalities such as streaming, JSON-mode, logit-level control, seeding, and more.
- Structured JSON Generation. WebLLM supports state-of-the-art JSON mode structured generation, implemented in the WebAssembly portion of the model library for optimal performance. Check WebLLM JSON Playground on HuggingFace to try generating
- Extensive Model Support. WebLLM natively supports a range of models including Llama 3, Phi 3, Gemma, Mistral, Qwen(通义千问), and many others, making it versatile for various AI tasks. For the complete supported model list, check MLC Models.
- Custom Model Integration. Easily integrate and deploy custom models in MLC format, allowing you to adapt WebLLM to specific needs and scenarios, enhancing flexibility in model deployment.
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 6 days ago
- Stars
- 19,365
- +19 this week
- Licence
- Apache-2.0
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- v0.2.87
- Released 10 days ago
- Built with
- TypeScript
- 92% of the code
Is it looked after?
- Contributors
- 6
- Last 90 days
- Issues
- 69% closed
- 140 still open
- Pull requests
- 372 merged
- 16 waiting
- Releases
- 7
- 6 in the last year
- Contributing guide (opens in new tab)
- Security policy (opens in new tab)
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| ling0322 / libllm | 154 | 2 months ago | MIT | No downloads |
| Nehanth / pooled | 637 | 6 days ago | MIT | No downloads |
More: languages, topics and project record
Languages
- TypeScript 92%
- JavaScript 7%
- SCSS <1%
- Shell <1%
Topics
- chatgpt
- deep-learning
- language-model
- llm
- tvm
- webgpu
- webml
Project record
- JobLocal LLMs
- StatusListed
- Commits461
- Forks1,408
- Watching137
- Stars in 28 days+119
- CreatedApr 13, 2023
- First seen by usNov 7, 2026
- CheckedNov 7, 2026
