Optimize CodeRabbit costs through tier selection, sampling, and usage monitoring. Use when analyzing CodeRabbit billing, reducing API costs, or implementing usage monitoring and budget...
Build an approval-ready cost decision from current dashboard and plan evidence. Prices, allowances, and entitlements are time-sensitive.
references/official-docs.md and re-check any time-sensitive contract before execution.Treat Git-provider sessions, CodeRabbit web sessions, CLI credentials, and CodeRabbit API keys as separate credentials. Use only an already-approved session or secret-manager reference, never print a secret, and do not place credentials in .coderabbit.yaml, source files, logs, or deliverables.
Capture plan, cadence, seats, add-on state, and usage for one period.
Separate unused seats, avoidable overage, repository scope, and capacity needs.
Model keep, right-size, and upgrade scenarios with dated prices.
Present savings, impact, owner, effective date, and rollback constraints.
Never buy credits, change plans, remove seats, or alter access without billing and organization-owner approval. Keep analysis and drafts local until approval is explicit, and record who approved the action and its scope.
A dated baseline, scenario table, evidence links, recommendation, and approval record. Include source dates, unknowns, and the exact boundary between observed fact and recommendation.
| Condition | Response |
|---|---|
| Current contract is unclear or docs disagree | Stop mutation, cite both sources, and request owner resolution. |
| Required access or approval is missing | Produce a draft and evidence plan only. |
| Validation or pilot behavior differs from expectation | Restore the prior state and retain the failed evidence. |
| Output contains secrets or private code | Stop, quarantine the artifact, redact it, and notify the data owner. |
Identify inactive assigned seats before a downgrade.
Compare a higher plan with usage credits using current evidence.
references/official-docs.md.