Invoicing · 22 / 26

Cost and FinOps Model

A cost model for the receivables platform: cost per invoice, payment and dispute, volume scenarios, levers, FinOps practice and build-or-buy comparison.

Purpose

This is the cost model that answers three questions: what an invoice check, a payment and a dispute cost, how the cost grows with volume, and what levers keep it in budget. All prices, volumes and rates are illustrative placeholders. Replace them with contract prices and measured usage from the gateway.

Unit cost by work item

Work itemWhat happensCost per item
Invoice checkOne small-model anomaly check, clause retrieval, two scans, platform shareAbout $0.0065
Payment with a remittanceTwo small-model calls, the larger model on 20% of documents, four scans, platform shareAbout $0.021
DisputeSix small-model and two larger-model calls, retrieval, 14 scans, platform shareAbout $0.154
Collections draftOne small-model call and a larger-model call on 30% of drafts, scans, platform shareAbout $0.03
cost.py · the payment model in a few lines
# Cost per payment with a remittance document, illustrative prices per million tokens
fast_in, fast_out = 0.25, 1.25
big_in,  big_out  = 3.00, 15.00

fast = 2 * (3500 * fast_in + 500 * fast_out) / 1e6          # 2 calls: extract, then check
big  = 0.20 * (6000 * big_in + 800 * big_out) / 1e6          # 20% of documents need the larger model
scans, platform = 4 * 0.0005, 0.010

per_payment = fast + big + scans + platform                  # about 0.021

The larger model is a small share of calls but most of the cost, so routing is the biggest lever.

Cost at three volumes

ScenarioItems per monthCost per monthNotes
Pilot, one region600 invoice checks, 450 payments with documents, 60 disputes, 100 draftsAbout $230Fixed platform costs dominate
Full volume60,000 invoice checks, 27,000 payments with documents, 6,600 disputes, 12,000 draftsAbout $2,300Usage dominates
Month-end peak dayThree times the normal dayAbout $250 a dayThe key budget of $400 a day covers it

Comparison with the current process

Per 100 payments with a remittanceToday, keyed by peopleWith the platform
People time4 minutes each at $38 an hour: about $2538 need a person for 4 minutes: about $20
Platform costNoneAbout $2
TotalAbout $253About $22

The figures assume 92% of payment value is applied without a person and that people's time is the cost saved. Real value also comes from faster cash, fewer misapplications and less unapplied cash, which lower days sales outstanding. Treat this as a template for your own numbers.

Cost levers

LeverHow it savesRisk to watch
Model tieringUse the small model for extraction and checks; call the larger model only on hard documents and disputesWrong routing lowers quality; check on the evaluation set
Rules before modelsMatch exact references with code and call a model only for what rules cannot readRules drift when banks change formats
Prompt and context disciplineShorter prompts, fewer retrieved clauses, trimmed documentsLost context lowers grounding
Prompt cachingReuse the static prefix across items where the provider supports itCache misses after prompt edits
BatchingProcess files in windows and use batch pricing where offeredLatency for urgent items
Size and page limitsCap pages per document and tokens per itemCutting off a legitimate long remittance
Telemetry samplingKeep all errors and blocks, 10% of othersToo little data for rare problems

FinOps operating model

  1. Tag

    Every call carries application, stage, region and environment, so cost can be allocated.

  2. Budget

    Each project key has a daily budget with an alert at 80%. Budgets are reviewed monthly.

  3. Allocate

    Cost is charged back by region and stage, from gateway metadata.

  4. Review

    A monthly review looks at cost per item, model mix, cache rates and the levers above.

  5. Forecast

    Volume forecasts from finance feed the budget, with a month-end allowance.

Budget alert at 80 percent of the daily limit The gateway tracks spend per key. At 80% of the daily budget it raises an alert to the FinOps owner, who checks the cost queries and either raises the budget or asks the platform to throttle. At 100% the gateway stops further calls on the key and items queue for a person. AI gateway Cost alert FinOps owner Platform team Service spend reaches 80% raise alert notify with spend by model check cost per payment raise budget or throttle update key budget spend reaches 100% 429 budget_exceeded queue items for a person
Budget alert at 80 percent of the daily limit

Build or buy

OptionControlTime to valueCost shapeIntegration depthLock-in
Build on platforms, as hereHighMonthsLow per item, engineering cost up frontDeep, through contractsLow, through aliases and contracts
Buy an AR (Accounts Receivable) automation suiteMediumWeeks to monthsPer invoice or per user feesDepends on the vendor's ERP (Enterprise Resource Planning) connectorsMedium to high
Robotic process automation on screensLowWeeksLicences and upkeep of scriptsShallow, fragile to screen changesMedium

The build option makes sense when matching rules, contract terms and privacy needs are specific and the company wants the platform to extend to payables, treasury and other work.

Sensitivity

ChangeEffect
Larger-model share of remittances rises from 20% to 40%Payment cost rises from about $0.021 to about $0.027
Provider price falls by halfModel share of cost halves, total about 25% lower
Dispute rate falls from 11% to 8%Monthly cost falls by about $270
Prompt caching cuts small-model input cost by 40%Under 2% of total
Automatic apply rate falls from 92% to 80%People cost per 100 payments rises from about $20 to about $51

Build this for your business

This example is a receivables platform for a distributor, but the same pattern, deterministic financial rules, a governed gateway, runtime security, grounded evidence and measured quality, fits any back-office process that moves money. We can scope a pilot on your own systems.

Book a discovery call