Skip to content

Show estimated cost for subscription users with opt-out setting#464

Open
Priyans-hu wants to merge 1 commit intosteipete:mainfrom
Priyans-hu:fix/92-api-expense-incorrect
Open

Show estimated cost for subscription users with opt-out setting#464
Priyans-hu wants to merge 1 commit intosteipete:mainfrom
Priyans-hu:fix/92-api-expense-incorrect

Conversation

@Priyans-hu
Copy link
Contributor

@Priyans-hu Priyans-hu commented Mar 2, 2026

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:

  • New showEstimatedCostForSubscriptions setting (default: on)
  • When on + subscription detected: cost lines stay, plus a hint line — "Estimated at API rates — not your actual spend"
  • When off: only token counts shown, no dollar amounts
  • Toggle lives under General → Usage, nested under the existing "Show cost summary" checkbox
  • API (pay-per-token) users are unaffected

Files touched:

  • SettingsStoreState.swift / SettingsStore.swift / SettingsStore+Defaults.swift — new setting
  • MenuCardView.swift — pass setting through Input, conditionally show cost + hint
  • StatusItemController+Menu.swift / PreferencesProvidersPane.swift — wire setting to both Input call sites
  • PreferencesGeneralPane.swift — toggle UI

Closes #92

@RemoteCTO
Copy link

I'd very much request that this is not removed.
That monetary figure is extremely useful for keeping tabs on what my likely budget looks like if Anthropic ever decide to remove their Max plans.

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
@Priyans-hu Priyans-hu force-pushed the fix/92-api-expense-incorrect branch from 737c75b to 714f5ad Compare March 2, 2026 19:10
@Priyans-hu Priyans-hu changed the title Hide misleading cost estimate for Claude subscription users Show estimated cost for subscription users with opt-out setting Mar 2, 2026
@Priyans-hu
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API expense incorrect

2 participants