Document credit exhaustion per plan and complete the scrape modifier table - #1397
Merged
Merged
Conversation
…table billing.mdx said only that pay-as-you-go off means a 402 and on means a new 5 USD increment. It did not say that a paid plan carries a per-tier overage allowance while top-ups are enabled, or what happens once the monthly pay-as-you-go limit is reached. The new table states the outcome per plan and setting, with the allowance figures from firecrawl-web lib/billing/payg.ts. The modifier table listed PDF, JSON, prompt injection and ZDR but not the other +4 options the API bills (question/query, highlights, audio, video, redactPII, lockdown cache hit), and said nothing about enhanced proxies, which third-party pages still describe as a 5x multiplier. All rows are read from apps/api/src/lib/scrape-billing.ts. A short note explains the multi-figure cells in the paid plans table. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
rakshith48
marked this pull request as ready for review
September 9, 2026 15:30
The multi-figure cells (5,000 / 6,500 / 8,000 and so on) were the old Smart Upgrade credit rungs. The pricing page sells one credit amount per tier now, and pay-as-you-go covers usage beyond it, so the table shows that single figure and the sentence explaining the rungs goes with it. Co-Authored-By: Claude Fable 5.1 <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
Two additions to
billing.mdx, both read from code rather than from prose elsewhere. Draft because the exhaustion section states billing behavior that Billing should ratify before it goes live (checklist at the bottom).Plus a one-sentence note explaining the
5,000 / 6,500 / 8,000style cells in the paid plans table.Why
Pricing agent-listening report, session
ax-orch-20260908-084522, 24 buyer questions across 6 agents.Finding 1 (credit exhaustion), the most consequential disagreement in the study. Asked "what happens if I go over my credit limit", agents answered three incompatible ways: hard stop with 402 (codex), automatic overage billing by default (sonnet), and hard stop unless opt-in recharge (opus). The page on
origin/mainsays only:That is true but incomplete. It does not say what happens when the monthly pay-as-you-go limit is reached, and it does not mention the overage allowance, so an agent that sees a balance go negative has no owned source to explain it.
Finding 3 (modifier disagreement). Agents agree on the 1-credit base and disagree on modifiers, quoting the same plan as up to 5x more expensive. Third-party pages still say "Stealth Mode is a 5x cost multiplier".
docs/features/enhanced-modesays 1 credit, butbilling.mdx, the page an agent lands on for cost questions, never mentioned enhanced proxies at all, and omitted several +4 modifiers documented only onfeatures/scrape.mdxandfeatures/pii-redaction.mdx.Sources for every figure
#free-plan)utils/autumn/billing-controls.ts, PAYG branch:topUpsEnabled = effectiveDollars !== 0,overageAllowed.enabled: topUpsEnabledpurchaseLimitin batches per month; null = no cap)autoTopups[0].threshold: 0,purchaseLimit.limit: batchLimitlib/billing/payg.ts:197-202,PAYG_PLAN_OVERAGE_CREDITS, applied asspendLimits[0].overageLimitinbilling-controls.tsPAYG_PLAN_OVERAGE_CREDITS#how-the-limit-caps-your-monthly-spend)question/query,highlights,audio,video: +4 eachapps/api/src/lib/scrape-billing.ts:187-204redactPII: +4, plus +4 per extra PDF pagescrape-billing.ts:224-234; matchesfeatures/pii-redaction.mdx:85-87lockdowncache hit +4 (5 total), miss 1 creditscrape-billing.ts:142-144and:111-115; matchesfeatures/lockdown.mdx:67-702a0182d56(2026-08-17, "Stop charging the +4 credit surcharge for enhanced proxies (#4324)"); matchesfeatures/enhanced-mode.mdx:51Changes
billing.mdxonly. English source; locales are generated per the repo guideline.## Running Out of Credits: heading and anchor unchanged (linked from#free-plan). The two sentences become a three-row table plus two paragraphs. The "To resume usage" list is kept.### Additional credit costs for scrape options: eight rows added, one worked example added (JSON + PII = 9).### Paid plans: one sentence under the table explaining multi-figure cells.Verified 2026-09-13 (code, Autumn docs, production DB)
PAYG_PLAN_OVERAGE_CREDITS(firecrawl-weblib/billing/payg.ts:197) was introduced in #3364 (2026-08-27) with Hobby 1,500 / Standard 30,000 / Growth 150,000 / Scale 600,000, deliberately matching what each tier already carried on Smart Upgrade.utils/autumn/payg.test.tspins every tier. Pushed to Autumn asspendLimits[].overageLimitinutils/autumn/billing-controls.ts:210-243.overageAllowedlets the balance go negative with no automatic overage charge;spendLimits.overageLimitcaps how far, after whichcheckreturnsallowed: false(our 402);autoTopups.purchaseLimitcaps top-ups per month. With top-ups off ($0cap)overageAllowed.enabledis false, so the hard stop at zero is Autumn's default for a prepaid item.overageAllowedoverride, so Autumn blocks at zero. Matches the existing#free-plantext.billing_model = payg; 21,940 of those havepayg_spend_limit_dollars = 0(hard stop row), 12,664 a positive cap, 102 no cap. The remaining 426 (auto-recharge 364, Smart Upgrade 62) follow legacy branches not described on this page.+4is a literal inapps/api/src/lib/scrape-billing.ts:140-245; enhanced proxy +0 confirmed live (a 403 escalated to stealth billedcreditsUsed: 1).Not stated on the page, deliberately: how a negative balance inside the allowance is recovered. Autumn creates no overage charge for it; per the team's own note in
billing-controls.ts:110, it is netted against the next top-up. Add a sentence if Billing wants that public.Verification
origin/main:features/scrape.mdx,features/pii-redaction.mdx,features/lockdown.mdx,features/enhanced-mode.mdx. Anchors reused (#pay-as-you-go,#free-plan,#running-out-of-credits) are unchanged.mintlifyCLI on this machine, sobroken-links/validatewere not run; the diff is plain Markdown tables and paragraphs with no new components.🤖 Generated with Claude Code