7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

MLC LLM

Open source

MLC LLM is a machine learning compiler and inference engine that deploys large language models on GPUs, phones and web browsers.

llm.mlc.ai
MLC LLM homepage screenshot
GitHub stars
23k
Last commit
2 days ago
Repository age
3 years
Licence
Apache-2.0
Self-hosted
Yes

About MLC LLM

MLC LLM is a machine learning compiler and deployment engine for large language models. Its mission is to let people develop, optimize and deploy AI models natively on the platforms they already use. It is written in Python, built on machine learning compilation techniques related to TVM, and released under the Apache-2.0 license.

Code is compiled and run on MLCEngine, a unified inference engine that targets many platforms: AMD GPUs through Vulkan and ROCm, NVIDIA GPUs through Vulkan and CUDA, Apple GPUs through Metal, Intel GPUs, web browsers through WebGPU and WASM, iOS and iPadOS through Metal, and Android through OpenCL on Adreno and Mali GPUs. MLCEngine provides an OpenAI-compatible API available through a REST server and through Python, JavaScript, iOS and Android bindings, all backed by the same engine and compiler. The documentation covers installation and a quick start.

Key features

  • Compiler and engine for LLM deployment
  • Targets AMD, NVIDIA, Apple and Intel GPUs
  • Runs in browsers via WebGPU and WASM
  • iOS and Android deployment
  • OpenAI-compatible API through REST server
  • Python and JavaScript bindings

Good fit for

  • →Running LLMs on-device on phones
  • →Serving models behind an OpenAI-style API
  • →In-browser inference without a server
Built with
Python
Tags
llm
inference
ml-compilation
tvm
webgpu
mobile
gpu
openai-compatible

MLC LLM: questions and answers

What is MLC LLM used for?
MLC LLM is a machine learning compiler and inference engine that deploys large language models on GPUs, phones and web browsers. It is a good fit for running LLMs on-device on phones, serving models behind an OpenAI-style API and in-browser inference without a server.
Is MLC LLM open source?
Yes. MLC LLM is open source under the Apache-2.0 licence. Its source code is on GitHub at mlc-ai/mlc-llm and is written mainly in Python.
Is MLC LLM free?
Yes. MLC LLM is open source, so the software itself is free to use.
Can I self-host MLC LLM?
Yes. MLC LLM can be self-hosted on your own server or infrastructure; there is no official hosted version.
What are some alternatives to MLC LLM?
Similar open-source tools in the AI Infrastructure category include llama.cpp, SGLang and Ollama. SaaS products in the same category include AI Stats, Cloudflare Workers AI and NVIDIA AI Enterprise.
Is MLC LLM actively maintained?
Yes. The most recent commit to MLC LLM was on 1 October 2026. The project has 23k stars on GitHub.

Open-source alternatives to MLC LLM

See all

SaaS alternatives to MLC LLM

See all