Text Embeddings Inference

AWS Artificial Intelligence (AI)

high throughput text embeddings and reranking, served behind an authenticated, OpenAI compatible API

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

Text Embeddings Inference (TEI) is Hugging Face's high throughput, low latency server for text embedding and reranking models. It serves models such as BGE, GTE, E5 and Sentence Transformers with dynamic batching and an OpenAI compatible embeddings API, so existing OpenAI SDK code works unchanged. It is the embeddings backend of a self hosted retrieval augmented generation stack: generate vectors from your own documents and queries, then store and search them in a vector database.

Why the cloudimg image

cloudimg ships TEI fully installed and configured as a system service, with a compact open weights model pre downloaded so the API returns vectors immediately. Access is gated by HTTP Basic Authentication with a fresh password generated on first boot, unique to every instance. The model cache lives on its own resizable data volume separate from the operating system disk, and every image ships with a paired step by step deploy guide and 24/7 cloudimg support.

Common uses

  • The embeddings backend of a private, self hosted RAG pipeline in your own VPC
  • High throughput batch embedding of documents for search and retrieval
  • A drop in OpenAI compatible embeddings endpoint for teams with data residency requirements

Key features

  • Hugging Face Text Embeddings Inference (TEI), the high-throughput embeddings and reranking server with an OpenAI-compatible API, preinstalled as a systemd-managed container behind an nginx reverse proxy on port 80
  • Runs on cost-effective general-purpose CPU instances with no GPU required: a compact open-weights embedding model is pre-baked so the API returns vectors immediately on first boot, with no model download
  • Secure by default: HTTP Basic Authentication with a unique password generated for every instance on first boot, plus 24/7 cloudimg support

Description

This is a repackaged open source software product wherein additional charges apply for cloudimg support services.

Overview

Text Embeddings Inference (TEI) is Hugging Face's high-throughput, low-latency server for text embedding and reranking models. It serves models such as BGE, GTE, E5 and Sentence Transformers with dynamic batching and an OpenAI-compatible embeddings API, so existing OpenAI SDK code works unchanged. This image delivers TEI fully installed and configured as a system service, so a private, self-hosted embeddings endpoint is running within minutes of launch. The current release available is TEI 1.9.

CPU Optimised

This image runs the official Hugging Face CPU container on ordinary general-purpose instances (m5, m6i families) with no GPU, no NVIDIA driver and no CUDA toolkit to manage. A compact open-weights embedding model is pre-downloaded at build time and served by default, so the API returns vectors immediately on first boot with no model download.

Application Stack

TEI runs as the official Hugging Face container under Docker, bound to the host loopback address, with an nginx reverse proxy fronting it on port 80. A systemd service starts the container on boot and restarts it on failure. The embedding model lives on a dedicated, independently resizable storage volume kept separate from the operating system disk.

Secure By Default

Access is gated by HTTP Basic Authentication at the nginx reverse proxy. This image generates a fresh password, unique to your instance, on its first boot and writes it to a root only file. The public health endpoint stays open for load balancers; the embedding and reranking endpoints require the password. No shared or default credentials ship in the image.

Ready To Use

Generate embeddings from the OpenAI SDK or the native API, and feed them into a vector database such as Weaviate or Chroma for retrieval augmented generation. Serve a different embedding or reranking model by editing the model name in the service environment file.

cloudimg Support

24/7 technical support by email and chat. Help with TEI deployment, model selection, instance sizing, batching and throughput tuning, the OpenAI-compatible API, TLS termination and scaling.

Use Cases

The embeddings backend of a private, self-hosted RAG pipeline in your own VPC. High-throughput batch embedding of documents. Reranking for search and retrieval. A drop-in OpenAI-compatible embeddings endpoint for teams with data residency or compliance requirements.

All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Related technologies

text embeddings inferenceteiembeddingsrerankingragopenai compatiblehuggingfacevector search