talira

Compare

model2vec-rsfastembed-rscandleModel2Vec
What it isFast State-of-the-Art Static Embeddings in RustRust library for generating vector embeddings, reranking locallyMinimalist ML framework for RustFast state-of-the-art static embeddings, and lightweight classifiers trained on top of them
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.570.620.730.35
Stars240105321399—
Last commit2026-11-232026-11-092026-11-19—
LicenceMITApache-2.0MIT OR Apache-2.0MIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyMinish—Hugging FaceMinish
Features
  • inference for Model2Vec static models: tokenize, look up, average
  • loads from the Hugging Face Hub, local paths, or bytes (from_bytes) for WASM and embedded use
  • f32, f16 and int8 weights; quantize_int8 at load time
  • batch encoding with configurable max length and batch size; Rayon parallelism
  • flat row-major output (encode_flat)
  • opt-in CLI (cli feature): encode-single and encode a file to JSON
  • Python bindings (model2vec_rs.StaticModel) that release the GIL
  • local-only and wasm feature sets
  • All 9 features
  • dense, sparse and image embeddings
  • rerankers (BGE, Jina)
  • synchronous API, no Tokio dependency
  • ONNX inference through ort
  • quantized model variants
  • user-defined local models via try_new_from_user_defined
  • candle backend for Qwen3, nomic v2 MoE and BERT, with Metal and CUDA
  • DirectML on Windows
  • All 12 features
  • PyTorch-like tensor API with autograd and training
  • CPU backend with optional MKL (x86) and Accelerate (macOS)
  • CUDA backend with cuDNN, multi-GPU via NCCL, and JIT CUDA kernels in Rust (cuTile)
  • Metal backend for Apple silicon
  • WebAssembly support for in-browser models
  • candle-transformers: LLMs, Whisper, Stable Diffusion, BERT-family encoders, vision models and more
  • loads safetensors, npz, GGML/GGUF and PyTorch files
  • quantization with llama.cpp's quantized types
  • All 11 features
  • distills any Sentence Transformer into a static model in about 30 seconds on CPU, without a dataset
  • pre-trained Potion models on Hugging Face: English, multilingual, retrieval and code
  • up to 50x smaller and up to 500x faster than the source model on CPU (maker's figures)
  • mean embeddings and per-token sequence embeddings
  • fine-tuning for single- and multi-label classification, similarity, regression and pair similarity
  • trained classifiers export to scikit-learn pipelines that run without torch
  • push and load models and classifiers on the Hugging Face Hub
  • optional float16 or int8 quantization and vocabulary quantization
  • All 10 features
Limitations
  • Doesn't distill or train models: that's the Python model2vec package; model2vec-rs only runs inference