You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9ded3fc
Browse filesBrowse the repository at this point in the historyBrowse files
fix(billing): annual plans include a year of credits, plan switches rebase the usage limit (#10386)
* fix(billing): annual plans include a year of credits, plan switches rebase the usage limit, billing page matches the server
* fix(billing): plan pricing input accepts a subscription without a plan
* fix(billing): prorate annual Team seat allowance, rescale raised limits on plan switch, hold annual downgrades to renewal
* fix(billing): close a switched period at its own allowance, keep a year's seat-months until it closes, dispute-aware copy
* fix(billing): seat-months follow seat changes immediately, one race-safe limit rebase, test schemas carry the allowance columns
* fix(billing): fractional seat-months, chosen headroom kept on upgrades, allowance and limit writes in one transaction
* fix(billing): price fractional seat-months to the cent
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/costs.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,7 +195,7 @@ Each seven-day window from the billing period's start excludes usage up to the w
195
195
196
196
### Annual billing
197
197
198
-
Pro and Max annual subscriptions have a 15% discount while retaining their advertised included credits. Team pricing uses the same per-seat rate.
198
+
Pro and Max annual subscriptions have a 15% discount while retaining their advertised included credits. An annual billing period is the whole year, so it includes twelve months of credits up front (72,000 per seat on Pro, 300,000 on Max), usable any time during the year. Team pricing uses the same per-seat rate.
199
199
200
200
| Plan | Monthly billing | Annual equivalent per month | Annual price per seat |
Copy file name to clipboardExpand all lines: apps/sim/app/(landing)/pricing/components/pricing-faq/pricing-faq.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ const PRICING_FAQS = [
30
30
},
31
31
{
32
32
question: 'How much does Sim cost?',
33
-
answer: `Pro is $${PRO_CREDIT_TIER.dollars} per user per month with ${formatCredits(PRO_CREDIT_TIER.credits)} credits a month and a weekly refresh of ${formatCredits(PRO_CREDIT_TIER.weeklyRefreshCredits)} more. Max is $${MAX_CREDIT_TIER.dollars} per user per month with ${formatCredits(MAX_CREDIT_TIER.credits)} credits a month and a weekly refresh of ${formatCredits(MAX_CREDIT_TIER.weeklyRefreshCredits)}. Annual billing costs ${ANNUAL_DISCOUNT_RATE*100}% less for the same credits. Enterprise pricing is custom.`,
33
+
answer: `Pro is $${PRO_CREDIT_TIER.dollars} per user per month with ${formatCredits(PRO_CREDIT_TIER.credits)} credits a month and a weekly refresh of ${formatCredits(PRO_CREDIT_TIER.weeklyRefreshCredits)} more. Max is $${MAX_CREDIT_TIER.dollars} per user per month with ${formatCredits(MAX_CREDIT_TIER.credits)} credits a month and a weekly refresh of ${formatCredits(MAX_CREDIT_TIER.weeklyRefreshCredits)}. Annual billing costs ${ANNUAL_DISCOUNT_RATE*100}% less for the same credits, and includes all twelve months of credits up front to use any time during the year. Enterprise pricing is custom.`,
34
34
},
35
35
{
36
36
question: 'What is a credit, and what does an agent run cost?',
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/components/invite-modal/invite-modal.tsx
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -183,6 +183,22 @@ export function InviteModal({
183
183
constseatLimitReason=mayExceedSeatCapacity
184
184
? `Only ${availableSeats} seat${availableSeats===1 ? '' : 's'} available — invites beyond that may fail. External collaborators and existing members do not use seats.`
185
185
: null
186
+
/**
187
+
* Tells the inviter what accepting costs, since the seat is charged then rather than now. An
188
+
* organization invite needs the seat model, which only billing admins can read; a personal
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/settings/components/billing/components/usage-limit-field/usage-limit-field.tsx
"Max usage to consume per month, set in credits — Sim's usage unit (1,000 credits = $5). By default, it's your plan's included usage, but you can set it beyond."
21
+
"Max usage to consume per billing period, set in credits — Sim's usage unit (1,000 credits = $5). By default, it's your plan's included usage (a year's worth on annual billing, or the trial allowance during a trial), but you can set it beyond."
22
22
}
23
23
</Info>
24
24
)
25
25
26
26
interfaceUsageLimitFieldProps{
27
-
/** Current monthly usage limit, in dollars. */
27
+
/** Current usage limit for the billing period, in dollars. */
0 commit comments