billing: revert memory tier prices to pre-10x rates#183
Merged
Conversation
Reverts the 10x bump from c21f21e (2026-04-15). TierPricePerSecond is divided by 10 across all six tiers, back to the rates established by the per-second correction earlier the same day. TierPriceKey suffixes are bumped one step (_v3 -> _v4 for most tiers, 8GB _v4 -> _v5) so EnsureProducts creates fresh Stripe Prices at the reverted rates. Existing 10x subscribers are migrated onto the new Prices via cmd/migrate-prices after deploy (default behavior targets price_locked=FALSE, so the 6 pre-2026-04-15 grandfathered orgs stay untouched). Migration 022 and the --force/--org flags on cmd/migrate-prices are left intact so grandfathering continues to work unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Those tiers stay available in code but we are not supporting them publicly until a later date, so strip them from the elasticity page, the TypeScript SDK reference, and the create-sandbox API reference (param descriptions, allowed-values lists, and tier tables). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TierPricePerSecondare divided by 10, back to the per-second rates from the 2026-04-15 correction.TierPriceKeysuffix one step (_v3->_v4for most tiers, 8GB_v4->_v5) soEnsureProductscreates fresh Stripe Prices at the reverted rates on next boot.orgs.price_locked) and the--force/--orgflags oncmd/migrate-pricesuntouched — grandfathering for the 6 pre-2026-04-15 paying orgs continues to work as-is.Reverted rates (USD/second)
After deploy
Run
go run ./cmd/migrate-pricesto move orgs that signed up at 10x between 2026-04-15 and today onto the reverted Prices. Default behavior targetsprice_locked=FALSEonly, so grandfathered orgs stay put.Test plan
EnsureProductslogs creation of the new_v4/_v5Prices in Stripe at the reverted unit amountscmd/migrate-prices --dry-runand verify only non-locked 10x subscription items are listedcmd/migrate-pricesfor real, confirm items move to new Pricesprice_locked=TRUE) are skipped in the migrate-prices output🤖 Generated with Claude Code