AI Gateway · Component · usage-budget-pricing-ledger
Usage reservations, budgets, versioned pricing and settlement
What it does
Reserve/settle usage, enforce budgets and reconcile priced or unpriced ledger evidence. Three gateway variants differ in pricing and balance semantics. Payment acquiring and tax invoicing are separate capabilities.
Core pattern
Budget reservation and settlement + priced evidence reconciliation
- Input
- Usage/provider events and pricing policies
- Output
- Admission decisions, cost ledger and chargeback reports
Key parameters
| Name | Type | Default | Values |
|---|---|---|---|
| operation | string | preview | preview · reserve · settle · release · correct · reconcile · query |
| price_book_version | string | — | — |
| currency | string | USD | — |
| estimated_usage | — | — | — |
| period | string | month | request · day · week · month · total |
Maturity and limits
Many pricing/budget tests including transaction, recovery and media cases. Source paths were inspected statically; tests and live integrations were not executed. This rating describes implemented code, not production validation.
Credential-bearing configuration is excluded from this inventory. MIT; retain notices. Provider compatibility is configuration-dependent; metadata/privacy and optional payload plugins need review. Static inspection only. Variant-specific dependencies, limits and weaker maturity are recorded under variants; these implementations are alternatives, not one deployed system.
Used in pipelines
Industry tags
- Government & public servicesTransferable use
For department budget reconciliation for a public information assistant, use budget reservation and settlement followed by priced evidence reconciliation.
- FinanceTransferable use
Support “Check research budget balance” with budget reservation and settlement followed by priced evidence reconciliation.
Skills pack
Contract scaffold and deterministic mock
Download · 13KBSHA-256 7c5812e4a0cf9f228f399fba17f183c634eee9f27c7682aa204cff48d3535798
Related components
-
Gateway usage, financial, reliability and fleet analytics
Request cost and exception aggregation + operational drilldowns
Working 1 pipeline -
Provider routing, key substitution and quotas
Capability-based endpoint selection + shared quota control
Working 1 pipeline -
Recharge, invoicing and channel rewards
Top-up event verification + credit and invoice records
Working 1 pipeline -
Provider batch inference
Batch request submission + job state and result archives
Working 1 pipeline