TEI (Text Embeddings Inference)
High-performance embedding server by Hugging Face for production deployment.
About
Text Embeddings Inference, or TEI, is Hugging Face's high-performance server for deploying text embedding, reranking, and sequence classification models in production. Written in Rust, it skips model graph compilation for fast startup, ships small Docker images, and applies token-based dynamic batching alongside optimized inference paths built on Flash Attention, Candle, and cuBLASLt. Supported architectures span BERT-style encoders, XLM-RoBERTa, CamemBERT, JinaBERT, ModernBERT, and MPNet plus embedding families like Nomic, GTE, E5, Qwen, Mistral, and Gemma, loading Safetensors or ONNX weights. It exposes both HTTP and gRPC APIs, emits OpenTelemetry traces and Prometheus metrics, and runs on x86 and ARM CPUs, NVIDIA GPUs from Volta onward, Apple Silicon via Metal, and experimentally on AMD ROCm. Engineers building RAG pipelines, semantic search, and reranking services reach for TEI when they need scalable embedding throughput without writing their own serving layer. Released under the Apache 2.0 license.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- Vector Databases & Embeddings
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Easy (2/5)
- License
- Apache-2.0
- Minimum VRAM
- 4 GB
- Added
- Apr 3, 2026
Related Tools
Fast embedding inference server supporting many embedding models.
All-in-one embeddings database for semantic search, LLM orchestration, and language model workflows.
Library for representing and sending multimodal data by Jina AI.
Python client library for Qdrant vector database.
End-to-end vector search engine with built-in model inference.
Efficient similarity search library by Meta for dense vector clustering and retrieval.
Mentioned in
The Best Self-Hosted AI Stack for Small Teams in 2026
An opinionated reference architecture for self-hosted team AI in 2026: vLLM, Open WebUI, LiteLLM, Qdrant, and...
Billy C
Best Open Embedding and Reranker Models for RAG in 2026
The open embedding and reranker models worth running in 2026, from Qwen3-Embedding to BGE-M3, with honest...
Max P