Skip to content

Add Usage-Based Billing documentation#581

Open
DavertMik wants to merge 1 commit into
docsfrom
usage-based-billing-docs
Open

Add Usage-Based Billing documentation#581
DavertMik wants to merge 1 commit into
docsfrom
usage-based-billing-docs

Conversation

@DavertMik
Copy link
Copy Markdown
Contributor

@DavertMik DavertMik commented May 27, 2026

Summary

  • New Usage-Based Billing page under Management → Company documenting per-seat quotas (test reports, API requests, AI tokens), overage toggle, monthly spending cap, billable v1/v2 API route inventory, notifications, and edge cases.
  • Opens with a 4-card docs-style diagram comparing the four billing modes — Trial (unlimited), Free plan (hard cap), Paid + overage off (quota wall, HTTP 402), Paid + overage on (metered with optional cap).
  • Sidebar entry added in astro.config.mjs between Subscriptions and Plan Features Comparison.

The plugin/workflow work originally bundled here has been split into #582.

Test plan

  • npm run dev — confirm the new page renders at /management/company/usage-based-billing and the diagram displays inline.
  • Sidebar shows the new entry under Management → Company, between Subscriptions and Plan Features Comparison.
  • Verify the diagram looks correct in both light and dark themes.
  • npm run build completes; no link-validator failures on the new page.

🤖 Generated with Claude Code

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 27, 2026

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: b5eadf7
Status: ✅  Deploy successful!
Preview URL: https://848c2803.docs-c7r.pages.dev
Branch Preview URL: https://usage-based-billing-docs.docs-c7r.pages.dev

View logs

New page under Management > Company documenting per-seat quotas (test reports,
API requests, AI tokens), overage toggle, monthly spending cap, billable v1/v2
API route inventory, notifications, and edge cases. Opens with a docs-style
4-card comparison diagram of Trial / Free / Paid-capped / Paid-metered modes.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@DavertMik DavertMik force-pushed the usage-based-billing-docs branch from ea51f97 to b5eadf7 Compare May 27, 2026 10:57
@github-actions
Copy link
Copy Markdown

⏱️ Cloudflare Build Status Unknown

Could not determine Cloudflare deployment status within 15 minutes.

Please check the Cloudflare Dashboard manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant