Skip to content

Free plan: no credit count on each turn or message - #804

Merged
sreemanti-abacusai merged 1 commit into
mainfrom
free-hide-turn-credits
Nov 11, 2026
Merged

sreemanti-abacusai merged 1 commit into
mainfrom
free-hide-turn-credits

Conversation

@sreemanti-abacusai

Copy link
Copy Markdown
Collaborator

On the free plan, a finished turn no longer shows its credit count ("Done in 12s · 18 credits · 1,382 left" becomes "Done in 12s"), and assistant messages no longer show the "Used N credits" footer. Paid plans (Basic, Pro, Max) see both exactly as before.

Free accounts still learn when they are running low the same way as today: the 50% and 80% credit cards and the out-of-credits upgrade dialog are untouched, as are the settings usage page and the sidebar credits card.

Changes

  • kit/status/turn-credits.tsx: TurnCredits returns nothing for a free account (as it already did while the plan is unread). Its balance-store effects keep running; nothing else reads that store today.
  • kit/message.tsx: the per-message credits footer moves into a small CreditsLine that reads the plan and hides for free, and while the plan is unread so it never flashes for a free account.

Tests

  • status.test.tsx "the turn's credits": Basic and Pro turns show the count and what is left; free turns (normal and tiny) show nothing; the click test runs on Basic.
  • parts.test.tsx: the credits footer shows on a paid plan and not on the free plan.
  • Gates: oxfmt, oxlint, web tsc -b, pnpm run typecheck, and vitest run src/features/chat (69 files) pass.

The line under a finished turn ("18 credits · 1,382 left") and the
per-message "Used N credits" footer now show on paid plans only. A free
account still hears about its balance from the 50%/80% credit cards and
the out-of-credits dialog, which are unchanged.
@sreemanti-abacusai
sreemanti-abacusai added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit d9bc89e Nov 11, 2026
17 checks passed
@sreemanti-abacusai
sreemanti-abacusai deleted the free-hide-turn-credits branch November 11, 2026 12:47
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.

1 participant