How do I track cost per business outcome in Cognocient?
Link AI spend to business outcomes — ticket resolutions, conversions, documents processed — and calculate true cost-per-outcome ROI with the X-Cost-Outcome header.
The X-Cost-Outcome header links each AI call to the business result it produced — a resolved ticket, a signed contract, a generated report. Cognocient aggregates these into cost-per-outcome metrics that answer the CFO's core question: what did we get for this AI spend?
Why cost per outcome changes the conversation
Without outcome tracking, you have AI spend. With it, you have AI ROI.
Without outcomes: "We spent $12,000 on AI last month. Is that a lot?" — No answer. You have a cost with no context.
With outcomes: "We spent $12,000 on AI and resolved 28,500 support tickets at $0.42 each. Our human agents cost $8.40 per ticket." — AI delivers 20× cost efficiency per ticket. ROI is obvious.
Quick setup — X-Cost-Outcome header
The fastest way to track outcomes is the X-Cost-Outcome attribution header. Add it alongside your existing X-Cost-Feature header:
Only tag successful outcomes. Cognocient aggregates spend by outcome and shows you cost-per-call for each outcome category in Dashboard → Cost/Outcome.
Use lowercase hyphen-separated names that describe what happened: ticket-resolved, document-processed, lead-qualified. Avoid generic names like chatbot-call or llm-used.
Step 1 — Define an outcome (advanced)
Go to Executive → Outcomes → New Outcome. An outcome definition has three parts:
Outcome name — What you're measuring. Examples: "Support ticket resolved," "Contract drafted," "Document processed," "Sales email sent," "Code review completed."
Sessions that count — Which session IDs constitute one outcome. Use a feature filter (e.g., all sessions tagged with X-Cost-Feature = "ticket-resolver") or a prefix pattern (e.g., session IDs starting with "ticket_").
Success condition (optional) — How to distinguish a successful outcome from an abandoned one. You can mark sessions as successful via the Outcome API — pass the outcome event when your application registers a resolved ticket, signed contract, etc.
Step 2 — Mark sessions as successful outcomes
The simplest outcome tracking uses Cognocient's outcome API. Call this endpoint from your application when a positive outcome occurs — ticket resolved, contract signed, document approved.
If you already have session IDs in your existing application, you can add outcome tracking by calling this endpoint from your downstream business logic — the webhook that fires when a ticket closes, the callback when a contract is signed. No changes to AI call code needed.
Step 3 — Reading outcome data in the dashboard
The Outcomes view shows a table with one row per outcome type. For each:
| Column | What it shows |
|---|---|
| Outcomes this period | Count of successful outcomes recorded |
| Total AI cost | Sum of AI spend from sessions that led to this outcome |
| Cost per outcome | Total AI cost ÷ successful outcomes — your primary ROI metric |
| Success rate | % of sessions that resulted in an outcome (vs abandoned) |
| Cost per failed outcome | AI spend on sessions that did not result in an outcome — waste in the business sense |
| Trend | Cost per outcome over the past 30 days — declining means you're getting more efficient |
Industry benchmarks for cost per outcome
Use these benchmarks to calibrate your own metrics and frame the ROI conversation for your board:
| Outcome type | Typical AI cost | Human cost equivalent | AI advantage |
|---|---|---|---|
| Support ticket (L1) | $0.15–$0.50 | $6–$12 | 12–80× |
| Support ticket (L2) | $0.80–$2.00 | $20–$35 | 10–40× |
| Contract first draft | $1.50–$4.00 | $150–$400 | 50–100× |
| Document classification | $0.01–$0.05 | $1.50–$3.00 | 30–300× |
| Code PR review | $0.40–$1.20 | $40–$80 | 35–200× |
| Sales outreach email | $0.05–$0.20 | $5–$15 | 25–300× |
Benchmarks are illustrative ranges. Actual costs vary by model, prompt complexity, and task definition. Your Cognocient data will give you the precise figure for your implementation.
Next steps: Executive View · Sessions · Feature Intelligence
Related articles