Worked example (calculator-fast) and dashboard tiles for weekly roll-ups.
F6) Worked example (calculator-fast)
Assume weekly:
requests = 100000
tokens_per_req_before = 800
cost_per_1k = 0.50
savings_pct_tokens = 0.08
Derived:
tokens_before := 100000 * 800 = 80000000
spend_before := (80000000 / 1000) * 0.50 = 40000.0
tokens_saved := 80000000 * 0.08 = 6400000
spend_saved := (6400000 / 1000) * 0.50 = 3200.0
spend_after := 40000.0 - 3200.0 = 36800.0
Latency/quality illustrations:
p95_before_ms = 900, p95_after_ms = 780 ⇒ latency_delta_ms = 120
retry_rate_before = r_b, retry_rate_after = r_a ⇒ retry_delta := r_b - r_a
Bounded portfolio index (illustrative roll-up):
before: U/W = 0.5 ⇒ RSI_port := tanh(0.5) = 0.462117 (band A0)
after : U/W = 0.7 ⇒ RSI_port := tanh(0.7) = 0.604368 (band A+)
Annualized ROI example (with integration_cost = 50000):
annual_savings := 52 * spend_saved = 166400.0
ROI := (166400.0 - 50000) / 50000 = 2.328 ⇒ 232.800000%
One-line takeaway. A small weekly token reduction (8%) can translate into ~₹ / $ savings and a band lift on the bounded index; all numbers remain observation-only with phi((m,a)) = m.
F7) Dashboard tiles (definitions)
Portfolio RSI (weekly)
- Show RSI_port_env and band per service and for the portfolio.
Band share
- %A++, %A+, %A0, %A-, %A-- (computed from per-row RSI_env).
Cost tile
- spend_before, spend_after, spend_saved, % saved.
Latency tile
- p95_before_ms, p95_after_ms, latency_delta_ms (and optional p99).
Retries tile
- retry_rate_before, retry_rate_after, retry_delta.
Stamp preview
- last N stamps: svc|week|U|W|RSI_port|band|g|manifest.
Drill-through
- Click a tile → open ledger slice; replay with `RSI := tanh(U_dec / max(W_dec, eps_w))`.
One-line takeaway. These tiles turn the ledger into CFO-ready visibility—a bounded weekly index, band shares, and simple cost/latency deltas—fully reproducible from stamps.
Navigation
Previous: SSM-AI – Appendix F — SSM-Audit CFO Pack (F3–F5)
Next: SSM-AI – Appendix F — SSM-Audit CFO Pack (F8–F9)
Directory of Pages
SSM-AI — Table of Contents