Applications

RAG monthly cost estimator

Monthly cost of a retrieval-augmented answer flow: query embedding, retrieved chunks in the prompt, and the generated answer.

Model, priced from the vendor page on the verified date
monthly cost0.00

Prices read from the vendor pages on 2026-10-20. Arithmetic on list prices, not advice or a quote.

Pro

Saving and exports need Norwell Tools Pro, $9 a month. See what is in it. Everything above is free.

How it works

In a RAG flow the retrieved chunks are the bulk of the input tokens, and they differ per query so they cannot be cached. The system prompt can. Embedding the question is a rounding error next to generation.

The formula

prompt = system + question + chunks * tokens_per_chunk; generation = llm-api-cost(prompt, answer) with the system share cached; embedding = question_tokens * embed_price

Worked example

With the inputs the page opens on:

  • queries per month: 50000
  • chunks per query: 5
  • tokens per chunk: 400 tokens
  • system prompt tokens: 600 tokens
  • question tokens: 60 tokens
  • answer tokens: 300 tokens
  • generation model: claude-sonnet-5-5
  • embedding model: text-embedding-3-small
  • system prompt cached: true

gives

  • monthly cost: $359.06
  • cost per query: $0.00718
  • generation cost: $359
  • embedding cost: $0.0600
  • prompt tokens per query: 2,660 tokens

Sources

Prices read from each vendor's own pricing page on 2026-10-20; the page may have changed since. This is arithmetic on published list prices, not advice or a quote. Check the vendor's page before committing a budget.

Questions

Where is the vector database?
Not here. Retrieval infrastructure is priced by its vendor; this tool covers the model calls.

Related tools