Repository navigation
feat(settings): show AI usage on the plans as tiers of Starter's, Growth at 5x - #1298
Conversation
…ce it's spent Starter now has the Improve tab (prompt_improve) on a $1 monthly budget, a trial rather than 1% of its $49 price, so it can see what Improve does. PROMPT-003 kept Improve to Growth and above. - server/src/config/plans.js and web/src/config/plans.ts: Starter gets prompt_improve and improveMonthlyBudgetUsd 1. - Improve tab: the budget note reads from en.json (prompts.improve.quota); once the budget is spent, Starter gets an "Upgrade for more" link to the billing page. A spent budget is said once, by the note, instead of also repeating the server's error. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Settings → Billing's plan cards and custom plan box now follow www.ansvisor.com/pricing. - Each card lists, with a check: brands, unlimited seats, prompts tracked, the answer engines it tracks by name (Starter: ChatGPT & Microsoft Copilot; Growth: ChatGPT, Perplexity, Gemini, Microsoft Copilot, Google AI Mode and Google AI Overviews, instead of "8 answer engines"), content briefs and site audits a month, and what the plan adds; the taglines are the pricing page's. - "Need a custom plan?" says who it's for and that it starts at $499/month, with six of the custom plan's points. - The copy is in en.json (settings.planCards, customPlanPoints); the card keys nothing uses any more are removed. Plan limits are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…wth at 5x
AI usage (the monthly budget Improve and, later, the Content Editor's AI
spend) now comes in tiers the billing cards can name: Starter $1 (1x),
Growth $5 (5x, up from $2.49), Enterprise $10 at the least (up from $4.99,
so it stays above Growth; 1% of the contract still raises it).
- server/src/config/plans.js and web/src/config/plans.ts: the new budgets,
with comments; plan-guard.js and improve-cost.js no longer say the
budget is 1% of the plan price.
- Billing cards: "{n}x AI usage", worked out from the budgets against
Starter's, with a hover note on what it covers (Agent Chat runs on the
customer's own key).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@gkhngyk This is a product decision from today, built on #1296 and #1297 (please merge those first). AI usage now comes in tiers. It's the Improve budget, which the Content Editor's AI will share:
The billing cards show "1x AI usage" / "5x AI usage", worked out from the budgets. Cost: Growth's monthly AI spend cap per organization roughly doubles, to about 2% of its price. Enforcement is unchanged (real token cost, |
ansvisor#1296 and ansvisor#1297 are squash-merged on main; this keeps only this branch's own change on top. Claude-Session: https://claude.ai/code/session_0121amRjX7UFrgmGELAtkc7A
gkhngyk
left a comment
There was a problem hiding this comment.
Looks good. Enterprise's default now sits above Growth, and contractMonthlyUsd or an explicit improveMonthlyBudgetUsd still win as before. The card's multiple is worked out from the budgets, so it stays true if one changes.
Summary
AI usage gets tiers the billing cards can name. AI usage is the monthly USD budget Improve spends, and the Content Editor's AI will spend it too. The cards show it as a multiple of Starter's: Starter 1x, Growth 5x.
Budgets (
improveMonthlyBudgetUsd;server/src/config/plans.jsandweb/src/config/plans.tskept in step)plan_overrides.contractMonthlyUsdstill raises it to 1% of the contract, and an explicitplan_overrides.improveMonthlyBudgetUsdstill wins.plan-guard.jsandimprove-cost.jssaid the budget was "1% of the plan price". They now say what's true: the tiers, plus 1% of an Enterprise contract.enforceImproveQuota, real token cost) is unchanged.Billing cards (
plan-switcher.tsx)en.json(settings.planCards.aiUsage,aiUsageHint).Cost note: Growth's AI spend cap goes from $2.49 to $5 per organization a month, about 2% of its price instead of 1%. Enterprise's floor goes from $4.99 to $10.
Related issue
Follows #1296 (Starter's $1 Improve trial) and #1297 (Billing cards from the pricing page). Product decision 2026-10-21. The marketing pricing page (www.ansvisor.com) isn't in this repo and will be updated separately.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
With
NEXT_PUBLIC_IS_CLOUD=true(andIS_CLOUD=trueon the server for enforcement):Checked locally with the demo organization on Starter, which was set back afterwards. Checked in light and dark.
Tests:
prompt-improve.test.jschecks the new tiers (Starter $1, Growth $5, Enterprise $10, self-hosted unlimited). The contract-override tests inplan-guard.test.jsuse their own fixture and are unchanged.plan-switcher.test.tsxchecks both cards' lists with the AI usage lines, and the hover note.Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/) (0 errors; the 6 warnings are in untouched files, as on main)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Web:
yarn test(1,914 tests) andyarn buildpass. Server:npm run format,npm run lintandnpm test(1,919 tests, also without a.env, as CI runs them) pass. No migration.🤖 Generated with Claude Code