Knowledge assistants

RAG costs: budget for setup, models and knowledge maintenance

Reading time
13 minutes
Updated
Published
Written by
modernagents editorial teammodernagents is an AI automation agency from Austria for SMEs, based in the Vienna region.
AI-generated image: Small metal cash drawer with an indigo front panel on slate

Your team searches folders, manuals and old emails for answers every day, and an AI knowledge assistant is supposed to shorten that. The vendor quotes a low price per answer. You wonder what the RAG costs really are in the first year and whether the assistant pays off.

The costs of a RAG assistant cover more than the model's answers. They include connecting your sources, preparing the documents, retrieval, model usage, checking the answers and ongoing maintenance of the knowledge. A low price for an individual model response therefore says little about the total budget. A reliable estimate needs a clearly bounded task, your real data volumes and a person who looks after the content.

An example: a wholesaler of plumbing and heating supplies in Esch-sur-Alzette has 60 employees. In the sales office, several colleagues answer questions from installers and field sales staff every day. Which pump replaces an old model? What applies to a return? The answers are in data sheets, installation instructions, price lists and internal policies. Martine runs the sales office and is asked to work out what a knowledge assistant costs and whether it pays off.

Key takeaways

  • Break every cost line down into one-off work, monthly baseline costs and consumption. The hours of your own team count too.
  • In the budget example below, year one costs €18,000 and a second year with the same scope €10,800.
  • Calculate with correctly completed tasks. In the benefit example below, the assistant frees up less working time than it costs each month.
  • Before buying, check which volumes, sources and checks a proposal really includes.

01 / 11

What belongs in a RAG project budget?

RAG stands for retrieval-augmented generation. The system searches for content that fits a question, for example in Martine's data sheets, and supplies it to a language model as context. For budgeting, this means that retrieval must work on usable, current sources that only authorised people may see. An existing folder of files is not yet a maintained knowledge base.

These are the cost categories of a RAG project. Each comes with a question you should settle in the proposal.

Cost category Typical work or billing basis Question for the proposal
Source integration Connectors, identities, updates and deletions Which systems and permission groups are included?
Preparation Text extraction, OCR, tables, metadata and chunks Which file types and quality problems are covered?
Retrieval Index, storage, queries and optional reranking What workload and availability are assumed?
Generation Input and output tokens, additional model calls Which model, region and context size?
Acceptance Test questions, source review and permission checks Who judges whether answers are correct?
Operation Monitoring, incident handling, content ownership and retesting Who does this work after launch?

Split every line into one-off work, recurring baseline effort and usage-based consumption. Otherwise, a proposal with a low subscription can appear cheaper while all source maintenance and subject-matter testing remain with your team. Internal hours belong in the calculation even when they do not produce an additional supplier invoice. If Martine's team spends two hours a week checking new data sheets, that costs money, even without a supplier invoice.

This separation also shows who looks after what. The hosting provider keeps the assistant available but does not check whether the returns policy from the spring has since been replaced. Martine maintains the policy but has no access to investigate why the connection to the file drive has failed. Both tasks need an owner and their own line in the operating budget.

02 / 11

Which usage assumptions do you need?

Start with a list of your sources, and do not only count the files. Also record the page counts, the file types and the average length, as well as how often things change, who may access them and who is responsible. A thousand short, current instructions can need less preparation than a hundred poorly scanned manuals containing conflicting versions. At the wholesaler, the data sheets from the manufacturers' portal are clean, while the old installation instructions are scanned at an angle.

For an initial RAG cost estimate, capture five quantities:

  • pages in the first import
  • pages changed each month
  • stored text chunks
  • monthly user questions
  • average model calls per question

Add peak demand and the number of users working at the same time. If 60 people have an account but only five ask questions at the same time, that is a different workload from what the number of accounts suggests.

Check the assumptions against a sample that represents your real documents well. If Martine tests only clean PDFs from the manufacturers' portal, the sample may exclude the difficult tables, the scanned attachments and the duplicated contract versions. Also record which content deliberately stays outside the system. That way it is clear what belongs to the project, and a newly discovered folder does not silently become part of the originally agreed work.

Also distinguish the first import from ongoing updates. Processing only changed documents can involve much less material than repeating a full import every month. Whether incremental processing is actually implemented should be stated in the technical design. An assumed saving without working change detection does not yet belong in the binding budget.

03 / 11

How do you price document preparation and retrieval separately?

Document preparation

Reading a clean PDF, turning a scan into text with OCR or extracting a complicated table with a specialist service are different services. How they are billed depends on the service. A price for one method is therefore not a universal price for processing every PDF. You find an example in the section "For your IT team".

Put the exact service, the billing unit and the expected quantity into the cost sheet. Add the manual correction of damaged tables or missing metadata as a separate line. If someone in Martine's team has to clean up a crooked scan of an instruction manual by hand, those hours do not disappear just because the automated extraction costs a few cents.

Retrieval

Search services also bill in different ways. Some charge a fixed hourly amount for reserved capacity, others bill by consumption. So compare three months: a normal month, a month with a large first import and a quiet month. A single price per user may describe these three situations poorly. Evaluate reserved capacity and usage-based operation against the same requirements for response time, data handling and operational support.

The cheapest visible price row is only useful when it describes something you can actually use. What your IT team should check at Microsoft is in the section "For your IT team".

04 / 11

What does generation alone cost? A worked example

What is still open is what the model's answers themselves cost. According to Google's official pricing page, as of 26 September 2026, Gemini 3.1 Flash-Lite in the standard service, Global region, costs US$0.25 per million input tokens and US$1.50 per million text output tokens. The output tokens include billed reasoning tokens. Billing in other currencies uses the corresponding local SKU prices (Google model pricing).

For our own calculation, which is independent of the wholesaler, assume 10,000 questions a month. Each question uses exactly one model call with 6,000 total input tokens and 500 billed output tokens. The result:

Component Calculation Generation cost
Input 10,000 × 6,000 = 60 million tokens US$15.00
Output 10,000 × 500 = 5 million tokens US$7.50
Total Input plus output US$22.50

These US$22.50 are only the calculated model consumption in this example. Retrieval, embeddings, document preparation, hosting, support and expert review come on top. The price row is also not a recommendation for this model. Whether a Global configuration meets your processing-location requirements is something you have to check separately.

A short answer is also not necessarily a cheap request. A concise paragraph might have required a large context and several intermediate steps. Record the complete request path before deciding where optimisation would make a meaningful difference. What goes into the tokens of a request is in the section "For your IT team".

05 / 11

What does a complete first-year budget look like?

Suppose Martine plans the assistant for the sales office as a bounded internal knowledge project with the values below. This example is independent of the dollar calculation above, and every euro amount is an assumed planning value. The amounts come neither from client projects nor from market-price research or a quotation from modernagents. The table shows the structure of a budget. Taxes, actual supplier quotations and individual contract terms need separate treatment.

Item One-off Monthly
Source integration, configuration and technical acceptance €6,000 €0
Internal introduction and initial expert review €1,200 €0
Infrastructure and retrieval €0 €200
Allowance for models, embeddings and document processing €0 €100
Knowledge maintenance by a subject owner €0 €300
Sampling and answer review €0 €180
Technical operation and incident handling €0 €120
Total €7,200 €900

In this example, year one is €7,200 + 12 × €900 = €18,000. A second year with unchanged scope would be €10,800. Expansion, new connectors, migrations and major redesigns are not automatically included.

The monthly €100 model allowance covers several technical services. It cannot be compared directly with the US$22.50 from the single generation calculation. Currency, workload, included services and actual usage would first need to match.

Next, check how strongly the total reacts to single assumptions. If knowledge maintenance rises from €300 to €600 a month, the yearly amount goes up by €3,600.

And if only infrastructure doubles from €200 to €400, €2,400 is added. This shows which assumptions you should check more closely before a decision.

Keep the internal effort visible in the purchase proposal. If management approves the project using only the external invoices, Martine's team may discover later that nobody has time to check the sources. A budget that includes internal effort makes this decision about working time explicit, even when less money leaves the account than the project costs in total.

Got a workflow like this?

Tell me about it. Honest take and a rough price, usually within a day.

06 / 11

When does a knowledge assistant pay off?

On the other side of the budget is the benefit. Calculate the cost per task completed correctly. An answer can arrive quickly and still create more work if it stays unclear which source it comes from, whether it is still valid or whether the person asking may see it. So record search time, checking, rework and the cases that are still handled fully by hand.

In this example, Martine calculates deliberately cautiously. The number of questions, the times and the hourly value are also assumed planning values, like the amounts in the budget example. Without the assistant, her team needs six minutes for each of 600 questions a month, 3,600 minutes in total. With the assistant, the questions split up like this:

Outcome Questions Total handling time per question Monthly time
Correct answer with a short check 360 2 minutes 720 minutes
Error or unsuitable source requiring rework 180 8 minutes 1,440 minutes
No usable answer; manual handling 60 6 minutes 360 minutes
Total 600 4.2 minutes on average 2,520 minutes

The difference is 1,080 minutes, or 18 hours. At an assumed internal hourly value of €40, that represents €720 of released capacity.

That is below the assumed €900 monthly total cost, and the setup has not been recovered at all yet. Claiming rapid payback from these numbers would be incorrect.

Freed-up working time is also not automatically a payroll saving. It becomes economically useful when Martine's team uses it, for example, to complete additional work, avoid overtime or reduce a bottleneck. Decide before testing how you will record that use and what minimum quality the answers must have.

Keep unsuccessful questions in the measurement. Removing them from the denominator, so that they no longer count, makes the assistant look better while leaving the business with the same unresolved work. It is reasonable for a system to decline questions outside its scope. But the remaining manual effort still belongs in the overall business case.

07 / 11

Which costs are easily missed during implementation?

A change in the sources can create work without any increase in user numbers, and permission changes and new file formats count too. Suppose the wholesaler rebuilds its folder structure or replaces the program the price lists come from. Agree which changes are covered by ongoing operation and which require a separate quotation.

Also budget for retesting after material changes. A different model or a different way of splitting the documents may reduce consumption while making certain answers worse. Use a fixed set of typical and difficult questions for this, including deliberately unanswerable questions and questions where the person asking may not see a source.

Two separate reserves help the budget: one for variable technical consumption and one for additional work. A cloud spending alert does not limit unexpected internal maintenance effort. Conversely, having an available subject expert like Martine does not prevent a faulty import from repeatedly processing the same documents.

Also think about the case where you discontinue the assistant. The business then still needs its sources, the records of who is responsible for what and, where available, a reusable set of test questions. Clarify the effort for this handover in advance, especially when a supplier has built custom mappings or transformed documents into a proprietary format.

08 / 11

What should a supplier proposal specify?

Request a defined scope rather than a single monthly number. A supplier proposal for a RAG project should:

  • identify sources and user groups
  • explain update handling
  • show consumption units
  • describe acceptance

Also ask how export and handover work and who investigates a wrong answer from the assistant.

A useful comparison includes at least a normal operating month and a higher-load scenario. Ask all suppliers to calculate with the same quantities and the same test questions. A less expensive offer may be a good fit if it deliberately includes less. What matters is that this boundary stays visible and fits the time your team can put in itself.

If Microsoft 365 licences or an existing search platform are already available, first check how much additional effort that solution would need. A custom RAG assistant is not worth it simply because its model costs are low. It depends on whether the necessary sources, access rules and workflows can be covered at a reasonable total effort.

09 / 11

For your IT team

For document preparation, the billing unit depends on the service. Google's official Document AI pricing, for example, distinguishes processors and volume units (Document AI pricing).

For retrieval, Microsoft lists dedicated capacity billed by the hour for Foundry IQ/Azure AI Search. There is also a serverless plan in preview that bills compute and storage by consumption. Serverless can scale to zero while idle. Additional features may incur separate charges. So the region and plan must be specified concretely (Microsoft search pricing).

Do not assume that a preview deployment is interchangeable with every established production configuration. The relevant comparison is the configuration that meets your requirements and is available to your organisation, including its limits and support terms.

Input tokens include the context sent to the model and, where applicable, the conversation history. If the system first rewrites a question, plans several retrieval steps or sends an answer through another model for checking, add those calls to the calculation. Once a pilot is running, use the actually measured consumption instead of a flat assumption per visible answer.

10 / 11

Take the worksheet

Worksheet

Download the editable budgeting worksheet

AreaDriverPlanning question
IntegrationSource diversityWhich sources are necessary?
PreparationScans, tables, updatesReprocessing frequency?
Search/storageData and queriesExpected workload?
GenerationContext and answer lengthRequired response scope?
QualityReview and source changesWho has capacity?

Columns to fill in, in the file: Your value / observation, Owner, Next action.

Download the editable budgeting worksheet (CSV). Replace example values with your volumes and quotations. Add internal review time, change-handling effort and a higher-usage scenario. The worksheet contains no measured client results.

11 / 11

These modernagents guides cover related decisions about AI knowledge assistants:

For a useful estimate, bring a source inventory, typical questions and the relevant user groups. Discuss a RAG project with modernagents.

ShareEmail

Related reading

AI knowledge assistants

Got a workflow like this?

Tell me about it. Honest take and a rough price, usually within a day.

Robert Van Ysendyck · Founder & Managing Director