Cost & usage monitoring
Generated from
mcp/patterns.registry.json— do not edit by hand; change the registry and runbun run patterns:build.
Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes.
Category: AI · Tier: light · Risk: low — read-only admin reporting over existing telemetry
Chat and image telemetry are merged into one admin table that derives a reference token cost at read time from a hand-maintained price table, without charging or faking a real bill.
When to use: Use when multiple AI surfaces need a single cross-surface view of token usage and reference spend.
Docs
Code
Proof
/admin/ai(app route, no showcase)
Machine-readable record: ai-cost-monitoring in mcp/patterns.registry.json.