Feature accountability
Know which SDK-powered endpoint drives budget drift.
AI SDK usage is app-native, but cost ownership still needs structure. Opsmeter maps endpoint and feature spend for operational decisions.
SDK-level analytics often miss endpoint and tenant granularity needed for budget control.
SDK-level analytics often miss endpoint and tenant granularity needed for budget control.
Know which SDK-powered endpoint drives budget drift.
Separate healthy growth from margin-draining customer usage.
Move from alert to owner-ready action without manual log stitching.
Use one externalRequestId per user-visible operation even on retries.
Include featureTag and endpointTag to connect SDK usage with product ownership.
Post normalized usage payloads directly after model responses.
| Field | Example value | Why it matters |
|---|---|---|
| featureTag | assistant.draft | Measures cost by product feature, not only endpoint. |
| endpointTag | /api/compose | Supports endpoint-level budget controls. |
| tenantId | startup-west | Enables account-level margin analysis. |
| environment | prod | Separates test/demo usage from production posture. |
Attach endpointTag, feature, tenant, and user identifiers with usage fields.
Keep externalRequestId stable and include token/cost dimensions.
Investigate cost drivers by endpoint, prompt, tenant, and feature.
No proxy rewrite required. Keep your current app path and enrich request metadata.