fix: correct Lit Action pricing text in dashboard (CPL-196)#259
fix: correct Lit Action pricing text in dashboard (CPL-196)#259
Conversation
The Add Funds modal showed "$0.01 per Lit Action" which is inaccurate after the per-second billing model shipped in CPL-174. Updated to "$0.01 per second for Lit Action execution with a 1-second minimum". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates the dashboard’s “Add Funds” modal copy to reflect the current per-second billing model for Lit Action execution.
Changes:
- Replace outdated “$0.01 per Lit Action” text with “$0.01 per second … with a 1-second minimum” in the Add Funds modal.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| </div> | ||
| <div class="modal-body"> | ||
| <p style="margin-bottom:1rem;">Add credits to your account (minimum $5.00). Credits are used for API calls ($0.01 for management, $0.01 per Lit Action).</p> | ||
| <p style="margin-bottom:1rem;">Add credits to your account (minimum $5.00). Credits are used for API calls ($0.01 for management, $0.01 per second for Lit Action execution with a 1-second minimum).</p> |
There was a problem hiding this comment.
This paragraph now correctly describes Lit Action pricing, but it still states "$0.01 for management" while the referenced pricing doc (docs/management/pricing.mdx) currently says management calls are "$0.01 per second". Since the PR description/test plan claims the modal text matches that doc, please reconcile this inconsistency (either adjust this copy to something unambiguous like "$0.01 per management call" and/or update the doc / PR description accordingly).
Summary
The "Add Funds" modal in the production dashboard displayed "$0.01 per Lit Action", which is inaccurate after the per-second billing model shipped in CPL-174 (#247).
Updated the pricing text to: "$0.01 per second for Lit Action execution with a 1-second minimum" — matching the actual billing logic in
stripe.rs(COST_LIT_ACTION_PER_SECOND_CENTS) and the press release documentation.File changed:
lit-static/dapps/dashboard/index.html:359Pre-Landing Review
No issues found. Single text correction in static HTML.
Test plan
docs/management/pricing.mdxanddocs/press_releases/2026-03-30.mdCloses CPL-196
🤖 Generated with Claude Code