Show estimated cost for subscription users with opt-out setting - #464
Show estimated cost for subscription users with opt-out setting#464Priyans-hu wants to merge 1 commit into
Conversation
|
I'd very much request that this is not removed. |
Instead of hiding dollar amounts for subscription users, keep them visible with a hint that these are API-equivalent estimates. Adds a "Include cost for subscription plans" toggle in General preferences (under Usage) so users can opt out if they find it confusing. When enabled, subscription users see their cost lines as before plus a footnote: "Estimated at API rates — not your actual spend". When disabled, only token counts are shown. Closes steipete#92
737c75b to
714f5ad
Compare
|
Good point — updated the approach. Now keeps the cost visible with a hint ("Estimated at API rates — not your actual spend") and adds a toggle under General → Usage so users can opt out if they want. API users are unaffected. |
|
hey, just checking if we have any update on this, or are we good here @RemoteCTO @ratulsarna ? |
|
Thanks @Priyans-hu. I’m closing this as superseded by the later Codex/Claude pricing and cache fixes that closed #92, plus the current cost display work has moved on substantially. The original issue was closed with the current behavior in place; if this exact opt-out is still needed against current main, it should be reopened as a fresh, smaller PR with updated UI/tests. |
Addresses #92 — subscription users (Pro, Max, Team) were seeing raw API dollar amounts that don't reflect their actual spend.
Instead of hiding the cost entirely (which loses the budgeting value @RemoteCTO mentioned), this keeps costs visible with a clear disclaimer and lets users toggle it off.
What changed:
showEstimatedCostForSubscriptionssetting (default: on)Files touched:
SettingsStoreState.swift/SettingsStore.swift/SettingsStore+Defaults.swift— new settingMenuCardView.swift— pass setting through Input, conditionally show cost + hintStatusItemController+Menu.swift/PreferencesProvidersPane.swift— wire setting to both Input call sitesPreferencesGeneralPane.swift— toggle UICloses #92