ModelFarebeta
Back to AI Toolkit

LightRAG

Combine graph and vector retrieval for document-backed answers.

Toolkit

Context & retrieval · Documentation reviewed 2026-11-10. Not independently tested.

When it helps

Exploring retrieval that connects entities and text across a document collection.

What to consider

Indexing can make many extraction and embedding calls. Retrieval quality and total cost depend on documents, model choices, and storage.

Getting started

Use the documented server or Python setup, configure model and embedding backends, then index a small document set first.

Access & costs

Runs
Local / Self-hosted
External account
Optional
API key
Optional
Costs
Local or service costs

Local or hosted model backends are supported. Include indexing, embeddings, and storage in your budget.

  • Python or Docker
  • Model, embedding, and storage configuration

Repository evidence

Stars: 40,816 · License: MIT

Last code push: 2026-11-22

Statistics retrieved: 2026-11-23T00:42:59+00:00

Counts are snapshots, not live rankings. Review the repository license and any hosted-service terms before adopting it.

Adding model calls?

Plan the tokens, retries, and fallback costs before connecting your tools.

Open the planner