Skip to content

docs: add Platform Credits page and three-bucket model#83

Open
hongyi-chen wants to merge 4 commits into
hyc/orchestration-launchfrom
hyc/orch/platform-credits
Open

docs: add Platform Credits page and three-bucket model#83
hongyi-chen wants to merge 4 commits into
hyc/orchestration-launchfrom
hyc/orch/platform-credits

Conversation

@hongyi-chen
Copy link
Copy Markdown
Collaborator

Summary

Adds documentation for Platform Credits, the third credit bucket in Warp launching as part of the Oz Orchestration Launch (Codename Maestro). Platform Credits cover the Oz orchestration layer for the cases where Warp isn't paying for inference or compute — BYOLLM via Amazon Bedrock or Google Vertex, BYOK direct keys, or self-hosted cloud agents. AI credits and Cloud Agent Credits already cover the other two parts of the system; Platform Credits close the gap for customers who use Oz purely as an orchestration platform.

The new page is purely conceptual: it explains what Platform Credits are, when they apply, when they don't, and where they appear in usage views. Per scope, pricing specifics (per-minute rate, wall-time math, feature-flag rollout modes, telemetry, tier overrides, stale-fail short-circuit) are intentionally not documented and are deferred to warp.dev/pricing or kept internal.

Pages

New

  • src/content/docs/support-and-community/plans-and-billing/platform-credits.mdx — Conceptual page covering the three-bucket model, how Platform Credits are measured (at the conceptual "while an agent is actively working" level), when they apply / don't apply, and where they appear in user and admin usage surfaces.

Edited

  • src/content/docs/support-and-community/plans-and-billing/credits.mdx — Added a three-bucket model summary near the top (AI credits, Cloud Agent Credits, Platform Credits) and a "Platform Credits" subsection at the bottom mirroring the existing "Cloud Agent Credits" subsection. Both link to the new page.
  • src/content/docs/support-and-community/plans-and-billing/plans-pricing-refunds.mdx — Added a Platform Credits entry to the credit-types list so the new page is discoverable from the plans landing surface.

Out of scope (per launch coordination)

  • No edits to src/sidebar.ts (reserved for the cross-cutting launch PR).
  • No vercel.json redirects (reserved).
  • No edits to top-level landing pages.
  • No edits to the BYOLLM or Add-on Credits pages.

Open questions / things to confirm before merge

  1. Rollout state at launch. In warp-server/config/prod.yaml, platform_credits_mode is currently report — meaning telemetry is being emitted for calibration but no platform-credit charges are landing in the ledger yet. Staging and local are charge. I drafted the page to describe Platform Credits as an active billing concept ("are charged") rather than "will be charged," but if Platform Credits won't be in charge mode in prod on the launch date, we may want to soften the language (e.g., "Platform Credits are rolling out for [cohort]") or hold the page until the flag flips. Please confirm with Product/PM.
  2. Pricing page coverage. The page defers the per-minute rate to warp.dev/pricing. Confirm the public pricing page will publish the rate by launch; otherwise the "The per-minute rate is published on warp.dev/pricing" sentence should be revised.
  3. Admin Panel visuals. The page references "a (Platform) label in the tooltip" and "a stacked usage bar segment." Once the Admin Panel UI is finalized for launch, a screenshot would strengthen the "Where Platform Credits appear" section.

Validation

  • python3 .agents/skills/style_lint/style_lint.py --changed → 3 files scanned, 0 issues.
  • Files touched are scoped exactly to the PR's listed paths.

Context

  • Source-of-truth tech spec: warp-server/specs/REV-1551/TECH.md
  • Charge matrix: warp-server/model/types/billing.go::ShouldChargePlatformCredits
  • Admin UI labels: warp-server/client/src/components/admin/billing/memberUsageUtils.ts (BUCKET_LABELS)

Conversation

Co-Authored-By: Oz oz-agent@warp.dev

Adds a new conceptual page introducing Platform Credits as the third
credit bucket in Warp, alongside AI credits and Cloud Agent Credits.
Explains when Platform Credits apply (cloud agents on any plan, and
local agents on Business/Enterprise with BYOK or BYOLLM inference),
when they don't, and where they appear in usage views.

Also updates the existing Credits and Plans pages to introduce the
three-bucket model and cross-link to the new page.

Pricing specifics are deferred to warp.dev/pricing.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 16, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Error Error May 16, 2026 11:32pm

Request Review

@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 16, 2026

@hongyi-chen

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds the Platform Credits billing page and connects it from the existing billing overview pages. The structure is clear, and I did not find security concerns in this documentation-only diff, but the core charge matrix is internally inconsistent and should be corrected before publishing.

Concerns

  • The new page says a Warp-managed cloud agent run has no Platform Credits charged, then later says every cloud agent always consumes Platform Credits regardless of whether inference is Warp-managed. That contradiction would make the billing guidance unreliable.

Verdict

Found: 0 critical, 1 important, 1 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz


### Charged

* **Cloud agents on any plan** - Any cloud agent run, regardless of which harness (Warp Agent, Claude Code, Codex, Gemini) or where the inference comes from (Warp-managed, BYOK, or BYOLLM). Cloud agents always consume Platform Credits because Oz is orchestrating the run.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [IMPORTANT] This says every cloud agent consumes Platform Credits even with Warp-managed inference, but line 20 says that exact run has no Platform Credits and the intro scopes Platform Credits to cases where Warp isn't paying for inference or compute. Align the charged matrix before publishing; if all cloud agents are charged, update the earlier sections too, otherwise narrow this bullet.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. The original framing of 'when Warp isn't paying for inference or compute' contradicted the actual charge matrix. Reframed the intro and the multi-bucket example so a Warp-managed cloud agent consumes all three buckets (AI credits + Cloud Agent Credits + Platform Credits), matching the 'Charged' section. Same fix applied to the Platform Credits section in credits.mdx and the one-liner in plans-pricing-refunds.mdx.


Warp meters AI and agent usage in three buckets. Each bucket charges for a different part of the system:

* **AI credits** - Charged for inference Warp pays for. Consumed by Agent conversations, [Generate](/agent-platform/local-agents/overview/), Workflow autofill, and other AI features. See [credits](/support-and-community/plans-and-billing/credits/) for how AI credits are calculated.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 [SUGGESTION] Link Generate to its feature page; /agent-platform/local-agents/overview/ is the general agents overview, so this sends readers to the wrong destination.

Suggested change
* **AI credits** - Charged for inference Warp pays for. Consumed by Agent conversations, [Generate](/agent-platform/local-agents/overview/), Workflow autofill, and other AI features. See [credits](/support-and-community/plans-and-billing/credits/) for how AI credits are calculated.
* **AI credits** - Charged for inference Warp pays for. Consumed by Agent conversations, [Generate](/agent-platform/local-agents/generate/), Workflow autofill, and other AI features. See [credits](/support-and-community/plans-and-billing/credits/) for how AI credits are calculated.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied in the latest commit. Generate now links to /agent-platform/local-agents/generate/.

- Fix contradiction flagged in PR #83 review: cloud agents always charge
  Platform Credits regardless of inference source. Reframe intro, three-
  bucket section, and the multi-bucket example to match the matrix in
  'When Platform Credits apply'.
- Point Generate link at /agent-platform/local-agents/generate/.
- Remove time-unit details from the rate section; defer to warp.dev/pricing.
- Drop internal tooltip-label callouts from the admin section.
- Tighten plans-pricing-refunds Platform Credits one-liner to match.

Co-Authored-By: Oz <oz-agent@warp.dev>
@hongyi-chen
Copy link
Copy Markdown
Collaborator Author

Revision pass

Latest commit: db2fdd3.

Addressed bot review comments

  • IMPORTANT — charge-matrix contradiction (line 34): Fixed. The original intro framed Platform Credits as charging "when Warp isn't paying for inference or compute," which contradicted the rule that every cloud agent run charges Platform Credits. Reframed the intro, the three-bucket bullet, and the multi-bucket example so a Warp-managed cloud agent run consumes all three buckets (AI credits + Cloud Agent Credits + Platform Credits). Same fix applied to credits.mdx and the one-liner in plans-pricing-refunds.mdx.
  • SUGGESTION — Generate link (line 16): Applied. Generate now points at /agent-platform/local-agents/generate/.

Internal-only scrub

  • Removed (Platform) / (AI) / (Compute) tooltip-label references from the Admin section.
  • Removed the explicit per-minute time-unit from the "How Platform Credits are measured" section; users are now pointed at warp.dev/pricing for current rates. The conceptual "accrues while an agent is actively working" model is preserved.
  • Verified no leaks of internal terms: feature-flag mode names, telemetry event names, DB column references, tier-override keys, infrastructure-timeout short-circuit, or any contract-level exemptions.

Senior-writer pass

  • Trimmed the intro from two paragraphs to two tighter paragraphs that state where Platform Credits apply and where they don't.
  • Tightened "Charged" bullets so they lead with the rule, not the rationale.
  • No service-account references present.

Validation

  • style_lint.py --changed: 0 issues
  • check_links.py --internal-only: 0 broken links across 318 files

…infrastructure

Per review feedback, lead with the three-infrastructure framing (inference,
compute, platform) rather than the orchestration-layer framing. Each credit
bucket now names the kind of infrastructure it covers. Also drop the
enterprise custom-rate sentence; warp.dev/pricing remains the source of
truth for rates.

Co-Authored-By: Oz <oz-agent@warp.dev>
- Reframe Platform Credits intro to lead with the rule (every cloud agent
  run, plus Business/Enterprise local agent runs with customer-supplied
  inference) instead of the negative 'when Warp isn't paying' framing.
- Align cross-file framing in credits.mdx and plans-pricing-refunds.mdx so
  all three pages describe Platform Credits in the same terms.
- Replace 'Workflow autofill' with linked 'AI Autofill'.
- Replace 'Local Oz runs' with 'local agent runs' (Oz run is cloud-only).
- Deduplicate the second BYOK parenthetical and normalize BYOLLM wording.
- Clarify that self-hosted cloud workers count as cloud agents for
  Platform Credits purposes.

Co-Authored-By: Oz <oz-agent@warp.dev>
@hongyi-chen
Copy link
Copy Markdown
Collaborator Author

Audit fixes applied in 617c97e:

  • Intro reframe — Dropped 'when Warp isn't paying for inference/compute' framing across platform-credits.mdx (description, intro paragraph, three-bucket bullet) in favor of leading with the rule: every cloud agent run, plus Business/Enterprise local agent runs with customer-supplied inference. Restructured the follow-up paragraph to define customer-supplied inference (BYOK / BYOLLM via Amazon Bedrock or Google Vertex) since the new lead references it directly.
  • Cross-file alignmentcredits.mdx:19 and :144 plus plans-pricing-refunds.mdx:23 now use the same 'Warp's platform infrastructure for every cloud agent run, plus…' framing.
  • 'Workflow autofill' → linked 'AI Autofill' in platform-credits.mdx:19, pointing at /knowledge-and-collaboration/warp-drive/workflows/#ai-autofill.
  • 'Local Oz runs' → 'local agent runs' in platform-credits.mdx:38 and credits.mdx:151.
  • BYOK/BYOLLM normalization — Deduped the second BYOK parenthetical (link text is now just [BYOK] since the acronym is defined earlier on the page) and standardized on 'BYOLLM via Amazon Bedrock or Google Vertex' wording. Also extended the 'Cloud agents on any plan' bullet to call out compute source (Warp-hosted or self-hosted workers), since self-hosted workers are treated as cloud-source for Platform Credits.

Validation: style_lint --changed clean (3 files, 0 issues), check_links --internal-only clean (0 broken).

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant