Are LLM Services Really Free? A Breakdown of Three Access Paths and Their Billing Logic
This article explains why the question "Are large language model services free?" produces contradictory answers: the word "use" actually covers three distinct access paths, each with a different cost owner, billing unit, and reliability commitment. Interactive web and mobile products can be zero-price because human-paced traffic is statistically multiplexed, but they come with no SLA. Official APIs bill per token because request cost scales with both input context length and generated output length, which makes context, output length, and shared-prefix caching the main cost levers. Self-hosting open weights trades a variable bill for fixed hardware and operations overhead, and is only cheaper under sustained, large, stable volume. The article also includes a runnable cost-estimation script, a comparison that highlights governance columns such as quotas, data boundaries, observability, and fallback paths, and a scenario-based decision checklist. The practical answer: name the access path first.
1. The Root of the Debate: One Verb, Three Paths
Ask a technical community “does using an LLM cost money?” and you will almost always get two mutually exclusive answers. Some say it is completely free and they have never paid a cent after long-term use. Others say a single night of API calls produced a noticeable bill. Both sides are honest; they are simply not describing the same thing.
The conflict does not originate with the providers. It comes from the verb “use,” which compresses too much meaning. It covers at least three paths:
- Web and mobile apps: interactive conversational entry points built for humans;
- Official APIs: machine entry points built for programmatic calls;
- Self-hosting open weights: downloading model files and running them on your own compute.
These three paths differ completely in who bears the cost, what the billing unit is, and what stability is promised. Discuss them in a single sentence and the conclusions will contradict each other. The more effective engineering move is to fix the entry point first, then talk about price.
2. Entry Point One: Why Interactive Products Can Be Zero-Price
Web and mobile apps typically charge no subscription fee, show no ads, and offer no in-app purchases, while advanced capabilities such as deep reasoning modes, file uploads, and web search are all included. It looks like there is no barrier at all, but this is not charity; it follows from the cost structure.
Traffic on an interactive entry point has three characteristics: requests are initiated by humans, so frequency is naturally limited; context per session is bounded; and peaks concentrate in daytime, leaving nights largely idle. This kind of load can be diluted through statistical multiplexing, which makes “free in exchange for scale” a workable operating model.
The constraints are equally clear, and usually only two:
- Responses slow down at peak hours, possibly with a “service busy” notice; retrying is enough;
- There is no team workspace and no service level agreement (SLA).
Together these two points lead to a conclusion that is often overlooked: the other side of no paywall is that there is no wall you can knock down with money. When things slow down, there is no “upgrade to Pro” button; when the service is busy, exponential backoff and retry are the only options. For individual users this is not a problem, since it costs nothing. But for a team planning to embed the model into a production workflow, the words “no SLA” are themselves the conclusion: it should not sit on the critical path of your architecture diagram.
3. Entry Point Two: Why APIs Bill per Token, Not per Call
The API side can be summarized in one line: top up first, then call, billed per token. Why is the unit token rather than “call”?
Because the real cost of a single request has two parts: on the input side, the entire prompt and conversation history require one forward pass; on the output side, tokens are generated autoregressively one by one. The former is proportional to context length, the latter to generation length. Billing per call would make long-context requests severely loss-making; billing per token keeps price linearly aligned with compute consumption.
Three general engineering conclusions follow:
- Context is not free. Stuffing whole documents and full histories into the prompt without thinking makes cost accumulate and amplify across turns.
- Output length is a controllable variable. Capping the maximum generation length and asking for short structured output is the most direct cost lever.
- Repeated prefixes are worth reusing. When many requests share the same system prompt or reference document, services with prefix caching typically charge a significantly lower rate for the cached portion, with discounts in the industry often reaching several times, or even more than ten times.
In addition, many platforms apply peak and off-peak pricing by time of day, with off-peak rates roughly half of peak rates. This kind of mechanism shifts load from peaks to valleys, trading a price signal for higher overall resource utilization.
One widespread misunderstanding needs clearing up: the API side generally has no long-term free tier. The common “free credits for new users” are a one-time promotion, gone once used, and cannot serve as a baseline assumption in a budget model. Putting promotional credits into a cost table is one of the most common mistakes in capacity planning.
4. Entry Point Three: The Cost of Self-Hosting Is Systematically Underestimated
Downloading open weights and self-hosting looks like “the model is free,” but in reality it swaps a variable bill for fixed investment and operational complexity. A realistic cost list includes at least:
- Compute: VRAM capacity determines the model size you can load, and memory bandwidth often becomes the bottleneck before peak compute does;
- Quantization and precision: lower precision significantly reduces VRAM usage, but requires empirical trade-offs between quality and cost;
- Inference framework and batching: general techniques such as continuous batching and paged attention can substantially raise throughput, though tuning them is not trivial;
- Elasticity: when traffic has peaks, self-hosting means either provisioning for the peak (low utilization) or queuing (poor experience);
- Operations: scaling, crash restarts, logging, monitoring, and alerting all require people.
A rough but useful rule of thumb: self-hosting can only undercut the unit cost of a public API when call volume is both sustained and large enough; when traffic is highly volatile or total volume is still unknown, pay-as-you-go has a lower expected cost, because it transfers the idle-capacity risk to the provider.
5. Cost Estimation: Turning “Is It Expensive?” into Arithmetic
Do not ask “is a few tens of yuan a night expensive.” Ask “what does a single business action cost.” A schematic estimation skeleton:
# Illustrative calculation logic only; check the provider's current pricing page for prices and unitsdef estimate_cost(reqs, in_tok, out_tok,price_in, price_out, cache_hit_ratio=0.0, cache_discount=0.1):billable_in = in_tok * (1 - cache_hit_ratio)cost_in = reqs * billable_in * price_in \+ reqs * in_tok * cache_hit_ratio * price_in * cache_discountcost_out = reqs * out_tok * price_outreturn cost_in + cost_out# Scenario: 20,000 requests per day, 1,500 input tokens, 400 output tokensdaily = estimate_cost(20_000, 1500, 400, price_in=1e-6, price_out=2e-6,cache_hit_ratio=0.6)print(daily, daily * 30)
When estimating, list these three variables separately, since they usually affect the final bill more than unit price does:
- Context inflation: multi-turn conversations resend history every turn, so cost grows roughly quadratically with the number of turns;
- Retry amplification: retries without backoff and a cap can multiply the bill several times over;
- Cache hit ratio: the more stable the shared prefix, the higher the hit ratio and the more pronounced the cost reduction.
6. Comparing the Paths: The Governance Column Is the One Most Often Missed
When interactive products, official APIs, self-hosted deployments, and third-party managed options are placed in one table, the price column is the most visible, but what actually drives the decision is the governance column: quotas and rate limits, data retention policy, audit and logging, and failure fallback plans.
- Quotas and rate limits: the API side generally enforces requests-per-minute and concurrency caps, so the client needs token-bucket throttling and exponential backoff;
- Data boundaries: interactive products suit exploration and validation, but whether sensitive data may leave your environment must be decided by organizational policy;
- Observability: production calls should record request volume, token consumption, latency percentiles, and error rates, and feed into monitoring and alerting;
- Fallback paths: switching to a backup model or cached results when the primary model is unavailable is the baseline design for availability.
7. Choosing by Scenario: An Actionable Decision Checklist
- Personal learning and draft exploration: use interactive products, zero cost, accept slowdowns at peak hours;
- Prototype validation: pay as you go on the API, with a hard maximum generation length and request caps;
- Stable production: API plus caching, off-peak scheduling, rate limiting, and fallback; migrate the portion of long-term stable high-volume traffic to self-hosted or dedicated resources if needed;
- Data that cannot leave your environment: self-hosting or dedicated deployment, with operations headcount included in the budget;
- Period of cost uncertainty: stick to pay-as-you-go, use real traffic data to back out unit cost first, then discuss resource packages or annual commitments.
8. Conclusion
“Free or not” is an incomplete question. The complete version is: which entry point, what billing unit, is there an SLA, and who bears the cost. Interactive entry points trade free access for scale, APIs trade token metering for elasticity, and self-hosting trades fixed investment for control. Remember those three sentences, pair them with a comparison table that includes a governance column and a runnable estimation script, and you can settle that never-ending group chat argument with the only correct answer: tell me which entry point you mean first.
