packet.ai/Blog/Tokens vs Credits: How LLM API Billing Actually Works
Technical
Tokens vs Credits: How LLM API Billing Actually Works
Every LLM API bills by the token underneath. Credits are the wrapper on top. Here is how the two relate, and how to tell a trustworthy credit system from one that isn't.
packet.ai Team
August 20, 2026
Most text-based LLM APIs measure underlying model usage in tokens, but the number you actually see is rarely a raw token count. Credits are often the billing layer placed on top: some providers charge you directly per token, others convert your usage into a prepaid balance you draw down against. The two aren't the same thing, and confusing them is how people end up with a $7,000 invoice they didn't see coming. The real question isn't whether credits are good or bad; it's whether the conversion rate between credits and tokens is actually published, and whether you can see which model consumed your balance. This guide explains what llm api credits actually are, how they relate to tokens, and where the abstraction helps versus where it hides real cost.
Key takeaways
A token is the actual unit of work an LLM bills for, roughly three-quarters of a word. Credits are a business layer sitting on top: a prepaid balance denominated in dollars or points, drawn down at a per-token rate the provider sets
There are two genuinely different billing layers in any AI product: the vendor's own abstraction (credits, requests, seats) and the underlying provider's raw per-token rate. They move independently, on different schedules, for different reasons
A well-run credit system is just prepaid tokens with a currency conversion on top; a poorly run one can obscure exactly what you're being charged for and why
Real incidents show both directions: Cursor's 2025 switch to credits produced a $7,225 single-day invoice and a public apology; GitHub Copilot's 2026 move to token-metered credits was published transparently against per-model rates
The practical question isn't "tokens or credits," it's whether the credit conversion rate is published and whether you can see which model actually consumed your balance
What Is a Token AI Systems Actually Bill For?
A token is the basic unit of text that an LLM processes and generates as part of running inference, and it's the real unit every provider ultimately bills against. Token based pricing is the foundation everything else in this post sits on top of. In English, it's roughly three-quarters of a word in typical text, though tokenization varies by language and content type; a short word might be one token, a longer or less common one might split into two or three. Every API call has an input token count (your prompt) and an output token count (the model's response), and providers quote prices per million tokens, separately for each direction, since output tokens require more computation per token and typically cost two to five times more than input.
This is the layer that's genuinely fixed by physics and computation: processing and generating tokens costs real GPU time, and that cost doesn't change based on how a vendor chooses to present the bill to you. Whatever sits on top of token pricing, a subscription, a credit balance, a flat per-request fee, is a business decision layered over this underlying reality, not a different way of measuring the same thing.
What Are AI Credits?
AI credits are a provider-defined billing unit used to represent or abstract underlying model usage, usually tied to token consumption but not always exposed to the customer directly.
"AI credits" is a provider-defined billing unit that abstracts underlying usage, and what exactly it represents varies by product. Depending on the provider, a credit might be a prepaid balance denominated in dollars, an included monthly usage allowance, or a unit with a fixed monetary value assigned by the platform. The common thread: you're not billed in raw tokens directly, a credit layer sits in between, and each API call debits that layer at a rate the platform sets.
OpenRouter is a clean, well-documented example of this working as intended. It's a hosted aggregator sitting in front of dozens of underlying providers (OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, and others), and it bills through a single dollar-denominated credit balance rather than requiring a separate account and API key for every provider. Per OpenRouter's own documentation, inference pricing passes through from the underlying provider with no markup on the per-token rate, though a separate fee applies when credits are purchased. What you don't see as clearly: the dashboard shows credits debited per call, not the actual upstream invoice line, and if a model is served by multiple upstream hosts at different costs, which one your request routed to isn't surfaced. A small currency-conversion spread on top-ups and occasional double-billing on a failed-then-retried request are the real, if minor, costs of that convenience.
Two layers, moving independently
Any AI product with usage-based pricing has two separate layers. Layer one is the vendor's own billing abstraction: the subscription price, what a credit costs, how big the included pool is. This is the layer the vendor controls and can change on its own schedule, for its own business reasons. Layer two is the underlying provider's raw per-token API pricing, which moves for entirely different reasons, a model provider cutting prices, a new model replacing an old one, a peak-hour surcharge. Confusing the two is the single most common source of billing surprises: a vendor can hold a subscription's sticker price steady while quietly changing what a dollar of that subscription actually buys underneath, because the unit of account shifted.
Two Real Examples of This Going Differently
Two recent, well-documented transitions from flat or request-based billing to credit-based billing show how differently this can go depending on execution.
Cursor, June 2025: what happens when the conversion isn't clear. Cursor switched its Pro plan from a flat 500 requests a month to a pool of credits. Within days, "Unlimited" quietly became "Extended" in the plan description. A developer then posted an invoice for $7,225 from a single day of usage, which got roughly 800,000 views within a week. Cursor's CEO published a public apology and refunded every affected user. The root problem wasn't credits themselves; it was that a flat-feeling plan sat on top of a cost structure that wasn't flat, and the credit burn rate could vary five to ten times between a cheap model and an expensive one for the exact same task, invisibly to the user.
GitHub Copilot, June 2026: the same transition, done transparently. Copilot moved its entire lineup from flat "premium request" counting to token-metered credits, priced at a fixed rate per credit against openly published per-model, per-token rates, as GitHub announced directly. Subscription sticker prices didn't move, but what a dollar of that subscription bought underneath changed, and the mapping from credits to actual token cost was documented rather than left implicit. The structural change was identical to Cursor's; the difference was that the conversion rate was visible and the underlying rates were published.
Credits aren't inherently the problem here. Opacity is. A credit system is exactly as trustworthy as its published conversion rate. If you can see what a credit costs in real tokens, for a specific model, credits are just prepaid tokens with a currency layer, no worse than paying per token directly. If you can't, you're trusting the vendor's math without being able to check it, and that's the actual distinction this whole comparison comes down to.
The Broader Landscape: Usage-Based Pricing Models
Tokens and credits are the two most common units, but usage based pricing in AI products actually spans a wider range worth knowing about.
Raw per-token billing. The unwrapped version, and the clearest token meaning ai billing gets: you pay per token against the published input and output rate directly, with no subscription or credit layer of abstraction in between.
Prepaid credits. The pattern this post focuses on: llm credits denominated as a dollar or point balance drawn down at a per-token rate, common with aggregators and platforms serving multiple underlying models.
Flat per-request pricing. A fixed price per API call, per resolved ticket, or per generated output, regardless of the actual token count underneath. This hides the token math entirely from the customer; the vendor absorbs the variance between cheap and expensive requests.
Task and session quotas. An emerging pattern for agentic tools specifically, since a single agentic task can trigger hundreds of sequential model calls, making pure token metering unpredictable for both sides. Several coding assistants now sell a number of tasks or a session window instead of counting individual tokens or requests.
None of these is universally correct. Raw token billing is the most transparent but requires the customer to think in tokens. Credits add convenience and cross-model flexibility at the cost of an extra layer to audit. Flat pricing is the simplest to budget against but shifts risk onto the vendor. Task-based quotas are the newest response to a real problem: agentic workflows make per-token counting genuinely hard to reason about for anyone.
What to Actually Check Before Committing to Either
Whichever unit a provider bills in, a few questions separate a system you can reason about from one you can't.
Is the conversion rate published? A credit that maps to a clearly stated per-token rate, per model, is auditable. A credit whose value depends on which model your request happened to route to, with no visibility into that routing, isn't.
Can you see which model consumed your balance? If a cheap and an expensive model draw down credits at wildly different rates for what looks like the same task, and you can't tell which one actually ran, you can't predict your own spend.
What happens at the edges? Failed requests that get retried, currency conversion on top-ups, and processing fees folded into the credit rate rather than itemized separately are all small individually, but worth knowing about before they show up as an unexplained gap between what you deposited and what you can actually spend.
A Note on packet.ai's Approach
packet.ai's Token Factory, currently in private preview, is being built around straightforward per-token billing: input and output metered separately, no credit-conversion layer, and scale-to-zero so idle traffic costs nothing rather than burning down a prepaid balance while unused. The goal is the auditability this post argues for, a rate you can check directly against what inference actually costs to run, not an abstraction you have to trust.
AI credits are a provider-defined billing unit that abstracts underlying usage. Depending on the provider, a credit may represent a prepaid balance, an included monthly allowance, or a unit with a fixed monetary value. The underlying cost is still driven by tokens; credits are a business layer that changes how that cost is presented and paid for.
A token is the actual unit of text an LLM processes and bills against, roughly three-quarters of a word in typical English. Providers charge separately for input tokens (your prompt) and output tokens (the model's response), quoted per million tokens, with output usually costing more since it requires a full computation pass per token generated.
Not necessarily. Some credit-based platforms, like OpenRouter, pass through the provider's own per-token rate with no markup on inference, though they may charge a separate fee when credits are purchased. The real costs to watch for are smaller: currency conversion spread on top-ups, processing fees folded into the credit rate rather than itemized, and reduced visibility into exactly which model consumed your balance on any given call.
In June 2025, Cursor moved its Pro plan from a flat 500 requests a month to a credit pool, and the plan's description quietly changed from "Unlimited" to "Extended" shortly after. A user posted a $7,225 invoice from a single day of usage, since credit burn rate varied significantly depending on which model handled a given task. The company issued a public apology and refunded affected users. The core issue was that a flat-feeling plan sat on top of a cost structure that wasn't flat, and that mismatch wasn't made clear to users.
No. Beyond raw per-token billing and prepaid credits, some products use flat per-request pricing or task and session-based quotas, particularly for agentic tools where a single task can trigger hundreds of model calls.
Last reviewed: August 20, 2026. For how raw per-token pricing breaks down across major providers, see the packet.ai LLM inference cost guide. For the fundamentals of what a token is and how inference works, see the What Is LLM Inference guide.