Document API key spend limits and key names on the billing page - #1416
Conversation
Add an "API key spend limits" section to billing.mdx. It covers renaming a key, setting a per-key credit limit, the day, week and month intervals, who can set a limit, and the search carve-out. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017gT8R64Yuvq8jQszkLdtQo
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
The red check is a base failure, not this changeThe job Locale literals and extraction-hostile markdown fails on the first step, Correction to the first version of this comment. It said the other two steps pass and print their pass lines in the same log. That was wrong. The three scripts are three separate steps in one job, so a failing step ends the job and the later steps are skipped. The log holds no result for the locale literal selftest or for the extraction-hostile markdown check. CI cannot report on those two while step 1 fails. Both were run locally on the same tree instead, and both pass, with exit code 0 each. The step reports 14 lines. Every line names a file under This pull request changes one file, Evidence
How main got here#1393 added this check and restored the English identifiers. The locadex sync in #1394 rewrote the same pages from translation memory and merged red. #1406 reverted those hunks and made the check pass again. The later locadex syncs in #1411 and #1413 reintroduced the same strings. #1413 is the current main HEAD, What fixes itNot this pull request. The fix belongs on main: revert the locale hunks again, and pin Generated by Claude Code |
The note said flatly that a spend limit does not cap search. Verification against live billing data proved the mechanism, not the absolute claim: search is metered on a separate search credit meter and does not count toward a key's credit limit, but search overflow into the main credit balance is untested against the cap. The note now states that search does not stop at the limit, and that search still spends credits: the search allowance first, then the main balance. No heading, anchor or other copy changes. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017gT8R64Yuvq8jQszkLdtQo
Autumn confirmed that a per-key credit limit applies to search and to every other endpoint. Two orgs reconcile exactly: org credit usage equals the sum of billed credits, search included. The earlier carve-out evidence was invalid, because that org's month-interval counter did not cover the search date and the org held a separate search grant. The note is removed, not reversed. The section states what a limit does and does not need to list endpoints. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017gT8R64Yuvq8jQszkLdtQo
Requested by Gaurav Chadha · Slack thread
Before: A reader of the billing page found nothing about per-API-key spend limits. The only public mention sat in a single Enterprise bullet: "Set spending caps per API key or per team". The billing page named a "per-API-key spend limit" once, inside a crawl pre-flight note, with no section to explain it. Nothing told the reader that key names are editable, or that a limit counts credits instead of dollars.
After: The billing page has an "API key spend limits" section. It says that the key owner or a team admin can rename any key, including the key named Default, and can cap the credits one key uses per day, per week or per month. It names the dashboard page and the exact menu items. It states that a limit counts credits, not money, and that a limit of 1 means one credit.
How: one new section in
billing.mdx, placed after the pay-as-you-go sections and before "Upgrading and Downgrading". No existing heading, anchor or copy changed, so no fragment links break. No locale file touched. The facts and the UI labels come from the app code in firecrawl-web.Staying in draft: there is an open question about whether per-key limits are enforced, and the section promises a cap until that is settled.
🤖 Generated with Claude Code
https://claude.ai/code/session_017gT8R64Yuvq8jQszkLdtQo