Shunya LabsShunya LabsPlayground

GraphRAG vs Vector RAG vs LazyGraphRAG: What Knowledge-Graph Retrieval Really Costs

ByNavvya Jain|Research & Product Analyst|AI Trends|16 Nov 2026

TL;DR , Key Takeaways:

  • Vector RAG is the cheapest to build. It embeds text chunks and retrieves the closest matches. It works well for specific questions answered by one passage.
  • GraphRAG uses a large language model (LLM) to extract entities and relationships, then writes summaries for groups of related entities. That makes indexing far more expensive. Microsoft’s own repository warns that indexing “can be an expensive operation”.
  • LazyGraphRAG skips the LLM summaries at indexing time. Microsoft Research reports its indexing cost is the same as vector RAG and 0.1% of full GraphRAG.
  • A knowledge graph pays off for questions that connect facts across many documents, or ask about a whole collection. For simple lookups, vector RAG is usually enough.
  • The cheapest setup is often a mix: vector search for simple questions, graph retrieval for connected ones, and small task-specific models for extraction and routing.

Why retrieval cost matters now

Knowledge graphs have moved from research papers into production retrieval systems. With that shift, the question teams ask has changed from “does GraphRAG give better answers?” to “what will it cost us to run?”

The answer depends far more on how you build the graph than on whether you use one. Indexing the same document collection can differ in cost by roughly a thousand times, depending on whether an LLM reads and summarises every chunk. This guide compares the three main approaches on cost and answer quality, using figures from Microsoft Research’s own papers, and explains when each one is worth it.

If you are new to the topic, start with our guide to knowledge graphs and RAG for enterprise AI, which covers what each one is and the problems they solve.

What are vector RAG, GraphRAG and LazyGraphRAG?

All three are forms of retrieval-augmented generation (RAG): they find relevant information first, then pass it to a language model to write the answer. They differ in how they organise the information before any question is asked.

Vector RAG

Documents are split into chunks, and each chunk is turned into an embedding (a list of numbers that captures its meaning). At query time, the system finds the chunks closest in meaning to the question and sends them to the model.

  • Example: “What is the notice period in our standard vendor contract?” The answer sits in one clause, so retrieving that chunk is enough.

GraphRAG

GraphRAG, published by Microsoft Research in 2024, adds two LLM-heavy steps at indexing time (Edge et al.):

  1. An LLM reads every chunk and extracts entities (people, products, policies) and the relationships between them, building a knowledge graph.
  2. The graph is split into communities of closely related entities using the Leiden algorithm, and an LLM writes a summary of each community.

At query time, each community summary produces a partial answer, and those are combined into a final one. This is what lets GraphRAG answer questions about a whole collection.

  • Example: “What are the recurring causes of customer escalations across all of last quarter’s support tickets?” No single ticket holds the answer.

LazyGraphRAG

LazyGraphRAG, announced by Microsoft Research in November 2024, keeps the graph but delays the expensive work until a question arrives.

  • At indexing: it uses standard natural language processing (NLP) to pull out noun phrases and how often they appear together. It builds a concept graph and communities from those statistics, with no LLM summaries.
  • At query time: an LLM breaks the question into sub-questions, ranks text chunks by similarity, checks them community by community for relevance, and answers from the relevant claims. A single setting, the relevance test budget, controls how much work it does per question.

Why is GraphRAG indexing so expensive?

GraphRAG is expensive to index because an LLM has to read every chunk to extract entities, then write a summary for every community in the graph. Vector RAG only computes embeddings, which is far cheaper per chunk. Cost in any RAG system splits into two parts:

  • Indexing cost: paid once per document, and again every time the document changes. It grows with the size of the collection.
  • Query cost: paid on every question. It grows with how many people ask questions and how much text the model reads to answer each one.

What Microsoft Research reports

ComparisonReported resultSource
LazyGraphRAG indexing vs vector RAGSame costMicrosoft Research, Nov 2024
LazyGraphRAG indexing vs full GraphRAG0.1% of the cost (about 1,000 times cheaper)Microsoft Research, Nov 2024
LazyGraphRAG vs GraphRAG global search, on whole-collection questionsComparable answer quality at more than 700 times lower query costMicrosoft Research, Nov 2024
LazyGraphRAG at 4% of GraphRAG global search query costOutperformed every method tested on both specific and whole-collection questionsMicrosoft Research, Nov 2024
GraphRAG answering from top-level community summaries vs summarising the source text directlyOver 97% fewer tokens per queryEdge et al., 2024

The last row matters. GraphRAG’s high indexing cost buys cheaper whole-collection answers later, because the model reads short summaries instead of the raw documents.

How to read these numbers

  • They come from the method’s authors. Independent replication on enterprise data is still limited.
  • The test sets are narrow. The LazyGraphRAG results use 100 synthetic questions over 5,590 AP news articles. Answer quality was judged by an LLM comparing answers head to head.
  • They are ratios, not prices. Your actual cost depends on the model you use, your token prices and how often your documents change.

GraphRAG vs vector RAG vs LazyGraphRAG at a glance

Vector RAG is the cheapest and simplest, GraphRAG is the most expensive to index but strongest on whole-collection questions, and LazyGraphRAG aims for graph-level answers at vector-level indexing cost. As of December 2026:

Vector RAGGraphRAGLazyGraphRAG
Uses an LLM at indexingNo (embeddings only)Yes, for every chunk and every community summaryNo (NLP and graph statistics)
Indexing costLowHighLow, same as vector RAG
Query costLowLow for specific questions; higher for whole-collection questionsAdjustable through the relevance test budget
Strongest onSpecific questions answered by one passageQuestions about themes across a whole collectionBoth, according to Microsoft’s tests
Cost of updating documentsRe-embed changed chunksRe-run LLM extraction and summaries for changed contentRe-run cheap NLP extraction
MaturityWidely used in productionOpen source since 2024Integrated into Microsoft Discovery and Azure Local (public preview, June 2025)

Sources: Microsoft GraphRAG, Edge et al., Microsoft Research on LazyGraphRAG.

When is a knowledge graph worth the cost?

A knowledge graph is worth paying for when answers depend on connections between facts spread across many documents. When the answer sits in one passage, vector RAG is usually enough and cheaper.

In the original GraphRAG paper, GraphRAG’s whole-collection answers beat vector RAG on comprehensiveness in 72–83% of head-to-head comparisons on podcast transcripts, and 72–80% on news articles (Edge et al.). Those gains were for questions about a whole collection, not for single-fact lookups.

Choose a knowledge graph when questions:

  • Connect several facts (multi-hop). “Which customers on the legacy plan were affected by last month’s billing change?” needs the plan, the change and the customer records linked together.
  • Ask about a whole collection. “What are the main complaints across 10,000 call transcripts?”
  • Need traceable answers. In regulated sectors such as banking and healthcare, being able to show which policy and which record an answer came from is often a requirement.
  • Depend on stable relationships. Product catalogues, policies, standard operating procedures (SOPs) and org structures change slowly, so the graph does not need constant rebuilding.

Vector RAG is usually enough when:

  • Questions are specific and each answer lives in one place (FAQs, manuals, single contracts).
  • Documents change constantly and the cost of re-indexing a graph would outweigh the benefit.
  • You are still testing whether retrieval helps at all. Start with vector RAG, measure where it fails, then add a graph for those question types.

How to reduce GraphRAG cost

The biggest savings come from using an LLM less at indexing time, and only sending a question to the graph when it needs one. Six practical levers:

  1. Start small. Microsoft’s GraphRAG repository advises users to read the documentation on costs and “start small”. Index a representative sample, measure the cost per thousand documents, then scale.
  2. Extract only what you need. Define the entity and relationship types your questions actually use (for example, product, policy, customer segment) instead of extracting everything. Fewer types means shorter prompts and smaller graphs.
  3. Tune the extraction prompts. The GraphRAG repository notes that out-of-the-box settings may not give the best results and recommends prompt tuning. Better prompts reduce re-runs and clean-up.
  4. Use a smaller model for extraction. Entity and relationship extraction is a narrow, repetitive task. A small model fine-tuned for it can be much cheaper per chunk than a general-purpose LLM. Test it against a hand-checked sample before switching, because extraction errors carry into every answer.
  5. Defer summarisation. The LazyGraphRAG approach shows that community summaries do not have to be written upfront. Building the graph with standard NLP and spending LLM effort only at query time can bring indexing cost down to vector-RAG levels.
  6. Route each question to the cheapest method that can answer it. Send specific lookups to vector search and only connected or whole-collection questions to the graph. Our guide to AI model routing covers how this works in practice.

Indexing is only part of the bill. Long prompts on every query often cost more over time; see why long context makes AI more expensive.

How Shunya Labs approaches knowledge-graph retrieval

Shunya Labs builds the knowledge graph around the parts of a business that change slowly and matter most, and uses small, purpose-trained models to keep each step efficient.

  • A focused knowledge layer. The Shunya Labs enterprise AI platform encodes products, regulations, SOPs and workflows in a knowledge graph, and connects it to documents, APIs and CRM systems. Graphing stable business knowledge, rather than every document, keeps indexing costs predictable.
  • Small models for narrow tasks. Custom SLMs of 15 million to 1.5 billion parameters are trained on an organisation’s own data for specific jobs, so routine steps do not need a large general-purpose model.
  • Grounded voice agents. Shunya’s voice agents answer from the same knowledge graph, so spoken answers follow the same policies as written ones.
  • Deployment where the data lives. The platform runs in the cloud, inside a private cloud (VPC), on premises or in air-gapped environments, which matters when the source documents cannot leave the organisation.

For a step-by-step view of combining both approaches, read how to build a hybrid knowledge graph and RAG architecture.

Working out whether a knowledge graph is worth it for your data? Talk to the Shunya Labs team.

Frequently asked questions

What is the difference between GraphRAG and vector RAG?

Vector RAG retrieves the text chunks most similar in meaning to a question. GraphRAG first uses an LLM to build a knowledge graph of entities and relationships, then summarises groups of related entities, so it can answer questions that span a whole document collection.

Is GraphRAG better than vector RAG?

GraphRAG is better for questions about themes across a whole collection. In Microsoft’s original paper, it beat vector RAG on comprehensiveness in 72–83% of comparisons on those questions. For specific questions answered by one passage, vector RAG is usually just as good and costs less.

Why is GraphRAG so expensive?

GraphRAG calls an LLM for every chunk to extract entities and relationships, and again to summarise each community in the graph. Vector RAG only computes embeddings. Microsoft’s GraphRAG repository warns that indexing can be expensive and recommends starting small.

What is LazyGraphRAG?

LazyGraphRAG is a Microsoft Research method that builds a concept graph with standard NLP instead of LLM summaries, and does the LLM work only when a question arrives. Microsoft reports its indexing cost is the same as vector RAG and 0.1% of full GraphRAG.

How much does LazyGraphRAG save compared with GraphRAG?

Microsoft Research reports about 1,000 times lower indexing cost, and comparable answer quality on whole-collection questions at more than 700 times lower query cost than GraphRAG global search. These results come from the authors’ own tests on a news dataset.

Can I build a knowledge graph with a small model instead of GPT?

Yes. Entity and relationship extraction is a narrow task that small, fine-tuned models can handle at a lower cost per document. Check the output against a hand-labelled sample first, because extraction errors affect every answer built on the graph.

When should I not use a knowledge graph?

Skip the graph when questions are specific and answered by single passages, when documents change so often that rebuilding the graph would cost more than it saves, or when you have not yet measured where vector RAG falls short.

Sources

Navvya Jain
|

Navvya Jain

Research & Product Analyst

Bio: Navvya works at the intersection of product strategy and applied AI research at Shunya Labs. With a background in human behaviour and communication, she writes about the people, markets, and technology behind voice AI, with a particular focus on how speech interfaces are reshaping access across emerging markets.

The fastest way to add voice AI to your products

One platform for speech in and speech out.