ComponentWhy it is unattributedcalls$ / run
Model · 35%Long-context inference (Gemini 2.5 Pro)Full document context (90k-200k tokens) is sent in one call. Gemini 2.5 Pro is preferred for the 1M-token flat-rate window and strong extraction on dense legal text.tokens in: 192,000 · tokens out: 5,500Visible on the invoice.2$0.29
Prompt · 3%Extraction schema and compliance checklistA 9,500-token prompt encodes the extraction schema (risk categories, covenant types, change-in-control triggers) and is sent twice per run without caching.tokens in: 19,000 · tokens out: 0Visible on the invoice.2$0.024
Orchestration · 4%Pre-processing and post-processing pipeline callsA chunking agent pre-processes the PDF into structured sections; a validation agent checks extraction completeness. Both are billed model calls.tokens in: 14,000 · tokens out: 1,800Pre- and post-processing calls are logged as 'pipeline infra' costs, not attributed to the filing review workflow.4$0.032
Retrieval · 30%Precedent-filing vector lookupPrior filings from the same issuer are retrieved from the vector store to enable change-detection. Embeddings are regenerated on each run rather than cached.tokens in: 24,000 · tokens out: 0Embedding regeneration on every run is a design default in LlamaIndex; the cost appears on the embedding-provider invoice, not in the LLM spend view.8$0.25
History · 21%Cross-document comparison contextSummaries from the prior cycle review are prepended to the current run to enable year-over-year change analysis without storing structured diffs.tokens in: 18,000 · tokens out: 0Cross-cycle context is framed as 'document memory' and handled by the application layer; it never appears as a token cost line in the model provider bill.2$0.18
Connectors · 7%Box, DealCloud, PitchBook, and Power BI connectorsThe workflow retrieves the filing pack from Box, enriches with PitchBook issuer data, writes extracted covenants and risk factors to the DealCloud record, and refreshes the Power BI compliance dashboard. Each external record is normalized by a small LLM mapping call.tokens in: 9,000 · tokens out: 700Box and DealCloud connector traffic bills to the document-platform and deal-CRM contracts; the PitchBook pull sits on the data-vendor invoice. None of it appears in the filing-review LLM spend view.6$0.060
Regulatory filing review costs ~$0.84/run but 62% is re-embedded precedent lookups, cross-cycle context, and Box/DealCloud connector sync hidden across several vendor invoices.