LLM Access Paths: Billing and Architecture Differences Between Chat Products, APIs, and Self-Hosted Weights

    This article explains why discussions about whether a large language model service is “free” often conflate three distinct access paths: official chat products, official APIs, and self-hosted open-weight deployments. It compares their billing models, capability and SLA boundaries, data flow, and exit costs, and provides a reusable cost-estimation function, self-hosting break-even logic, and a vendor-neutral checklist for access-path selection and cost control.

    LLM Access Paths: Billing and Architecture Differences Between Chat Products, APIs, and Self-Hosted Weights

    1. The Root of the Debate: One Word, Three Entry Points

    A typical disagreement in technical groups looks like this: someone asks whether a large model service charges money, and two replies appear almost at the same time. One says, “It’s free; I use it every day.” The other says, “It has been charging for a long time; an overnight API run generated a bill of dozens of dollars.” Neither person is lying. They are not talking about the same thing.

    Unpacking the word “use” reveals at least three non-overlapping paths:

    1. Official chat product: the web version opened in a browser, or the mobile client.
    2. Official API: programmatic calls billed by usage.
    3. Self-hosted open weights: downloading model weights and running them on your own machines or cloud hosts.

    These three paths have completely different pricing policies, capability ceilings, and responsibility boundaries. When they are mixed into one discussion, neither side can convince the other. Before discussing cost, the first step is always to confirm the entry point.

    2. Entry Point 1: Official Chat Product — Genuinely Free, but Not for Architecture Diagrams

    This path has a clear profile: no subscription fee, no ads, no in-app purchases, and capabilities such as deep reasoning modes, file upload, and web search are often included in the free scope. It is not the “stripped-down free tier plus paid unlock” model; in many cases, there is simply no paywall.

    There are usually only two limitations:

    • Responses slow down during peak hours, with occasional “service busy” messages that require retrying.
    • There is no team collaboration workspace and no service-level agreement (SLA) commitment.

    Taken together, these two points lead to a frequently overlooked conclusion: the other side of having no paywall is having no wall that money can knock down. When the service slows down, there is no “upgrade to Pro” button to press. When the API is busy, there is no action other than backoff and retry.

    For individual users, this is completely acceptable because it costs nothing. But for a team that wants to connect a model to a production workflow, the phrase “no SLA” is itself the conclusion: it should not appear in your architecture diagram. It can appear in requirements research, solution pre-validation, and data-labeling assistance, but it cannot appear in any link that carries an availability commitment.

    3. Entry Point 2: Official API — The Line Item Billed by Token

    The API path can be summarized in one sentence: top up first, then call, and pay by token. There are three pricing dimensions that must be understood.

    (1) Input and output are priced separately. Output tokens usually cost significantly more than input tokens because generation is performed token by token in serial. If you evaluate cost by looking only at input volume, you will severely underestimate the bill.

    (2) Cached hits are priced much lower. Mainstream implementations perform prefix caching for repeated prefixes such as system prompts, long documents, and few-shot examples. The billing discount for cached portions is often on the order of ten times or more. This directly determines how prompts should be organized: placing stable content first and variable content later is one of the highest-return cost optimizations.

    (3) Time-of-day pricing. Some services differentiate prices by peak and off-peak periods, with off-peak prices around half of peak prices. Moving offline batch jobs to off-peak hours is a zero-engineering-change way to reduce cost.

    One point needs clarification: claims such as “new accounts receive a certain number of free tokens” or “a certain number of tokens are given away every day” often have no corresponding terms in official documentation. Do not put them into a cost model. Long-term free quotas usually do not exist, and capacity planning must be based on a pure paid-usage assumption.

    A reusable cost-estimation skeleton:

    1. def estimate_cost(n_req, in_tok, out_tok,
    2. price_in, price_out,
    3. cache_ratio=0.0, cache_discount=0.1,
    4. offpeak_ratio=0.0, offpeak_discount=0.5):
    5. # Cached input tokens are billed at the discounted price
    6. cached = in_tok * cache_ratio
    7. fresh = in_tok - cached
    8. in_cost = fresh * price_in + cached * price_in * cache_discount
    9. out_cost = out_tok * price_out
    10. peak = 1 - offpeak_ratio
    11. total = (in_cost + out_cost) * n_req * (peak + offpeak_ratio * offpeak_discount)
    12. return total

    Making cache_ratio and offpeak_ratio explicit variables allows the two optimizations — “prompt structure changes” and “task scheduling changes” — to be quantified on the balance sheet rather than judged by intuition.

    4. Entry Point 3: Self-Hosted Open Weights — Trading Fixed Cost for Marginal Cost

    The economics of the third path are completely different: there is no usage-based billing, only resource occupancy. The core constraint is VRAM. A rough estimation relationship is:

    1. weight VRAM ≈ parameters × bytes per parameter (FP16: 2, INT8: 1, INT4: 0.5)
    2. serviceable VRAM = per-GPU VRAM × GPU count − KV Cache − framework and communication overhead

    KV Cache grows linearly with concurrency and context length. In long-context, high-concurrency scenarios, it often consumes more VRAM than the weights themselves. This explains why “the GPU can hold the model” does not mean “the GPU can handle the workload.”

    The cost structure of self-hosting is high fixed cost, zero marginal cost: GPU instances are billed hourly or monthly, and the bill continues even during idle periods. Therefore, there is a break-even point:

    1. self-hosting is cheaper ⇔ daily call volume × per-request API cost > daily instance cost + amortized operations labor

    Low-traffic, highly variable workloads are unlikely to cross this point. Self-hosting becomes viable for scenarios with stable high concurrency, data that cannot leave the internal network, or deep customization requirements such as fine-tuning, specific quantization, or private protocol wrappers. In addition, operations costs must be included: inference framework deployment, batching and parallelism strategy tuning, failure restart, version upgrades, and monitoring and alerting integration are not zero-cost.

    5. The Most Overlooked Column in Comparison Tables

    Most “four-path comparison” tables list cost, capability, and speed. The most frequently overlooked column is data flow and exit cost:

    • Chat product: data is handed to the service provider, there is no programmatic export channel, and migration is not possible.
    • Official API: data leaves your environment but is governed by contracts and compliance terms; switching providers requires code changes and rerunning evaluations.
    • Self-hosting: data stays inside the internal network, migration cost is the lowest, but hardware sunk cost is the highest.

    This column determines whether compliance can be approved, and it also determines how deeply you are locked in. Being technically replaceable but not engineering-replaceable is the most common hidden risk.

    6. Selection and Cost-Control Checklist

    Selection decision order:

    1. Is there an availability commitment? If yes, exclude the official chat product.
    2. Can data leave your environment? If not, use self-hosting or a private deployment approach.
    3. Is traffic stable and predictable? If not, prioritize usage-based billing and avoid paying for peak capacity.
    4. Is deep customization required? If yes, evaluate the tuning and labor investment of self-hosting.

    General cost-reduction measures, independent of vendor:

    • Put stable prefixes first to maximize cache hits.
    • Schedule offline tasks during off-peak hours.
    • Slim down context: trim retrieved snippets as needed instead of stuffing everything in.
    • Use tiered routing: send simple requests to small models and complex requests to large models.
    • Build a token-usage dashboard, integrate logging and monitoring/alerting, and attribute costs by business dimension.

    7. Conclusion

    “Is it free?” is a false question. The real question is: “Which entry point, which billing model, and which responsibility boundary?” Chat products are free but cannot be relied on. APIs are billed by token and almost never have long-term free quotas. Self-hosting trades fixed cost for marginal cost and data sovereignty. Once the cost model, SLA boundary, and data flow of these three paths are written down separately, the selection debate naturally disappears. If you need to support self-hosting or a hybrid architecture, you can build on general cloud capabilities such as container platforms, object storage, logging, and monitoring/alerting, and remove uncontrollable free quotas from critical paths entirely.