Source: https://seerepo.com/compare/ml-explore/mlx-lm/vs/mudler/LocalAI
Markdown source: https://seerepo.com/compare/ml-explore/mlx-lm/vs/mudler/LocalAI.md
Description: mlx-lm and LocalAI share 5 technologies: sentencepiece, mlx, transformers, jinja2, and pillow. mlx-lm is written in Python and LocalAI in Go.

# mlx-lm vs LocalAI

mlx-lm and LocalAI share 5 technologies: sentencepiece, mlx, transformers, jinja2, and pillow. mlx-lm is written in Python and LocalAI in Go.

- [ml-explore/mlx-lm](https://seerepo.com/r/ml-explore/mlx-lm): Run LLMs with MLX
- [mudler/LocalAI](https://seerepo.com/r/mudler/LocalAI): LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.

## What they share and what sets them apart

- In common: sentencepiece, mlx, transformers, jinja2, pillow
- Only in mlx-lm: None
- Only in LocalAI: React, net/http, Echo, go-sqlite3, modernc.org/sqlite, pyarrow, s3, SQLite, NATS.io, Postgres, github.com/glebarez/sqlite, github.com/valkey-io/valkey-go, MCP, Hugging Face, Qdrant, OpenAI, anyio, FastAPI, Lightning, uvicorn, Tokio, react-router-dom, Vite, Hono, Electron, Gradio, matplotlib, github.com/schollz/progressbar/v3, gorm.io/gorm, github.com/nats-io/jwt/v2, github.com/emersion/go-sasl, golang.org/x/oauth2, github.com/aws/aws-sdk-go-v2/credentials, github.com/coreos/go-oidc/v3, github.com/timbutler/zxcvbn, accelerate, bitsandbytes, conformer, coqui-tts, einops, flash-attn, go-openai, llama-cpp-python, llvmlite, Model Context Protocol, ModelScope, nemo-toolkit, neucodec, NVIDIA, oneccl-bind-pt, ONNX, onnxruntime-gpu, openai-go, phonemizer, rfdetr, s3tokenizer, scikit-image, spacy-pkuseg, texterrors, tiktoken, torchao, torchtune, torchvision, vector-quantize-pytorch, torch, github.com/gpustack/gguf-parser-go, github.com/mudler/nib, diffusers, github.com/mudler/cogito, github.com/mudler/localrecall, opencv-python, insightface, mlx-lm, torchaudio, vLLM, github.com/yalue/onnxruntime_go, librosa, onnxruntime, QWen, sglang, compel, datasets, faster-qwen3-tts, faster-whisper, funasr, github.com/go-skynet/go-llama.cpp, github.com/mudler/go-piper, github.com/streamer45/silero-vad-go, inference, kokoro, mlx-audio, moonshine-voice, optimum, optimum-quanto, outetts, peft, pocket-tts, rerankers, safetensors, sentence-transformers, speechbrain, tinygrad, tokenizers, trl, voxcpm, whisperx, av, markupsafe, sox, torchcodec, github.com/go-audio/wav, github.com/pdfcpu/pdfcpu, github.com/emersion/go-imap/v2, github.com/yuin/goldmark, golang.org/x/image, github.com/charmbracelet/glamour, github.com/dhowden/tag, github.com/emersion/go-smtp, github.com/go-pdf/fpdf, github.com/klippa-app/go-pdfium, imageio, imageio-ffmpeg, github.com/google/jsonschema-go, loguru, github.com/mudler/xlog, OpenTelemetry, github.com/mudler/go-processmanager, containerd, Docker, tracing, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/ipfs/go-log, github.com/Microsoft/hcsshim, go.opentelemetry.io/otel/exporters/prometheus, Prometheus, tracing-subscriber, fontsource-variable, CodeMirror, @lezer/highlight, yaml, dompurify, marked, docx-preview, highlight.js, xlsx

## Side by side

| | mlx-lm | LocalAI |
|---|---|---|
| Size | 77,344 lines written, 205 code files | 1,664,476 lines written, 3,682 code files |
| Who writes it | 0.8% of its commits signed by AI. With Claude Code, Cursor, and GitHub Copilot | 6.6% of its commits signed by AI. With Claude Code, GitHub Copilot, and Cursor |
| Activity | Last push November 18, 2026, 998 commits, 7,695 stars | Last push November 18, 2026, 10,101 commits, 50,425 stars |
| Tests | 28 test files. 67.3% of its code files have a test that imports them | 3,671 test files. 62.1% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, mlx-lm or LocalAI?

LocalAI, with 1,664,476 lines written; mlx-lm has 77,344.

The proof: [mudler/LocalAI's code at commit bb42108](https://github.com/mudler/LocalAI/tree/bb421089ecc58c1be557440effb22f720db351f0)

### Which has more GitHub stars, mlx-lm or LocalAI?

LocalAI, with 50,425 stars; mlx-lm has 7,695.

The proof: [mudler/LocalAI on GitHub](https://github.com/mudler/LocalAI)

### Which has more tests, mlx-lm or LocalAI?

LocalAI, with 3,671 test files; mlx-lm has 28.

The proof: [mudler/LocalAI's code at commit bb42108](https://github.com/mudler/LocalAI/tree/bb421089ecc58c1be557440effb22f720db351f0)

### Which was updated more recently, mlx-lm or LocalAI?

Both got their last push on November 18, 2026.

The proof: [ml-explore/mlx-lm's commits on GitHub](https://github.com/ml-explore/mlx-lm/commits)

### Which has more commits signed by AI, mlx-lm or LocalAI?

LocalAI: an AI signed 6.6% of its commits, with Claude Code, GitHub Copilot, and Cursor; in mlx-lm, 0.8%.

The proof: [the commits each tool signed in mudler/LocalAI](https://seerepo.com/r/mudler/LocalAI/ai)

## Sources

- ml-explore/mlx-lm: Read on November 19, 2026, at commit c4c9c76 (https://github.com/ml-explore/mlx-lm/tree/c4c9c762cc797fd979fc98645f5db5112753bbe9)
- mudler/LocalAI: Read on November 18, 2026, at commit bb42108 (https://github.com/mudler/LocalAI/tree/bb421089ecc58c1be557440effb22f720db351f0)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
