SUBLENS · GUIDES

AI Document Summarization Cost

Estimate API costs for long-document summarization, including prompt length, chunking and a final synthesis pass.

Estimate the document and the summary independently

For 50 documents a day over 20 days, one API call per document gives 1,000 requests per month. A document averaging 24,000 input tokens and a summary averaging 600 output tokens produce monthly volumes of 24 million input and 600,000 output tokens. Price the two volumes separately at the selected model’s Standard rates, then add them.

Measure tokens after extraction and cleanup. A page count or byte size can hide big differences between prose and dense tables. The input includes the extracted text, instructions and any metadata you append. Include the full billed output volume when the model reports tokens beyond visible summary text.

Worked monthly estimate

50 requests/day × 20 days = 1,000 requests/month. Multiply 24,000,000 input and 600,000 output tokens by their rates per million, dividing each token count by 1,000,000 first. Add the two charges.

Standard API rates in USD (without cache or batch discounts)
ModelInputOutputMonthly total
GPT-6.2 Sol$48.00
$2.00 / 1M
$6.00
$10.00 / 1M
$54.00
Claude Haiku 5.5$2.40
$0.10 / 1M
$0.30
$0.50 / 1M
$2.70
Gemini 4 Hydrogen$36.00
$1.50 / 1M
$4.50
$7.50 / 1M
$40.50

Open this example in the calculator →

Budget for chunking and synthesis

If long documents exceed the usable context window, estimate the chunking pass and the final synthesis pass separately. For example, four chunks per document become 200 chunk requests per day, plus 50 synthesis requests if each document needs a second pass. Overlapping passages and repeated instructions increase input volume. The intermediate summaries are paid outputs and become inputs to the synthesis pass.

Check context-based price tiers against tokens per request. Averages across many documents can hide an expensive group of longer requests. Estimate short and long documents separately when they fall in different tiers.

Decide what belongs in this estimate

The worked example assumes one text request per document at Standard pricing. OCR, image inputs, file conversion, storage and validation retries change the budget. Compare the one-pass and two-pass workflows on the same sample before choosing either for production.

Sample the documents your users will actually submit

Collect a small set that includes your common document types and some plausible long ones. Count tokens in the exact payload after parsing rather than the uploaded file. A spreadsheet converted to plain text can grow when every cell repeats a column header. A report can shrink when you strip repeated footers and references. Store the input and output figures separately so you can explain why two documents of the same page count cost different amounts.

Estimate summaries by the content you need to produce. A short executive summary, a section-by-section extract and a structured list of citations can use very different output lengths. Include required JSON keys, repeated titles and billed reasoning. Measure actual outputs from representative tasks. A requested token limit is a cap, while the average billed output is the better estimate for the ordinary workload.

Account for each step of a multi-pass workload

Suppose a 24,000-token document is processed in four pieces. Set requests for the first pass to four times the daily document count, and set the input per request to the average chunk size plus any overlap and instructions. The output per request is the measured intermediate summary length. For the second pass use the daily document count again and include the combined intermediate outputs and synthesis instructions as input to that pass. Add both monthly estimates.

Some documents may need one pass while others require several, even within the same upload queue. Estimate each class separately with its own volume. At a pricing threshold, an average computed across all documents can price some inputs at the wrong rate. Classify documents by per-call token counts before averaging. When requests exceed a model’s limits, choose a feasible chunking or truncation strategy and estimate that workflow.

Compare costs only after checking output quality

Work through the same sample with a one-pass and a two-pass method. A two-pass approach can recover useful details from the middle of long material, but it also adds intermediate text and another call. A one-pass method saves those charges only if it fits the context window and produces a useful result. Compare citation accuracy and coverage of important findings before treating either quote as a saving.

Take note of exceptions that create extra calls. A failed parse may send a shorter recovery prompt. An invalid structure may require a retry. A document with scanned pages may first need OCR or an image input at a separate rate. A tool that reuses cached results can avoid a model request entirely. Log these as distinct events and use the calculator for each text workload you actually send.

Preserve the assumptions for the next reader

Record the date you verified the prices, the provider model ID and the prompt preparation method alongside your estimate. Include whether the figures are for a normal month or the month a customer imports an archive. The two months can have different document counts, sizes and deadlines. Recalculate when the model changes, the input mix changes or you add a synthesis pass. This keeps the number useful for budgeting even when a feature or price later moves.

For the example above, changing only output from 600 to 1,200 tokens leaves monthly input at 24 million and doubles monthly output from 600,000 to 1.2 million tokens. It only doubles the output portion of the bill. That is a simple check when comparing a concise brief with a more detailed summary.

Official sources

How we verify prices and handle missing information

Continue reading