txtai
All-in-one embeddings database and LLM orchestration framework with a self-hosted API.
Quick answer
txtai is an all-in-one embeddings database and LLM orchestration framework with a self-hosted API, listed under Data labeling & vector databases. A typical small-business use: semantic search API over internal documents or product catalog embeddings. The project publishes no official RAM figure, so we do not estimate a monthly server cost. License: Apache-2.0, which allows internal business use.
Last updated · facts verified against official docs on · sources
Activity data comes from GitHub and was last refreshed Nov 23, 2026.
What is txtai?
txtai is an Apache-2.0 Python framework for semantic search, LLM orchestration and language-model workflows. It builds embeddings indexes, runs pipelines (summarization, transcription, LLM prompts) and can serve them over a FastAPI/web API or as scheduled workflows. Install with pip or run the official CPU/GPU Docker images; bindings exist for JavaScript, Java, Rust and Go.
Where it fits in a 10–200 person business
- Semantic search API over internal documents or product catalog embeddings
- Orchestrate LLM + embedding pipelines behind a single self-hosted HTTP API
- Embeddings-backed workflows (summarize, extract, question-answer) without a separate vector DB
These use cases are our editorial suggestions, not claims made by the project.
Can a business use txtai? (license)
| License | Apache-2.0 |
|---|---|
| Type | Permissive: MIT / Apache-2.0: use, modify and sell with few obligations. |
| Internal business use | Allowed under the license text |
| What to watch | Permissive. Internal and commercial use allowed; keep license and notices. |
This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.
Data & compliance: does txtai phone home?
| Telemetry (usage data sent to the vendor) | Not documented |
|---|---|
| Other calls home by default (updates, marketplaces, default cloud services) | Not documented Embedding and LLM pipelines download models from Hugging Face (or other configured sources) at runtime unless cached; cloud extras can talk to cloud compute you configure. |
| Single sign-on (OIDC / SAML / LDAP) | Not documented |
| Audit log | Not documented |
| Role-based access control (RBAC) | Not documented |
| Data residency / GDPR notes from the project | Not documented |
Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.
What hardware does txtai need?
The project does not publish a minimum CPU/RAM figure, so we leave the official value blank rather than guess.
GPU: Optional. Official Docker Hub images exist for CPU (neuml/txtai-cpu, recommended when no GPU) and GPU (neuml/txtai-gpu); the default pip install pulls GPU-capable PyTorch, with a documented CPU-only install path.
No official CPU/RAM/disk server minimums are published. Models are downloaded at runtime unless you cache them into the image or mount TRANSFORMERS_CACHE; per-model memory needs depend on the embeddings and LLMs you configure.
Source: neuml.github.io/txtai/cloud/
How much does it cost to host txtai per month?
The project publishes no RAM figure we could verify, so we do not estimate a cost.
How to deploy txtai
Method: Docker (API image)
# build an API image that caches models from a local config.yml (see cloud docs)
wget https://raw.githubusercontent.com/neuml/txtai/master/docker/api/Dockerfile
# place a config.yml next to the Dockerfile (embeddings path, writable: true, ...)
docker build -t txtai-api .
docker run -p 8000:8000 --rm -it txtai-api
# or pull a prebuilt base image for interactive use:
# docker run -v <local dir>:/models -e TRANSFORMERS_CACHE=/models --rm -it neuml/txtai-cpu From the official instructions: neuml.github.io/txtai/cloud/. Always check the source for the current version before you run it.
Known gotchas when self-hosting txtai
- Base Docker Hub images ship with no models; each container start re-downloads them unless you cache models in the image or mount TRANSFORMERS_CACHE to a volume. source
- The default pip install pulls PyTorch with GPU support. For CPU-only servers, install the CPU-only torch wheel with txtai as shown in the install docs (or use neuml/txtai-cpu). source
- The API container expects a config.yml that defines which embeddings, pipelines or workflows to expose; an empty or missing config will not give you a useful service out of the box. source
Alternatives in Data labeling & vector databases
- LlamaFactory Fine-tune 100+ open LLMs and VLMs from a web UI or CLI, without writing training code.
- Meilisearch Fast search engine with full-text, semantic and hybrid (AI) search, shipped as a single binary.
- Milvus Scalable open-source vector database for semantic search and RAG at large data volumes.
- Qdrant Fast vector database for semantic search and RAG back-ends.
- Chroma Open-source embedding database for vector, full-text and metadata search in RAG apps.
- Label Studio Data labeling tool for text, images, audio and video, used to build and evaluate AI models.
- Typesense In-memory search engine with typo-tolerant keyword, vector, semantic and hybrid search.
- pgvector Open-source PostgreSQL extension for vector similarity search, next to your relational data.
- CVAT Image, video and 3D annotation tool for building computer-vision training data, with AI-assisted labeling.
- Weaviate Open-source vector database with hybrid search, RAG and multi-tenancy built in.
- doccano Open-source text annotation tool for classification, sequence labeling and seq2seq datasets.
- Kiln Local desktop workbench for evals, RAG, agents, synthetic data and fine-tuning, with an MIT Python library.
txtai FAQ
How much RAM does txtai need?
txtai does not publish an official RAM figure, so we do not state one. Models are downloaded at runtime unless you cache them into the image or mount TRANSFORMERS_CACHE; per-model memory needs depend on the embeddings and LLMs you configure.
Does txtai need a GPU?
Optional. Official Docker Hub images exist for CPU (neuml/txtai-cpu, recommended when no GPU) and GPU (neuml/txtai-gpu); the default pip install pulls GPU-capable PyTorch, with a documented CPU-only install path.
How much does it cost to self-host txtai?
The software is free to download. The project publishes no official RAM figure, so we do not estimate a monthly server cost.
Is txtai free for commercial use?
txtai is licensed under Apache-2.0 (Permissive). Internal business use is allowed under the license text. Permissive. Internal and commercial use allowed; keep license and notices. This is a summary, not legal advice.
What are common problems when self-hosting txtai?
Base Docker Hub images ship with no models; each container start re-downloads them unless you cache models in the image or mount TRANSFORMERS_CACHE to a volume. The default pip install pulls PyTorch with GPU support. For CPU-only servers, install the CPU-only torch wheel with txtai as shown in the install docs (or use neuml/txtai-cpu). The API container expects a config.yml that defines which embeddings, pipelines or workflows to expose; an empty or missing config will not give you a useful service out of the box.
Is txtai still maintained?
Yes, it is actively developed. Last commit: Nov 23, 2026. Latest release: v9.15.0 (Nov 23, 2026). Checked Nov 23, 2026.
How do I install txtai?
The official method is Docker (API image). The exact commands are in the "How to deploy" section above and in the official instructions: https://neuml.github.io/txtai/cloud/
What are self-hosted alternatives to txtai?
Other apps in Data labeling & vector databases: LlamaFactory, Meilisearch, Milvus, Qdrant, Chroma, Label Studio, Typesense, pgvector, CVAT, Weaviate, doccano, Kiln.
Sources
- GitHub repository: github.com/neuml/txtai
- Official documentation: neuml.github.io/txtai/
- License text: github.com/neuml/txtai/blob/master/LICENSE
- Hardware requirements, Deploy instructions, Gotcha 1, Gotcha 3: neuml.github.io/txtai/cloud/
- Gotcha 2: neuml.github.io/txtai/install/
- Hetzner Cloud pricing (cost estimate): www.hetzner.com/cloud/regular-performance
- GitHub stars, commits and releases: GitHub REST API, fetched
Facts on this page were checked against the project's own repository and docs on 2026-11-06. Spotted something out of date? Tell us.