Sample audit
Fictional gateway data — two workloads, a few failures, a repeated prompt, labels on 80% of traces. Your own export gets this exact report.
# AI economics audit 60 traces from **litellm** · 2 workload(s) · generated 2026-11-30T05:43:16+00:00 · computed in 0.0s > **Source mapping** (per_request, USD): cost=yes, tokens=yes, latency=yes, retries=no, acceptance=no, workload_identity=yes, request_fingerprint=yes, cache_status=no > > LiteLLM reports spend in USD and has no notion of business acceptance; a transport-level status field was present and is recorded, but transport success is not acceptance ## Headline - **ZAR 0.1448 per accepted task** across 40 accepted of 60 attempts - total spend: ZAR 5.792 ## Per workload | Workload | Attempts | Spend (ZAR) | Per attempt | Per accepted | Acceptance | Repeats | p95 | |---|---:|---:|---:|---:|---:|---:|---:| | `demo.extract` | 40 | 1.3032 | 0.03258 | 0.046543 | 87.5% | 17.5% | 2000 | | `demo.summarise` ⚠ | 20 | 4.4888 | 0.22444 | 0.374067 | 75.0% | 15.0% | 2000 | ⚠ fewer than 30 attempts — indicative only, not a trend. ## What this source cannot tell us - **Retry and fallback spend** — no retry grouping in this source, so work repeated after a failure is counted as independent attempts. - **Whether caching is already on** — this source does not report a cache status, so a repeat-request figure cannot distinguish a call your gateway already served for free from one you paid for twice. ## Candidates worth testing 1. **deterministic pre-checks before paid calls** (`demo.summarise`) - evidence: 4 of 20 attempts (20.0%) ended in an error - basis: errors may or may not have been billed; this source does not say - how to test: add schema/precondition validation ahead of the provider call and measure the change in attempts 2. **stop paying for work that does not survive** (`demo.summarise`) — estimated saving **ZAR 1.1222** - evidence: 25.0% of labelled results were not accepted, carrying ZAR 1.1222 of spend - basis: spend attributable to unaccepted results; the achievable share depends on whether the cause is model choice, prompt or input quality - how to test: add a quality contract that abstains instead of returning a weak answer, then compare cost per accepted task 3. **cache identical requests** (`demo.summarise`) — estimated saving **ZAR 0.6733** - evidence: 3 of 20 attempts (15.0%) repeated an identical request - basis: repeat share of observed spend; assumes every repeat is cacheable under one quality contract; this source does not report a cache status, so we cannot tell whether gateway caching is already on — confirm before quoting the figure - how to test: register the workload with a content-hash cache and run a shadow comparison against the current policy 4. **route low-risk subtasks to a cheaper approved model** (`demo.extract`) - evidence: all 40 attempts used a single model (gpt-4o-mini), so no routing is in play - basis: not estimable from this data: it depends on which subtasks are low-risk and what the cheaper model's acceptance rate is - how to test: classify the workload's risk class, then benchmark a cheaper candidate policy on a labelled corpus with a declared non-inferiority margin 5. **stop paying for work that does not survive** (`demo.extract`) — estimated saving **ZAR 0.1629** - evidence: 12.5% of labelled results were not accepted, carrying ZAR 0.1629 of spend - basis: spend attributable to unaccepted results; the achievable share depends on whether the cause is model choice, prompt or input quality - how to test: add a quality contract that abstains instead of returning a weak answer, then compare cost per accepted task 6. **cache identical requests** (`demo.extract`) — estimated saving **ZAR 0.2281** - evidence: 7 of 40 attempts (17.5%) repeated an identical request - basis: repeat share of observed spend; assumes every repeat is cacheable under one quality contract; this source does not report a cache status, so we cannot tell whether gateway caching is already on — confirm before quoting the figure - how to test: register the workload with a content-hash cache and run a shadow comparison against the current policy Savings shown are **estimates from your own traces**, not measurements. AAWE's position is that no saving counts until a controlled comparison shows it with quality held. ## Next step Pick the top candidate and run it as a shadow experiment: it executes alongside your current policy, costs are recorded, and no customer-visible output changes until you promote it.