FlagEmbedding vs LocalAI
FlagEmbedding and LocalAI share 15 technologies: bitsandbytes, ModelScope, sentencepiece, transformers, torch, datasets, accelerate, peft, flash-attn, torchvision, vLLM, sentence-transformers, einops, tiktoken, and jinja2. FlagEmbedding is written in Python and LocalAI in Go.
What they share and what sets them apart
FlagOpen
FlagEmbedding
Retrieval and Retrieval-augmented LLMs
Python12.3kRead on November 11, 2026, at commit 897baa6What is FlagEmbedding built with?Only in FlagEmbedding
tornado
sqlglot
- ir-datasets
- rank-bm25
- flagembedding
mteb
deepspeed
timm
langchain-openai
In common
mudler
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Go50.3kRead on November 10, 2026, at commit 638bb56What is LocalAI built with?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
github.com/valkey-io/valkey-go/mock
- MCP
- Hugging Face
- Qdrant
OpenAI- anyio
- FastAPI
- Lightning
uvicorn
- Tokio
react-router-dom
- Vite
- Hono
- Gradio
matplotlib
- fyne.io/fyne/v2
- github.com/schollz/progressbar/v3
- gorm.io/gorm
- github.com/emersion/go-sasl
- github.com/nats-io/jwt/v2
- github.com/nats-io/nkeys
- golang.org/x/oauth2
github.com/aws/aws-sdk-go-v2/credentials
github.com/coreos/go-oidc/v3
- github.com/timbutler/zxcvbn
- conformer
- coqui-tts
- go-openai
llama-cpp-python
- llvmlite
- Model Context Protocol
- nemo-toolkit
- neucodec
- NVIDIA
- oneccl-bind-pt
- ONNX
- onnxruntime-gpu
openai-go
- phonemizer
- rfdetr
- s3tokenizer
scikit-image
- spacy-pkuseg
- texterrors
torchao
- torchtune
- vector-quantize-pytorch
github.com/gpustack/gguf-parser-go
github.com/mudler/nib
diffusers
- github.com/mudler/cogito
mlx
- github.com/mudler/localrecall
opencv-python
insightface
- mlx-lm
torchaudio
- github.com/yalue/onnxruntime_go
librosa
- onnxruntime
sglang
- compel
- faster-qwen3-tts
- faster-whisper
funasr
github.com/go-skynet/go-llama.cpp
- github.com/mudler/go-piper
- github.com/otiai10/openaigo
- github.com/streamer45/silero-vad-go
inference
- kokoro
- mlx-audio
moonshine-voice
- Ollama
optimum
- optimum-quanto
- outetts
- pocket-tts
- QWen
- qwen-tts
- rerankers
safetensors
speechbrain
- tinygrad
tokenizers
trl
voxcpm
- whisperx
av
markupsafe
- sox
- torchcodec
github.com/go-audio/wav
pillow
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
github.com/microcosm-cc/bluemonday
- github.com/russross/blackfriday
imageio
imageio-ffmpeg
- github.com/google/jsonschema-go
loguru
- github.com/mudler/xlog
- go.opentelemetry.io/otel/metric
- 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
- go.opentelemetry.io/otel/sdk/metric
- Prometheus
tracing-subscriber
fontsource-variable
- CodeMirror
- @lezer/highlight
- yaml
- dompurify
highlight.js
marked
Side by side
FlagEmbeddingLocalAI
SizeLines written by people and agents, without generated ones; code files, without tests.
FlagEmbedding97,836 lines written428 code files
LocalAI1,517,084 lines written3,281 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
FlagEmbedding0% of its commits signed by AI
LocalAI5.7% of its commits signed by AIWith Claude Code, GitHub Copilot, and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
FlagEmbeddingLast push October 27, 20261,204 commits12,314 stars
LocalAILast push November 10, 20269,704 commits50,282 stars
TestsThe files that test the code, and the share of code files a test imports.
FlagEmbedding22 test files0.2% of its code files have a test that imports them
LocalAI3,264 test files61.8% of its code files have a test that imports them
Frequently asked questions
Which is bigger, FlagEmbedding or LocalAI?
LocalAI, with 1,517,084 lines written; FlagEmbedding has 97,836.
The proof: mudler/LocalAI's code at commit 638bb56
Which has more GitHub stars, FlagEmbedding or LocalAI?
LocalAI, with 50,282 stars; FlagEmbedding has 12,314.
The proof: mudler/LocalAI on GitHub
Which has more tests, FlagEmbedding or LocalAI?
LocalAI, with 3,264 test files; FlagEmbedding has 22.
The proof: mudler/LocalAI's code at commit 638bb56
Which was updated more recently, FlagEmbedding or LocalAI?
LocalAI: its last push was on November 10, 2026, and FlagEmbedding's on October 27, 2026.
The proof: mudler/LocalAI's commits on GitHub
Which has more commits signed by AI, FlagEmbedding or LocalAI?
LocalAI: an AI signed 5.7% of its commits, with Claude Code, GitHub Copilot, and Cursor.
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.

