AI COGS
dashboard.
P402 Monitor turns the metering ledger into an AI cost-of-goods-sold dashboard with cost per feature, per customer, per workflow, and per accepted output.
Built on the P402 Monitor surface. Parent product page: /monitor.
AI cost is a lump sum, not a unit cost.
Provider invoices show a total. Embedded AI teams need cost per unit of product delivered, per customer served, per workflow executed. Without that attribution at event time, AI COGS stays a guess.
- 01Create a P402 key.Sign in, generate a key. The key is returned once. P402 stores only a hash.
- 02Route AI calls through P402 or report meter-only events.Use the OpenAI-compatible endpoint, or post metadata-only events from your backend. Both land in the same ledger.
- 03Attach customer, feature, and workflow on each call.Events are indexed under every owner you supply. The same event rolls up under customer, feature, and workflow at once.
- 04Read AI COGS.The Monitor surface groups AI cost per feature, per customer, per workflow, with accepted-output rate and waste flagged.
Meter economics, not content.
AI COGS numbers come from token counts and cost, not from prompts. Prompt and response storage are off by default. Sensitive customer workflows can run under private gateway mode.
metadata_onlyOwner, cost, tokens, budget, policy, outcome, and evidence status. No prompts. No responses. Default.fingerprint_onlyAdds a hash fingerprint of prompt and response for dedup and replay protection. Content stays out.redacted_tracePrompt and response retained after a redaction pass for fields the tenant policy allows.private_gatewayYour environment hosts the inference, P402 records the economic event over a signed channel.full_traceOpt-in. Prompts and responses retained verbatim with the event. Requires explicit tenant policy.
Same metering layer, four shipped workflows.
Each vertical demo is a working surface on the same metering layer. Use them to see AI COGS per feature, per customer, and per accepted output against a concrete workflow.
Read AI COGS per feature, not per invoice.
Wrap AI calls once. The dashboard groups cost per feature, customer, workflow, and accepted output. Retry waste and context waste are flagged so engineering can act on real numbers, not estimates.
AI COGS rolled up for finance.
AI COGS grouped by department, customer, vendor, and budget at event time, with outcome and evidence attached. Finance and engineering read from the same ledger.
What does AI COGS mean in this dashboard?+
AI cost of goods sold. The direct AI cost attributable to a feature, customer, or workflow. The dashboard rolls cost up under each of those owners at event time, alongside accepted-output rate and waste.
How is AI COGS different from infrastructure cost?+
Infrastructure cost is shared platform spend. AI COGS is the per-call cost tied to delivering a unit of product to a paying customer. The dashboard records that attribution at the moment of the AI call.
Does the dashboard require sharing prompts?+
No. Default privacy mode is metadata-only. Owner, model, tokens, cost, budget, policy result, outcome, and evidence status are recorded. Prompts and responses stay out unless tenant policy opts in.
How are retry waste and context waste flagged?+
Retry waste flags tokens spent on retried calls that produced no new outcome. Context waste flags tokens spent on context that did not change the outcome. Both roll up per feature, per customer, and per workflow.
What is the accepted-output rate?+
Share of events with outcome accepted out of all events for that feature, customer, or workflow. Read alongside cost per accepted output to find where AI COGS earns its keep and where it does not.
How does this relate to the AI Spend Audit?+
The AI Spend Audit is a one-time delivered report on top of the same metering layer. The AI COGS dashboard is the live surface. The audit gives finance a discrete deliverable, the dashboard gives engineering and finance an ongoing read.
Read AI cost as a unit cost, not a lump sum.
Start with the Monitor surface, or run the one-time AI Spend Audit to get a delivered report on top of the same metering layer.