LLM API Pricing Comparison Across Platforms: A Model Selection Guide

    This guide explains why the same LLM can carry different prices across API channels and breaks API billing down into four variables: input, cached-read, and output tokens, plus discounts and off-peak factors. It covers the main channel types, four commonly overlooked cost details, selection recommendations for five monthly usage scenarios, a reusable Python estimation script, and a deployment checklist for keeping actual bills aligned with estimates.

    1. Why the Same Model Has Different Prices Across Channels

    When the same model is offered through different channels, the compute cost and model weights are usually identical, yet the price is not. The difference does not come from the model itself but from the billing dimensions: first, list price versus discount strategy; second, pricing for cache-hit reads; third, batch versus real-time invocation; and fourth, credit conversion and off-peak factors under subscription plans. Once these four layers are separated, the price gap stops being a vague sense of “which one is cheaper” and becomes a calculable result.

    It is worth noting that a natively multimodal model’s total and activated parameter counts, context window length, accepted input modalities (text, image, video, file), and open-source license are model capability descriptions with no direct relation to billing. What actually drives the bill is the composition of three token types per request: input, cache reads, and output.

    2. The Four Variables of the Cost Model

    Any API bill can be abstracted into the following form:

    1. Cost per request = input tokens × input price
    2. + cache-hit tokens × cache price
    3. + output tokens × output price
    4. Monthly cost = Σ cost per request × (1 - discount) × off-peak factor

    What the four variables mean in practice:

    • Input and output prices: The common industry practice is that the output price is significantly higher than the input price, typically by a factor of 3 to 4.
    • Cache price: Charged only for “hit reads.” Cache writes and storage often come with a limited-time free period, after which the cost must be reassessed.
    • Discounts: Limited-time, batch, and subscription discounts are three fundamentally different types, with different stacking rules.
    • Off-peak factor: Some subscription plans offer a discount factor for low-traffic hours, which suits tasks that can be delayed.

    3. Channel Tiers: Abstracting “Platforms” into Four Roles

    To avoid pointing at specific vendors, the channels are divided by role here:

    1. First-party model developer platforms: Usually the first to launch new models, and the most likely to offer limited-time discounts and batch channels.
    2. Third-party model hosting platforms: Pay-as-you-go prices mostly follow the model provider’s list price, with differences showing up in credit systems, off-peak discounts, and ecosystem tooling.
    3. International aggregation gateways: Priced in USD, usually slightly higher once converted to local currency, with the advantage of unified authentication and multi-model routing.
    4. Model service catalogs from public cloud providers: Not every cloud provider lists all model variants at the same time, so before selecting one you must confirm that the target model and tier are actually available; otherwise even the best architecture cannot be deployed.

    A typical tier structure is a flagship tier, a lightweight tier, and a mid-tier in between, with prices often forming steps of roughly 10x and 2 to 3x. Understanding this ladder is what lets you push cost to the minimum while keeping quality “good enough.”

    4. Four Details That Are Easy to Miss

    • Reasoning cannot be turned off: Some models output their reasoning process, and the thinking content is billed as output. In practice, the final answer often accounts for only a small portion of the output, so budget 2 to 3 times the answer length.
    • Cache storage is time-limited: Once the limited-time free period ends, the cost of long-context, high-frequency-call scenarios rises noticeably.
    • Batch channels: Offline tasks sent through the batch API commonly cost 50% of the standard price, at the expense of real-time response.
    • Discounts have no end date: Limited-time discount pages often omit an end date, so teams that rely on that price long term must prepare a budget for reverting to list price.

    5. Selection Conclusions for Five Monthly Usage Scenarios

    • Scenario 1, low monthly volume, single model: Prefer the model provider’s platform at its limited-time price, usually the lowest current pay-as-you-go rate.
    • Scenario 2, medium monthly volume, delay-tolerant requests: Move tasks such as data cleaning and batch labeling to the batch channel to cut cost by another half.
    • Scenario 3, long context, high cache reuse: Focus on comparing the cache-hit price and whether storage is free, rather than only the input and output prices.
    • Scenario 4, large and stable monthly volume: A subscription credit system is better; high-tier models can work out to roughly 50% of list price, but note the conversion rules between the credit baseline and the price factor, where the factor equals the model’s list price divided by the credit baseline unit price.
    • Scenario 5, mixed multi-model calls: Use an aggregation gateway for unified routing, accepting a certain premium in exchange for simpler operations.

    6. A Reusable Estimation Script

    1. def monthly_cost(input_m, cached_m, output_m,
    2. p_in=0.8, p_cache=0.23, p_out=2.8,
    3. discount=1.0, offpeak=1.0):
    4. base = input_m*p_in + cached_m*p_cache + output_m*p_out
    5. return base * discount * offpeak
    6. # Reasoning chains inflate output, so reserve 2.5x
    7. print(monthly_cost(50, 30, 20*2.5, discount=0.5))

    7. Deployment Checklist

    1. Confirm that the target model and target tier are genuinely available on the chosen channel;
    2. Sample real requests to measure the share of input, cache hits, and output;
    3. Calculate the monthly cost at three volume levels for each of the pay-as-you-go, batch, and subscription options;
    4. Set a revert budget and an alert for discount expiration;
    5. Tag by channel dimension in your monitoring, alerting, and logging services, and continuously reconcile actual bills against the estimate.

    The conclusion is not complicated: when list prices converge, the winner is decided by the billing method. Quantify your usage structure first, then choose a billing model — that is controllable cost engineering.