What is credit-based pricing?
Credit-based pricing sells a prepaid balance that customers spend on product actions. How it works, what a credit is worth, and how to keep margin when costs vary.

Credit-based pricing is a model where customers buy or receive a balance of credits and spend them on product actions, such as 25 credits per report. The customer pays before using the product, unlike usage-based pricing, which bills afterward. The vendor carries the risk that an action costs more to serve than the credits it consumes.
That risk is the part most credit systems get wrong. One credit can buy a cheap action or an expensive one, and the provider cost behind each action moves every time a model price changes. If the ratio between credits and cost is off, a customer can spend a $100 credit pack on work that cost you $120 to serve, and you won't see it until the month closes.
How does credit-based pricing work?
Credit-based pricing works in four steps: you set a price for one credit, assign a credit cost to each action, give or sell the customer a balance, and deduct from that balance every time an action runs.
- Set the credit price. Decide what one credit costs the customer, for example $0.01.
- Build a rate table. Assign each billable action a credit cost, based on what it costs you to serve and what it is worth to the customer.
- Fund the balance. Credits arrive with a subscription (a monthly allowance), as a prepaid pack, or as free promotional credits. The balance usually sits in a wallet that tracks each grant separately.
- Deduct per action. Each completed action sends a signal that draws down the balance in real time, so the customer can see what is left.
A rate table for an AI research agent might look like this. The figures are illustrative.
| Action | Credits | Price at $0.01 per credit |
|---|---|---|
| Summarize a document | 5 | $0.05 |
| Generate a research report | 25 | $0.25 |
| Agent run with web browsing | 80 | $0.80 |
Two rules decide what happens at the edges. Burn order sets which grant is spent first, usually free or expiring credits before paid ones. Depletion rules set what happens at zero: block further actions, top up automatically, or let usage run into overage billed at a set rate.
What is a credit worth in credit-based pricing?
A credit is worth whatever you set as its purchase price, and each action is worth the number of credits you assign it. The usual starting point is cost-plus: take what the action costs you, add your target margin, and convert the result into credits.
Credits per action = provider cost per action ÷ ((1 − target margin) × price per credit)
An action that costs $0.03 in provider cost, priced for a 70% margin at $0.01 per credit, needs $0.03 ÷ 0.30 ÷ $0.01 = 10 credits.
The formula assumes one fixed cost per action. In AI products that assumption rarely holds, because the same action can call a different model, read a longer context, or retry. The margin section below shows what that does to a credit pack.
For the customer, a credit is only worth something once they can translate it into work. "10,000 credits" means little on a pricing page. "10,000 credits, or about 400 research reports" tells them what they are buying.
Credit-based pricing vs usage-based, subscription, and outcome-based pricing
Credit-based pricing is a prepaid form of usage-based pricing: the customer still pays for consumption, but commits the money before using it. The other models differ in what the customer pays for and who absorbs a surprise in cost.
| Model | Customer pays for | When they pay | Who carries cost risk | Fits best when |
|---|---|---|---|---|
| Credit-based pricing | Actions, converted into credits | Before use | Vendor, if credits per action are set too low | Many actions with different costs, buyers who want a fixed budget |
| Usage-based pricing | Each unit consumed (calls, tokens, tasks) | After use, in arrears | Shared: price tracks usage, cost per unit can still drift | One clear unit that tracks cost and value |
| Subscription (seats or flat fee) | Access for a period | Before use | Vendor, for heavy users | Usage is steady and cheap to serve |
| Outcome-based pricing | A completed business result | After the outcome | Vendor, for attempts that fail | Outcomes are clear, measurable, and agreed |
Many AI products combine them: a subscription that includes a monthly credit allowance, with paid top-ups when the allowance runs out.
Credit-based pricing examples
Three well-known products show the range of credit-based pricing: credits that track tokens directly, credits that track task complexity, and credits that track compute. Prices below are from each company's own pages, checked in November 2026.
| Company | What a credit buys | Price | Included or free | Unused credits |
|---|---|---|---|---|
| GitHub Copilot | Tokens, priced per model and converted into AI credits | 1 AI credit = $0.01 | Copilot Pro at $10 a month includes 1,500 AI credits (1,000 base plus 500 flex) | Forfeited at month end |
| Lovable | Messages to the build agent, charged by task complexity (0.50 to 1.70 credits in its published examples) | Pro is $25 a month | 100 monthly credits, plus 5 daily build credits on every plan | Roll over for one month on monthly plans |
| Snowflake | Compute time | $2.00 to $4.00 per credit on demand, by edition (AWS US East) | Prepaid capacity is sold as an alternative to on-demand | Not stated on the pricing page |
The three take different positions on visibility. Copilot ties a credit to a published dollar value and to per-model token prices, so customers can work out cost before they run a task. Lovable prices by task, which is easier to read but makes the cost of a given prompt harder to predict.
Why do AI companies use credit-based pricing?
AI companies use credit-based pricing because one unit can cover many actions with very different provider costs. A product that calls three models, runs tools, and browses the web would otherwise need a price for every combination. Credits fold all of it into one balance.
Credits also suit the buyer. A finance team can approve a fixed amount up front instead of an open-ended monthly bill, and the vendor collects cash before it pays the model provider.
The third reason is flexibility. When a model gets cheaper or a new one ships, you can change the rate table without changing the price on your pricing page.
Credits sit inside a wider AI billing system that also has to record the provider cost behind each action.
How to protect margin in credit-based pricing when costs vary
Margin on a credit pack depends on which actions the customer spends it on and what those actions cost you that month. In credit-based pricing, a rate table priced at 75% margin only delivers 75% if every action costs what you assumed.
Take an illustrative AI research product. It sells 10,000 credits for $100 and prices every action for a 75% margin on expected provider cost. Summaries (5 credits) and reports (25 credits) cost close to plan. Agent runs (80 credits, or $0.80) were priced on an expected provider cost of $0.20, but long browsing sessions and retries push some customers' average much higher.
- Customer A spends the whole pack on summaries and reports. Provider cost is $25, so margin is 75%.
- Customer B spends it on 125 agent runs that average $0.60 each. Provider cost is $75, so margin is 25%.
- Customer C runs the same 125 agent runs on a pricier model, at $1.00 each. Provider cost is $125, so you lose $25 on a $100 pack.
All three paid the same $100 and saw the same rate table. The chart shows how margin moves as more of a pack goes to the action whose cost drifted.

Four practices keep a credit rate table honest:
- Price variable actions from a high-percentile cost. Set credits for open-ended actions from the 90th percentile of provider cost, so long runs still clear your floor.
- Bound the expensive actions. Cap credits per run, or charge open-ended actions by tokens consumed, as GitHub Copilot does.
- Watch margin per customer and per action. Average margin across all customers hides the accounts at 25% or below.
- Recheck the rate table when a provider changes prices. Give customers notice before credits per action change.
For the full margin model behind these practices, see the pricing economics of AI agents guide.
Expiration, rollover, and unused credits
Every credit-based pricing plan needs a written rule for credits the customer doesn't use. The three common choices are:
- Expire at period end. Simple to run, and the allowance resets cleanly. Customers who pay for credits they lose tend to notice at renewal. GitHub Copilot forfeits included credits each month.
- Roll over for a limited time. Unused credits carry into the next period and then expire. Lovable rolls credits over for one month on monthly plans.
- Never expire. Friendliest to the customer, but a large discounted pack can sit unused for years while you carry it as a liability.
Unused credits also affect your books. Under US GAAP (ASC 606), prepaid credits are typically deferred revenue until they are used. Expected unused credits, called breakage, are recognized either in proportion to the credits customers do use, or once use becomes remote, according to PwC's revenue guide. Your accountant should set the policy before you launch, because it changes when revenue lands, and expiry terms in contracts feed into it.
Why customers distrust credits, and how to fix it
Customers distrust credits when they can't predict what an action will cost before they run it. A balance that drops faster than expected feels like a hidden price increase, even when the rate table hasn't changed. The complaints in founder forums and on vendor community boards tend to repeat the same four problems, and each has a direct fix.
| The complaint | What fixes it |
|---|---|
| No idea what a credit is worth | Publish the dollar value of one credit and the credits per action. |
| One task used far more credits than expected | Show an estimate before expensive actions, and cap credits per run. |
| The balance ran out with no warning | Real-time balance in the product, plus alerts at 50%, 80%, and 100%. |
| The same task costs more than it did last month | Announce rate table changes in advance, with the reason and the date. |
The underlying rule: if a customer can't check your math, they assume it is in your favor.
When credit-based pricing is the wrong fit
Credit-based pricing adds a conversion step between the customer and the price. That step earns its place only when it simplifies something. Skip credits in these cases:
- You have one billable action. If every call costs about the same, price the call directly with usage-based pricing. A credit layer on top only adds a number to translate.
- The customer buys a result. If you can count resolved tickets or booked meetings, outcome-based pricing says what the customer gets in their own terms.
- You can't bound the cost of an action. If one run can cost 50 times another and you can't cap it, a fixed credit rate will hide losses on your heaviest customers until month end.
- Your buyer budgets by seat. Some procurement teams can only approve per-user licenses. A seat price with a fair-use limit may close faster than a credit pack.
How Clocknext handles credits
Clocknext shows you the margin on every credit you sell. You define credits and wallets as entitlements in a plan, set the credits each action consumes, and combine them with outcomes, units, and flat fees in the same plan. Billing timing is set per entitlement, so prepaid credits can sit beside usage billed in arrears.
Every signal your agent sends carries the provider cost behind it. That gives you margin per customer, per agent, and per model, so you can see which credit rates have drifted below target before the month closes.
Talk to us about pricing your agent with credits.
Frequently asked questions
What is one credit worth?
One credit is worth whatever the vendor sets as its purchase price, often between a fraction of a cent and a few dollars. GitHub Copilot sets 1 AI credit at $0.01, and Snowflake charges $2.00 to $4.00 per credit depending on edition. What a credit buys depends on the vendor's rate table, so compare vendors on the dollar cost of the actions you plan to run.
Do credits expire?
Credits expire if the vendor's terms say so. Common policies are expiry at the end of each billing period, rollover for a limited time, or no expiry for purchased packs. GitHub Copilot forfeits unused monthly credits, while Lovable rolls them over for one month. Check the terms before buying a large pack.
Is credit-based pricing the same as usage-based pricing?
Credit-based pricing is a form of usage-based pricing. Both charge for consumption. The difference is timing and unit: credit-based pricing collects payment before use and measures consumption in credits, while standard usage-based pricing bills in arrears for units such as API calls or tokens.
What happens when a customer runs out of credits?
What happens at zero depends on the plan's depletion rule. The product can block further actions, top up the balance automatically from a card on file, or allow usage to continue as overage billed at a set rate. Good practice is to alert the customer at set thresholds, such as 80% used, well before the balance reaches zero.
How is revenue from prepaid credits recognized?
Under US GAAP, prepaid credits are typically recorded as deferred revenue and recognized as customers use them. Credits expected to go unused (breakage) are recognized either in proportion to usage or once use becomes remote. The exact policy depends on your contracts, so set it with your accountant.
Why do AI tools use credits instead of tokens?
AI tools use credits because tokens are hard for customers to reason about and differ in cost by model. A credit can cover tokens, tool calls, and compute across several models in one balance. Some vendors, such as GitHub Copilot, still price tokens per model underneath and convert the total into credits.

Manish Balaji
A fan of compelling stories, memorable product experiences, and Liverpool FC, not necessarily in that order.




















