Presentation example. Action buttons are not connected to a service; theme and disclosure controls demonstrate local UI behavior. Implement and test the documented contract in your application.
This task will process 847,000 tokens across 12 documents.
Estimated cost: $2.54
| Item | Value |
|---|---|
| Input tokens | 720,000 |
| Output tokens (estimated) | 127,000 |
| Total tokens | 847,000 |
| Price per 1K tokens | $0.003 |
| Estimated total | $2.54 |
| Request | Tokens | Cost |
|---|---|---|
| Summarize Q3 report | 4,200 | $0.013 |
| Draft email to stakeholders | 1,800 | $0.005 |
| Translate product listings ×12 | 18,400 | $0.055 |
| Extract action items from meeting | 3,100 | $0.009 |
| + 10 earlier requests | 15,300 | $0.808 |
Cost disclosure is the financial accountability layer for AI interfaces. Users cannot manage what they cannot see. At the request level, cost estimates set expectations before commitment. At the session level, running totals enable self-governance. At the operation level, pre-flight warnings gate genuinely expensive tasks before any tokens are spent.
Unlike environmental impact, which is diffuse and often abstract, financial cost is concrete and immediately actionable. A user who sees $2.54 before running a batch job has real information to act on — they can scope down, reschedule, or delegate. A user who sees only a spinner has none of that.
Cost disclosure is not optional in metered systems. It is the minimum condition for informed consent.
Always-visible, low-friction cost hint surfaced near the submit action for routine requests. Use this as the default for any metered interface. The chip should show an estimate before the request is sent and can be hovered or tapped to expand into token detail. Threshold: show for all requests where cost is nonzero.
Threshold-triggered — fire this variant when estimated cost exceeds a configurable limit (e.g. >$0.50 or >100K tokens). Interrupt the user before the request is dispatched. Include a token breakdown and give the user three choices: cancel, proceed, or adjust scope. Never auto-dismiss this warning.
A persistent footer or status bar showing running session totals. Use this in any metered interface where users run multiple requests in a session. The compact state shows aggregate cost; the expanded state shows per-request detail for the last N requests. Update in real time after each response completes.
On-demand detail surfaced via a "View breakdown" link in either the chip or the warning. Shows input tokens, output tokens, price per 1K, and the estimated total. Use this for audit and review contexts — finance teams, account managers, or any user who needs to reconcile spend.
"Cost disclosure is not a tax on the user experience — it is the minimum condition for informed consent in a metered system."
aria-label on chips to include the estimate in screen-reader-accessible text.role="alertdialog" so assistive technology interrupts the user appropriately before a high-cost action.role="region" with a descriptive aria-label — it is informational, not urgent.aria-expanded and aria-controls.Override these CSS custom properties to apply your own visual treatment without changing behavioral contracts.
| Token | Type | Description |
|---|---|---|
--rad-cost-chip-bg |
color | Background for inline cost chip |
--rad-cost-chip-color |
color | Text/icon color for cost chip |
--rad-cost-chip-border |
color | Border for cost chip |
--rad-cost-warn-bg |
color | Warning panel background |
--rad-cost-warn-border |
color | Warning panel border |
--rad-cost-warn-color |
color | Warning accent color (icon, title, left border) |
--rad-cost-session-divider |
color | Session summary divider between bar and detail panel |
--rad-cost-row-divider |
color | Breakdown table row divider |
"Cost disclosure is not a tax on the user experience — it is the minimum condition for informed consent in a metered system."
RAD is the original work of Jackie Curry. All rights reserved. No portion may be reproduced, adapted, or incorporated into any product or system without express written permission.
Permitted: citation in academic or editorial contexts with full attribution.
© 2025 Jackie Curry. All rights reserved. Publication date: 2025.
For licensing inquiries, connect on LinkedIn →