How to use this calculator
A document assistant can have short answers but high input costs because retrieved passages, metadata, and instructions are included.
AI Costs
Use this for PDF chat, knowledge-base assistants, RAG workflows, and document summarization features.
Large-context input cost + answer output cost, multiplied by a retrieval buffer
A document assistant can have short answers but high input costs because retrieved passages, metadata, and instructions are included.
This page explains the arithmetic behind the estimate so you can adjust assumptions before using the number in planning.
No. Embeddings, vector storage, OCR, and parsing should be modeled separately.
Retrieval quality, follow-up questions, and long documents can increase prompt size.
Use separate scenarios for short, normal, and large documents when possible.