{
  "id": 10883371,
  "title": "RAG Architecture Diagram: the Boxes and What Each Arrow Costs",
  "url": "https://urgent.news/2026/09/30/rag-architecture-diagram-the-boxes-and-what-each-arrow-costs",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-30T07:06:17.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/smartgate/rag-architecture-diagram-the-boxes-and-what-each-arrow-costs-58ag"
  },
  "original_language": "en",
  "account": "A RAG architecture diagram consists of five boxes and six arrows, each carrying a payload that incurs costs. These boxes include an index, retriever, reranker, context builder, and loop controller. The index dictates what the retriever can find, while the retriever transforms a query into candidate passages. The reranker orders these candidates, and the context builder determines what the model ultimately reads. The loop controller decides whether the entire process repeats. Key takeaways include that the loop controller is where costs accumulate, and the context builder is the only box whose effect can be measured within a single request.",
  "summary": "Short answer: A RAG architecture diagram is five boxes and the arrows that join them - an index you build, a retriever that turns a query into candidates, a reranker that orders them, a context builder that packs what the model may read, and a loop controller that decides whether any of it runs again. Every arrow carries a payload, and every payload is paid for twice: once when it is moved, once…",
  "key_points": [
    "RAG architecture consists of five boxes and six arrows",
    "Loop controller incurs most of the costs in the process",
    "Context builder's effect measurable per single request"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}