LLM Pricing: From Per-Token Charges to Outcome-Based Billing

    Token-based pricing remains central to LLM inference, but it does not fully capture service costs or business value. This article explains why lower token prices do not automatically produce profitable scale, compares emerging billing models, and outlines how to align application architecture, usage tracking, and procurement terms with measurable results.

    In the early commercialization of large language models, charging for input and output tokens became the default. Customers paid for the text units they consumed, while providers used those same units to recover compute and bandwidth costs. The approach was simple, auditable, easy to compare across providers, and broadly aligned with the computational process of autoregressive generation.

    Industry observations indicate that inference prices for comparable capability levels have fallen by two orders of magnitude over several years. Leading models have also seen repeated, substantial reductions in input and output prices.

    As costs fell, a familiar intuition from the internet era resurfaced: lower prices drive higher usage, and higher usage brings profit. For LLMs, that intuition is only partly right. Tokens remain an important proxy for cost, but they will not—and should not—remain the only basis for billing.

    Why Token-Based Pricing Became the Default

    Token pricing gained traction primarily because it correlates with supply costs. During decoding, computation generally increases with the number of generation steps. Longer contexts and longer outputs consume more memory bandwidth and compute resources.

    Separating input and output charges roughly reflects the different resource profiles of prefill and decoding. Long contexts increase input processing and attention computation, while long outputs continue to occupy decoding capacity. For developers, usage figures in logs map directly to invoices, making quotas, alerts, and cost attribution easier to implement.

    The limitations are equally clear: tokens are not business value. Ten thousand tokens might produce an unhelpful conversation or a structured result ready to enter a database. As models improve, they often need fewer tokens to complete the same task, even though the task’s value to the user stays constant or increases.

    If pricing follows token consumption alone, more capable models and more concise prompts can reduce provider revenue. Meanwhile, customers still bear the costs of integration, evaluation, retries, and human review.

    System prompts, tool descriptions, retrieved passages, and conversation history also reappear across requests. Much of this context consists of reusable prefixes. Charging linearly for every token without accounting for reuse can weaken incentives to use caching, batching, and request coalescing, while encouraging repeated attempts in the hope that one succeeds.

    Lower prices therefore do not automatically create healthy economies of scale. Growing traffic amplifies three costs:

    • Capacity reserved for peak concurrency.
    • Retry amplification caused by long-tail failures.
    • Idle compute maintained to meet latency targets.

    Internet products can spread costs across usage when marginal distribution costs approach zero. Inference costs are falling quickly, but not to the point where service quality can be ignored.

    What Inference Costs Actually Include

    A price per million tokens is only a partial view of the engineering economics. A more useful cost model includes several components.

    Effective computation, not nominal token counts. When a prefix cache hits, repeated system prompts and stable retrieval blocks do not need to be fully recomputed. On a cache miss, very long contexts can incur nonlinear growth in attention computation.

    Workload shape. Interactive conversations need low latency and short queues, so accelerator utilization is often lower than in offline batch processing. For the same token volume, the unit-cost difference between online and offline workloads can be substantial—potentially around an order of magnitude.

    Failures and uncertainty. Tool-call loops, outputs that violate format requirements, and safety-policy blocks can consume tokens without producing a deliverable result.

    Supporting infrastructure. Vector retrieval, source documents in object storage, asynchronous tasks in message queues, logs, monitoring alerts, and key and quota services do not appear on the token bill. They still determine whether an application can operate reliably.

    An illustrative request-level cost model is:

    1. Effective cost ≈ Prefill for uncached prefixes
    2. + Decoding steps × Latency tier
    3. + Tool round trips and retry overhead
    4. + Allocated retrieval, storage, queueing, and observability costs
    5. - Savings from batching, caching, and request coalescing

    This is not a pricing formula. It illustrates that token count captures only part of the cost calculation.

    On cloud platforms such as Baidu AI Cloud, object storage, message queues, container platforms, logging, and monitoring are typically metered separately from model inference. Application architects need to bring these items into a single cost view rather than optimize only the model’s unit price.

    Why Lower Prices Do Not Guarantee Economies of Scale

    When inference prices drop rapidly, the barrier to adoption falls. Usage can shift from cautious experimentation to processing everything by default.

    Profitability then depends on more than the token price. Three ratios matter: useful results relative to total token consumption, peak-capacity utilization, and the premium customers will pay for predictable delivery.

    If an application treats a model as a function that can be retried indefinitely, lower prices can stimulate more low-quality requests. Examples include inserting unfiltered retrieval results into the context, generating repeatedly until an output parses successfully, or running multiple samples concurrently and asking a person to choose the best one.

    Token volume rises, but the cost per deliverable result may not fall.

    The reverse incentive can also appear. If a provider charges only by token and keeps reducing prices, customers who improve caching and shorten outputs pay less, while inefficient customers fill the queues. Pricing signals and resource-consumption signals begin to diverge.

    The claim that “lower costs plus greater scale will naturally produce profit” therefore needs conditions. Scale must produce useful outcomes, and revenue must cover the capacity reserved for latency, success rates, and data compliance—not just average token consumption.

    Enterprise budgets should not be tied entirely to the token-price curve either. Prices may continue to fall, but an architecture built on the assumption that tokens are nearly free can lose those savings to retry storms and context growth during the next traffic peak.

    The Expanding Set of LLM Billing Models

    Without assigning specific price lists to any provider, common approaches can be grouped by what they charge for. These models can coexist rather than replace one another.

    Per-Token Pricing

    Token pricing remains suitable for open-ended generation, experiments, and APIs with highly variable usage. It is transparent and makes hard spending limits straightforward.

    More granular pricing can distinguish input from output, cached from uncached tokens, and standard latency from accelerated service. These distinctions bring prices closer to actual resource consumption.

    Per-Request or Per-Session Pricing

    This model suits assistants with relatively stable interaction patterns. Users understand “one conversation” or “one session window” more readily than token counts.

    Providers can manage tail risk through fair-use policies, context limits, and rate limits. The model is easier to understand, but abuse and unusually long contexts must be constrained at the policy layer. Otherwise, a small number of heavy users can raise average costs significantly.

    Subscriptions and Usage Packages

    Subscriptions and prepaid allowances suit teams that need predictable budgets. A monthly or annual fee can cover a defined inference allowance, concurrency level, and support tier. Additional usage may then be billed by token or request.

    This turns capacity planning into a more predictable contractual arrangement and helps providers reserve resources.

    Allowance definitions must be explicit: Do failed retries count? Are system prompts included? Are cached tokens counted at a reduced rate? Ambiguity in these rules can become a financial reconciliation dispute.

    Throughput or Reserved-Capacity Pricing

    This approach suits enterprise inference workloads with predictable peaks and troughs. Customers purchase tokens per second, concurrency slots, or dedicated instance time rather than paying a retail price for each call.

    High utilization lowers unit costs. Low utilization makes idle capacity the dominant expense.

    Customers therefore need queueing, peak smoothing, and prioritization rather than treating every request as an online, low-latency workload.

    Per-Task or Outcome-Based Pricing

    Task and outcome pricing move the billing basis from intermediate consumption to an accepted deliverable. Examples include successfully parsed documents, code patches that pass validation, or summaries that meet an agreed quality threshold.

    The provider bears the cost of internal token consumption and retries and incorporates that risk into the task price.

    This aligns billing with business language, but requires clear success definitions, sampling-based quality checks, and terms for handling quality shortfalls. Without acceptance criteria, outcome pricing merely moves disputes from the invoice to the question of whether a task succeeded.

    Per-Step or Per-Tool-Call Pricing

    Agent workflows can introduce an intermediate model based on steps or tool calls. A planning step, retrieval operation, and external tool invocation have different cost structures.

    Reporting only total tokens makes it harder for customers to decide whether to reduce planning rounds or switch to a smaller model.

    Steps can be a useful optional metering dimension, but their definitions must remain stable. Otherwise, the same task may incur sharply different step counts simply because its prompt was written differently.

    Aligning Application Architecture with the Bill

    Whatever pricing model a provider adopts, applications can make efficient computation and accepted results the default.

    Control Context Growth

    Organize system prompts, tool specifications, and stable knowledge as reusable prefixes to improve cache hits. Deduplicate, truncate, and rerank retrieved passages before passing them to the model.

    Place dynamic content after stable prefixes so a small change does not invalidate the entire cached segment. Use summaries and sliding windows for multi-turn conversations instead of appending history indefinitely.

    Separate Interactive and Offline Workloads

    Route online interactions through low-latency paths with short outputs and strict format constraints. Run reports, labeling jobs, and regression evaluations as asynchronous batches that can tolerate completion times measured in minutes.

    Use message queues to smooth traffic peaks and object storage to retain source documents and intermediate results.

    Logs should record token usage, cache hits, retry counts, and business-result identifiers. Monitoring alerts should track successful task counts and cost per task, not just total tokens.

    Define Success in the Application Contract

    Where structured constraints, enumerations, and validators can solve the problem, do not rely on repeated sampling.

    Failures should return quickly with a reason that indicates whether a retry is appropriate. This prevents clients from entering blind retry loops.

    For tasks that genuinely need multiple samples, limit the number of candidates and record whether an output was accepted as part of cost attribution.

    Choose Models and Routing by Task

    Use smaller models for simple classification and extraction. Escalate to more capable models for open-ended generation and complex reasoning.

    Routing rules should consider task type and input length rather than sending all traffic to the same endpoint. This keeps the internal cost model useful even if external billing moves from tokens to tasks.

    The following vendor-neutral attribution fields can support different billing models without requiring changes to instrumentation:

    1. request_id, task_type, latency_class
    2. input_tokens, output_tokens, cache_hit_tokens
    3. retries, tool_calls, accepted # accepted=1 means the result passed business acceptance
    4. batch_id # Empty means online processing

    Finance teams can aggregate by tokens or by the number of accepted tasks. Product teams can identify task types with unusually high retry rates. If the provider offers usage packages or reserved throughput, these fields also help explain utilization.

    Questions to Ask During Procurement and Governance

    Comparing providers requires more than asking for input and output prices per million tokens. More informative questions include:

    • How are cache hits billed?
    • What is the price difference between batch and online processing?
    • Are failed requests charged?
    • What are the context limits and truncation policies?
    • How are concurrency and traffic bursts limited?
    • Can logs be exported to the customer’s own analytics environment?
    • When an allowance is exhausted, are requests rejected, downgraded, or billed on demand?

    These answers determine the shape of the cost curve, not just a single unit price.

    Contracts should not equate “unlimited” with unlimited low-latency service. Fair-use rules, rate limits, maximum context lengths, and output limits protect both parties.

    Outcome-based contracts should specify sampling and acceptance procedures, dispute windows, and rework or refund rules for results that fail to meet requirements.

    Data governance matters as well. Whether data is used for training, how long it is retained, and whether it can be isolated by tenant all contribute to compliance costs. They can also affect whether shared caching and shared inference infrastructure are appropriate, which in turn affects pricing.

    For individual developers, subscriptions or small usage packages are often more predictable than pure pay-as-you-go billing. For teams with stable traffic, reserved throughput combined with offline batching can be more economical. For pipelines whose outputs can be automatically validated, per-task pricing can place optimization responsibility with the party that best understands model costs.

    No single model fits every workload.

    Tokens Will Remain, but Not as the Only Billing Unit

    Tokens remain one of the most concrete internal measures in inference systems. Caching, batching, speculative decoding, and smaller models all ultimately aim to reduce unnecessary computation.

    External billing, however, is adding a translation layer: computation becomes requests, sessions, allowances, throughput slots, or accepted tasks. That layer exists because users are not buying tokens. They are buying completed work at an agreed level of latency and quality.

    As unit prices continue to fall, sustainable profitability requires three things to hold at once: a higher proportion of useful requests, predictable capacity utilization, and a billing basis aligned with outcomes customers value.

    Focusing only on falling token prices misses the leverage of caching and batching. It also misses how outcome-based pricing can discourage uncontrolled retries.

    Build instrumentation, routing, and acceptance criteria first. Whether the next invoice remains primarily token-based or combines subscriptions and task fees, costs will remain explainable—and the architecture will not need to be rebuilt from scratch.