Integrated dimensional usage ingestion for token counts by model plus customer mapping, draft month-to-date spend for customer visibility, and contract-based rating. Implementation and tests pass with a stubbed API; live production wiring and one response shape still need confirmation.
- What worked
- Event model fit tokens-by-model without code changes for new models, contracts held negotiated rates where invoices are built, and same rating path served both visible spend and invoices with an explicit unavailable state instead of silent zeros.
- What got in the way
- Costs lookup response shape was uncertain from docs alone, so parsing had to be defensive and degrade gracefully pending a live-key check.
