Billing and credits
The Solo, Team and Scale plans every review needs, starter and prepaid credits for CodePanel's keys, refunds, and refusal codes.
On this page›
Important
Every review and every agent run needs a CodePanel plan, from $25/month per account, on your own provider keys or CodePanel's. CodePanel is open to any model: bring your own keys and pay your providers per token, or run on CodePanel's keys with prepaid credits.
Pricing
| Plan | Price | Pull requests a month | Rounds at once | Credit purchase fee |
|---|---|---|---|---|
| Solo | $25 a month | 300 | 2 | 5.5% |
| Team | $100 a month | 2,000 | 5 | None on the first $100 of credits a month |
| Scale | $250 a month | 10,000 | 10 | None on the first $250 of credits a month |
Plans are billed through Stripe, per account, never per seat. One is needed for every review.
| Item | Amount |
|---|---|
| Starter credits | Once, with your first paid month: $5 on Solo, $25 on Team, $50 on Scale. An upgrade tops them up to the new plan's amount |
| Credits | $25, $50, $100 or $250; one dollar buys one dollar of credit |
| Purchase fee | On Solo, 5.5% of the credits bought, at least $0.80, for payment processing: $25 of credits costs $26.38. On Team and Scale the first $100 or $250 of credits bought each calendar month (UTC) carry none, and the fee is on the rest of a purchase: on Team, $25 costs $25 until $100 is bought that month |
| Auto-reload | Off by default; when on, a pack plus any purchase fee whenever your balance falls below your threshold, up to your monthly cap |
| Calls on CodePanel's keys | The provider's price, with no markup, rounded up to the micro-dollar |
| Calls on your own keys | You pay your provider; they never spend credits |
Prices are before tax. Where CodePanel collects sales tax, VAT or GST, it is added at checkout; see Tax and invoices.
Checkout takes cards, Apple Pay and Google Pay, and Link, which in the US can also pay from a bank account.
Plans
Every plan includes the whole product: any model, up to 10 reviewers per panel, unlimited repositories and contributors (people and agents; priced per account, never per seat), your own keys or your ChatGPT plan at no markup, unlimited rounds per pull request, learnings, disputes, the merge gate, and the API, MCP and CLI. Plans differ only in how much review capacity they carry: pull requests a month and rounds at once. Model calls are paid separately, on your own keys or with credits.
- What counts. A pull request counts once per calendar month (UTC) however many rounds it gets. The count is the distinct pull requests that started a round that month.
- 80% notice. From 80% of the month's pull requests, the Billing page,
GET /api/v1/me(subscription.nextAction) and the MCPwhoamisay the account is close, and so does each review comment. - Grace. Past 100%, a further 10% still reviews, and the same places say the account is past its limit.
- Pause. Past the grace, reviews of new pull requests are refused with
plan_limituntil the 1st (UTC). A pull request already counted that month keeps getting rounds. The merge gate never blocks on a push that went unreviewed because of the pause: it is judged on the findings the pull request already has. - Rounds at once. A plan runs that many rounds of your account at the same time. More wait, and start on their own within about a minute of a slot freeing; nothing is refused for waiting. A round still waiting after 45 minutes starts anyway.
- Changing plans. Settings → Billing shows the other plans with Upgrade or Downgrade; changing plans is done there, not through the API. An upgrade is charged now, prorated for the rest of the period. A downgrade leaves the difference as credit on your next invoice, and is refused while this month's pull requests exceed the smaller plan's; move down next month. Cancelling keeps service to the end of the period.
- Subscriptions from before these plans. A subscription started before the plans keeps its original price with Solo's limits, and the Billing page says so. It upgrades to Team or Scale like any other, prorated against what it pays; after that, coming back to Solo costs Solo's price, $25 a month.
- Earlier subscriptions. A subscription made before plans existed counts as Solo. A complimentary account has the plan its comp names, Scale by default, and no change buttons.
Subscription
Subscribe under Settings → Billing: choose a plan, and Subscribe opens a Stripe Checkout for it. Once Stripe confirms the first payment, reviews run, and the plan's starter credits land on your balance. Manage subscription opens Stripe's customer portal, to change card, download invoices or cancel; a canceled subscription keeps working until the end of the period it was paid for, and Renew there takes the cancellation back. After a failed payment the button reads Update card.
- What it covers. Every model call your reviews make: review rounds, questions and disputes, learning drafts and chat replies. Without a plan, a round is refused with
plan_required, a question is answered with where to subscribe, and a dispute waits with the same reason. - Agent runs. Agents need a plan too, the same as reviews. Their model tokens are charged at cost, on credits or your own keys, with no fee on top, and the plan's pull requests a month do not count them; see Agent runs.
- Failed payment. While Stripe retries your card the subscription stays active, and the Billing page says the payment failed. Reviews stop once Stripe gives up and cancels it.
- Cancelling. A cancelled subscription keeps working until the end of the period you paid for.
- Deleting your account. Cancels the subscription immediately instead, with no refund for the rest of the period or for unused credits. See Delete your account.
- Starter credits. Granted once per account, with the first paid invoice, never for signing in: $5 on Solo, $25 on Team, $50 on Scale. Upgrading tops them up to the larger plan's amount, once: Solo to Team adds $20, then Team to Scale $25. The top-up comes with the upgrade's prorated charge, up to what that charge was, and any rest with the next month paid on the plan. Resubscribing, or downgrading and upgrading back, grants none. A refund of an invoice that granted starter credits takes back the matching share of what that invoice granted; a dispute takes it back until it is decided in the merchant's favor.
Credits
Credits are spent only when a model call runs on CodePanel's key.
No keys needed. With credits and no key of your own for a provider, everything runs on CodePanel's key for it: review rounds, disputes,
/askquestions, learning drafts and chat replies. Each call outside a round reserves the most it could cost before it starts, and is refused, not made, when the balance cannot cover that. A chat reply or a question reserves a full-length answer (16,000 output tokens at the orchestrator's price), so on a pricier orchestrator it needs that much balance even when the answer turns out short; what is charged is what the call used.Purchased credits never expire. You buy them under Buy credits in Settings → Billing, with an active plan. Starter credits never expire either.
Expiring credits first. If your account holds credits that an earlier monthly credit plan granted, they stay spendable until their period ends, and are spent before purchased ones. The Billing page shows how much expires and when.
Overdraft. Charges post as calls finish, so a round can end slightly above your balance. The debt sits on your purchased credits until you buy more, and the Billing page shows it as owed.
Auto-reload
Off unless you turn it on, under Auto-reload in Settings → Billing, or with POST /api/v1/auto-reload, the MCP tool set_auto_reload, or codepanel auto-reload on. While it is on, when your balance falls below your threshold, CodePanel charges your saved card for a credit pack plus the purchase fee (none on Team and Scale), and the credits land as soon as Stripe confirms the charge.
| Setting | Default | Rule |
|---|---|---|
| Threshold | $5 | Reload when the balance falls below it; any positive amount |
| Pack | $25 | $25, $50, $100 or $250, charged with the purchase fee: $25 costs $26.38 on Solo and $25 on Team and Scale |
| Monthly cap | $100 | The most credits reloads may buy per calendar month (UTC); at least the pack |
- One at a time. A reload starts in the same step as the charge that took the balance below the threshold, so rounds running together start one reload, not several. While it is charging, no other starts.
- Also without a charge. Turning it on, or changing it, while the balance is already below the threshold reloads at once. So does a round or question refused because the balance cannot cover it.
- The cap. It counts the credits this month's reloads bought, a running one included. A reload that would take the month past the cap is skipped whole, never charged in part, and the Billing page and
GET /api/v1/auto-reloadsay so (status: "capped") until the month ends or you raise the cap. A failed charge does not count; a refunded one still does, and so does one that stalled, since it may have charged. - The card. Your Stripe customer's default card, else the card on your subscription. Subscribing makes the card you pay with the default, and changing the default under Manage (Stripe's customer portal) changes the card auto-reload charges.
- Failures you can fix turn it off. A declined card, a bank asking to confirm the charge (which can't be done automatically), no saved card (none on file, or the customer, subscription or card was deleted), or a charge that did not finish within an hour turns auto-reload off, with the reason shown on the Billing page and as
offReasonin the API. These do not retry; turn it on again once the card is fixed. A problem with CodePanel's own Stripe setup turns it off asbilling_error. - Outages retry. If Stripe is unreachable, busy or fails on its side before the reload's invoice is made, nothing is charged and auto-reload stays on. Once a delay has passed (1 minute after the first failure, then 5, 30 and 120 minutes;
retryAfterin the API), the next charge or refused round below the threshold tries the same reload again. A fifth failure in a row turns it off asbilling_error. An error Stripe does not name is treated the same way. Once the invoice exists, any error turns auto-reload off with its reason (payment_failedwhen it is not the card or the bank), since the payment may have gone through. - Disputes turn it off too. A dispute over any payment to CodePanel turns auto-reload off, and it cannot be turned on again until the dispute closes, so the card is not charged while it is contested (
disputeOpenin the API). A refund leaves it on, and a refund of an auto-reload does not start another reload by itself; the next charge that takes the balance below the threshold does. - Subscription. Turning it on needs a subscription, and no reload runs without one.
- Each reload is a Stripe invoice with the same two lines as a purchase in Checkout, and is refunded or disputed the same way.
Refunds and disputes
- A refunded purchase takes back its credits; a partial refund takes back the same share of them as the share of the payment refunded, fee and tax included. Credits already spent are owed. With no other credits, after buying $50 and spending $20: a full refund takes back $50 of the $30 left, so you owe $20; a half refund takes back $25, so $5 remains.
- A disputed purchase is taken back while the dispute is open or lost, and restored if it is decided in the merchant's favor.
Tax and invoices
- Tax is added on top. Where CodePanel collects sales tax, VAT or GST, Stripe works it out from your billing address and adds it to the subscription, each credit purchase and each auto-reload, and Checkout shows it before you pay. The tax is on the charge, never taken from your credits: $25 of credits is still $25 of credit.
- Billing address. Checkout asks for one on every purchase and saves it to your account, with the name you enter, so each invoice carries them.
- Tax IDs. Buying for a business, tick the box in Checkout to enter its tax ID (an EU VAT number, a UK VAT number, an Australian ABN and so on) and its legal name. Stripe checks the format, and where the rules allow (an EU business with a valid VAT number buying from abroad, for example) the invoice applies the reverse charge instead of tax.
- Invoices. Every payment has an invoice with your name, address and tax ID: each subscription month, each credit purchase and each auto-reload. Download them under Manage (Stripe's customer portal), where you can also change the name, address, email or tax ID on future invoices. Past invoices keep the details they were issued with.
Which key a call uses
For each reviewer and the orchestrator, CodePanel picks one credential per round, before any model is called, and never switches it mid-call:
| Your situation for that provider | Result |
|---|---|
| A valid key stored; you have credits; CodePanel has a key for that provider; credits first on (the default) | Runs on CodePanel's key and spends credits while your balance covers its reservation; otherwise runs on your key. A model with no known price, or one CodePanel's key does not offer, always runs on your key |
| A valid key stored, and credits first off, or no credits, or no CodePanel key for that provider | Runs on your key; no credits |
| An invalid key stored; you have credits; CodePanel has a key for that provider that offers the model at a known price | Runs on CodePanel's key and spends credits, whatever credits first is set to, in review rounds and in questions, disputes and drafts alike. The review's footer says "credits, own key rejected", and replacing the key puts it back on your key |
| An invalid key stored, and no credits, no CodePanel key for that provider, or a model it does not offer | Reviewer dropped: "Your own ... API key is invalid. Update it in Settings." |
| No key; you have credits; CodePanel has a key for that provider | Runs on CodePanel's key and spends credits |
| No key; CodePanel has a key for that provider; you have no credits | Reviewer dropped: "No API key for |
| No key; CodePanel has no key for that provider | Reviewer dropped: "No API key for |
Credits first is a per-account setting, on by default: the Spend credits before my own keys switch in Settings → Billing, POST /api/v1/credits-first, the MCP tool set_credits_first, or codepanel credits-first on|off|default. With it on, starter and purchased credits are used up before your own keys, then your keys take over, so you can keep going on them or buy more credits. Off, your own key always wins, as it did before the setting existed. It applies to review rounds only: questions and disputes and learning drafts still prefer your own key.
The review comment's footer names which key paid for each reviewer whenever a round used credits or fell back from them, for example Bugs (claude-sonnet-5-5; credits) or Perf (gpt-5; own key, credits ran short). GET /api/v1/review and the MCP get_review return the same as payload.keys: for each member, its slug, modelId, paidBy (credits, own_key or plan) and creditsSkipped (balance when the balance did not cover it, no_price for a model without a known price, not_offered for one CodePanel's key does not offer, platform_key when CodePanel's own key for the provider is refused or expired, or null) and ownKeyRejected (true when it ran on credits because your own key for its provider is rejected, shown in the footer as credits, own key rejected).
If CodePanel's own key for a provider is refused or expired, CodePanel stops using it at once: reviews, disputes and questions run on your own key for that provider (the footer says own key, CodePanel's key unavailable), and without one the reviewer sits out with a reason that names CodePanel's key. You do not need to do anything; CodePanel's operators are alerted and replace the key, and credits resume once it lists models again.
Credits are never offered for Custom, whose base URL you supply. Workers AI on credits runs on CodePanel's own Cloudflare account, never the account ID you saved with your own token. A model also needs a known price to run on credits; otherwise: "... is not available on CodePanel credits. Add your own ... key to use it."
Credits without a key
Credits work with no provider key at all:
- Starter panel. The first review, or opening the panel page, seeds the starter panel on the providers CodePanel's keys cover. If you have any working key, the panel is seeded from your keys alone, and buying credits later never adds credit-funded reviewers.
- Model picker. Credits models are listed under each provider as "CodePanel credits", after your own keys' models, and only with a known price.
GET /api/v1/modelsand the MCPlist_modelstool mark them"source": "credits"; your keys' models are"source": "own_key". - Onboarding asks, as its last step, to subscribe and then whether to use credits or add a key, unless you are subscribed and have a working key.
A provider you stored a key for is never offered on credits in the model picker or the starter panel, even if the key is invalid; with credits first on, a review round still runs its models on credits while your balance covers them, as above. The credits model list refreshes daily, so a provider CodePanel stops offering stays listed for up to a day; a review on it then is refused with provider_key_missing.
When a review is refused
A round with no subscription, or that needs CodePanel's keys with a balance at zero or below, fails with a stable code, returned as errorCode and nextAction by GET /api/v1/reviews/status, as failure by GET /api/v1/review, by GET /api/v1/sessions, and by the MCP tools wait_for_review and get_review. For plan_required, plan_limit, credits_required and credits_exhausted, the pull request's review comment shows the same notice.
errorCode |
Meaning | Fix |
|---|---|---|
plan_required |
You have no active subscription | Subscribe in Settings → Billing |
plan_limit |
The account is past its plan's pull requests for this month, grace included, and this pull request is new to the month | Upgrade in Settings → Billing, or wait for the 1st (UTC). Pull requests already counted keep getting rounds |
credits_required |
The panel needs credits, and you have none | Buy credits, or add your own provider key |
credits_exhausted |
You have credits, but not enough for even the orchestrator | Buy more credits, or add your own provider key |
provider_key_missing |
The panel needs a key you have not added, and no credits are offered for it | Add the provider key |
provider_key_invalid |
Your key for the panel's provider was rejected, and there are no credits to run on instead | Replace the key, or buy credits where CodePanel offers the provider |
A refusal never blocks the pull request. nextAction first tells the agent to review the commit itself from the review brief, send it with submit_local_review and carry on (payload.nextAction is review_locally, and wait_for_review answers refused at once), then names the Settings link the account's owner can open. Subscribing, buying credits and entering keys happen in the browser on purpose. Once fixed, the next push is reviewed. A monthly budget, repository cap or per-PR limit is handled the same way. POST /api/v1/reviews/trigger with nothing to run on returns 400 with {"error": "...", "code": "precondition", "reason": "credits_required"}.
Agent runs
An agent run needs a plan, the same as a review, on your own keys or CodePanel's. Every model call a run makes goes through CodePanel's model proxy and is charged per token at the provider's price: on CodePanel's key it spends credits at cost, on your own key you pay your provider and no credits are spent. There is no fee on top. Plans' pull requests a month and rounds at once count reviews only, never runs; a run is bounded by its agent's budget and the account's day cap on agent spend instead.
Without a plan, agents are refused with plan_required in three places, each with a nextAction that names where to subscribe:
| Where | What happens |
|---|---|
Queuing a task: POST /api/v1/tasks, MCP start_task, the desktop app's composer, the Tasks page |
409 with {"code": "precondition", "reason": "plan_required", "nextAction": "..."}; nothing is queued. The composer shows the message with a See plans link |
| A run's next model call, once the plan has lapsed mid-run | The model proxy answers 402 with error type plan_required, and the runner stops the run without retrying |
| An autopilot rule's event | Skipped, with the reason on the event |
A run the proxy stopped this way waits in the inbox as a plan_stop item (GET /api/v1/inbox, MCP get_inbox, the desktop app's Inbox, which links to the plans). Subscribe, then retry the task. A complimentary plan counts as a plan. On a deployment without billing, nothing is gated. How runs are capped, and what to do when one stops at its cap, is in Run control.
Running low on credits
Before any model is called, a round on CodePanel's keys reserves the most it could cost; the check and the reservation are one step, so two rounds cannot spend the same credits. If the balance cannot cover the panel, CodePanel gives up credits in this order until it does:
- Credits-first reviewers move to your own keys, the most expensive first. They still run; only who pays changes, and the review comment says "own key, credits ran short".
- The orchestrator moves to your own key, if it is credits first.
- Credit-funded reviewers with no key of yours are dropped, the most expensive first, each with "Not enough CodePanel credits for this review. Top up in Settings → Billing, or add your own
key."
Reviewers on your own keys always run. A round whose every reviewer has your key to fall back to is never refused for credits. If even the orchestrator alone does not fit on credits and has no key of yours, all credit-funded providers without your key become unavailable, and the review fails if that leaves no reviewer or no orchestrator.
With auto-reload on, a round that cannot take everything on credits starts a reload, and later rounds go back to credits once it lands; with credits first, that keeps buying packs up to your monthly cap before your own keys take over for good. A reservation that is never released expires after 11 minutes. A dispute or question answered on credits reserves its one call the same way, and is not made when the balance cannot cover it.
Credits and budgets
The monthly budget and repository caps count only spend on your own keys. A round wholly on credits takes no budget hold and is bounded by your balance instead. A reviewer that falls back from credits to your own key counts toward them like any own-key call, and the budget is checked before the round whenever one could. The per-pull-request limit counts review calls either way.
Buy credits
Open Settings → Billing. The page shows your plan and this month's pull requests, your balance (or what you owe), how much of it expires and when, and, with a subscription, a Buy credits button for each amount. Each button starts a Stripe Checkout for that amount; the credits land when Stripe confirms the payment. An amount other than those offered is refused with "Choose one of the offered amounts".