Estimate how many context tokens the chunks in a retrieval prompt consume so you can size the context window.
Context chunks is required
tokens is required
RAG Chunk Budgeter — Total context derived from Context chunks, tokens. Designing RAG prompts..
Formula
totalContext = contextChunks × tokens