High Quota ≠ Low Cost: The Real Logic Behind Cutting LLM Inference Costs

    A large free quota doesn't automatically mean lower costs. To judge whether an LLM service is truly cost-effective, you need to convert the quota into usable tokens, evaluate TTFT (time to first token) and TPS (tokens per second), and confirm the model supports the input types your business requires. This article explains why quota numbers can be misleading, how API reselling differs from self-hosted inference, how multimodal capability and latency affect long-term adoption, and how to estimate total cost of ownership (TCO) when selecting a model service.

    Conclusion first: a high quota doesn’t equal low cost. To determine whether an LLM service is worth it, start by converting the quota into usable tokens, then check TTFT (time to first token) and TPS (tokens per second), and finally verify that the model covers the input types your business needs.

    1. Why Quota Figures Can’t Be Treated as Usable Volume

    The quota a platform advertises is usually a monetary amount, while model usage is billed per token. The conversion between the two is:

    Usable tokens ≈ quota ÷ unit price

    With the same $100 quota, a model priced at $1 per million input tokens can theoretically process about 100 million input tokens, while one priced at $10 per million input tokens only handles about 10 million. These prices are just examples; actual numbers depend on each platform’s pricing page.

    Three things require attention when doing this calculation. First, input and output tokens are often priced differently, with output usually costing more. Long-text generation tasks will consume more than an input-only estimate suggests. Second, reasoning models generate a significant number of intermediate tokens, which are also billed. Third, discounts often apply only to certain models or certain time windows, so you need to verify the scope and validity period.

    Therefore, when selecting a service, first convert the quota into “how many target tasks it can complete,” and only then compare.

    2. Why Platforms Can Offer Deep Discounts: API Reselling vs. Self-Hosting

    In the early days, many platforms built their model services by reselling upstream model vendors’ APIs. Under this model, the platform has no control over the underlying compute scheduling and must absorb upstream pricing. When the upstream vendor adjusts prices, the platform’s costs fluctuate accordingly, making it hard to commit to large free quotas over the long term.

    To keep costs under control, some platforms moved to self-hosting: building their own inference clusters on GPU instances and container platforms provided by cloud providers. The table below compares the two approaches:

    Dimension API Reselling Self-Hosting
    Cost control Depends on upstream pricing, highly volatile Unit cost can be reduced through hardware utilization and engine optimization
    Scheduling capability Cannot intervene in underlying resources Can configure batching and concurrency strategies
    Latency Depends on upstream links and queuing Depends on cluster size, scheduling strategy, and network location
    Ops investment Low Relatively high; requires GPU ops, monitoring, and incident handling
    Elasticity Determined by the upstream vendor Must configure scaling yourself
    Data compliance Data passes through a third-party relay Data can remain within a designated environment, but the cloud provider’s compliance terms still need evaluation

    Self-hosting is not necessarily faster. Latency depends on how well the inference engine is optimized, the batching strategy, hardware specs, and operational maturity. A poorly configured self-hosted cluster can be slower than a stable official channel.

    Targeted Optimization of the Inference Engine

    The main value of self-hosting lies in tuning the inference engine for specific models. Common techniques include:

    • KV cache management and PagedAttention: managing key-value caches in a paged fashion reduces memory fragmentation and increases the number of requests a single GPU can handle concurrently.
    • Quantization: reducing weights and some computations from higher precision to INT8 or INT4 lowers memory footprint and compute cost. The impact of quantization on quality varies by model and task, so it must be validated on your own evaluation set before going live.
    • Operator fusion and computation graph optimization: merging low-level operators based on the model architecture reduces GPU kernel launch overhead.

    These optimizations reduce the compute consumed per inference, giving platforms more room to absorb free quotas. However, the savings don’t necessarily show up entirely in the price developers pay.

    3. Why High Quotas Still Fail to Retain Developers: Choosing Multimodality and Speed

    Quota only determines whether users are willing to try a service. Long-term adoption depends on model capability and real-world experience.

    Multimodal Capability Determines Which Scenarios You Can Cover

    A text-only model cannot directly read images, screenshots, or charts. For tasks like generating frontend UI, fixing code based on screenshots, or parsing charts, you need either a multimodal model, or a pipeline where OCR and vision models first convert images into text before handing them to a text model. The latter adds an extra processing step and introduces recognition errors, which require separate evaluation.

    If your business mixes text, images, and tables, confirm which input types a model supports before comparing prices. Otherwise, even with a generous quota, you may need to build additional preprocessing services.

    TTFT and TPS Must Be Compared Under Unified Conditions

    Responsiveness is mainly measured by two metrics:

    • TTFT (Time To First Token): the time from sending a request to receiving the first token. Interactive scenarios generally want TTFT kept within about one second; beyond a few seconds, users tend to perceive the system as laggy. These figures are common experience targets; specific thresholds should be tested against your business scenario.
    • TPS (Tokens per Second): determines how long long-form output takes. For the same model, TPS can vary several-fold depending on hardware, batch size, context length, and concurrency.

    So when you see a TPS figure for a model, first confirm the test conditions. When comparing two models, at minimum align the following:

    1. Model version and quantization method
    2. Hardware model and instance count
    3. Input length and output length
    4. Concurrent request count and batching settings
    5. Whether streaming output is used
    6. Statistical method: look at both P50 and P95 percentiles rather than only the average

    In high-concurrency or long-context scenarios, gaps in TTFT and TPS translate directly into queuing and waiting time. Even if a platform offers a very high quota, a slow model will still push developers toward other services.

    4. How to Calculate Total Cost: A TCO Formula and Checklist

    Looking only at quota or unit price underestimates real cost. You can estimate total cost of ownership (TCO) with the following formula:

    Annual total cost ≈ annual request count × tokens per request × unit price + extra calls from failed retries + efficiency loss from waiting time + ops and compliance costs

    Efficiency loss can be roughly estimated as “waiting duration × number of affected users or tasks × cost per unit of time.” For interactive products, improving TTFT often delivers more value than differences in unit price.

    Before making a selection, check each item:

    • Have you calculated unit prices separately for input and output?
    • Have you accounted for intermediate token consumption from reasoning models?
    • Have you benchmarked TTFT and TPS at your target concurrency?
    • Have you confirmed which models, time windows, and validity periods the quota applies to?
    • Have you evaluated output quality on your own task samples rather than relying solely on public leaderboards?
    • Have you confirmed that the data path and storage locations meet compliance requirements?
    • Have you designed fallback models or degradation plans?

    There are four common mistakes; the first is looking only at the quota. The practical takeaway is the same as the opening conclusion: convert quotas into usable tokens, measure latency under unified conditions, verify input-type coverage, and then run the TCO numbers before committing to any service.