LLM API Pricing Decoded: A Multi-Platform Price Comparison and Cost-Effectiveness Guide
When integrating large language model APIs, many developers assume official direct access is always cheaper than third-party resellers. This article compares public pricing for mainstream models across multiple channels and finds the reality is far more complex: per-token prices for the same model can differ by up to 3.8x across platforms, and the more expensive option is not necessarily the official one, nor the cheaper one a third party. It covers a standardized price-comparison methodology, three counterintuitive findings, per-model pricing tables with selection advice, hidden pricing factors to watch for, and a practical action checklist for choosing the most cost-effective API channel.
In the process of integrating LLM APIs, we often take one assumption for granted: official direct access must be cheaper than third-party resale. However, after comparing the public pricing of mainstream models across multiple channels, we found the reality far more complicated. The pay-as-you-go price for the same model can vary by up to 3.8x across platforms, and “the expensive one is not necessarily official, the cheap one is not necessarily a third party” — a finding that overturns conventional procurement intuition.
1. Comparison Methodology: Establishing a Common Yardstick
Before comparing data, we must first define the measurement criteria. Different channels use different billing units, currencies, and caching policies. Without normalization, any comparison is meaningless.
We adopted the following standardized approach:
- Weighted formula: Input tokens weighted at 30% and output tokens at 70%. This ratio reflects the token consumption structure of typical scenarios such as agent coding and code generation. In tasks like code completion and function generation, output is usually longer than the input prompt, so this weighting better reflects real costs.
- Currency conversion: All USD prices were converted at a fixed rate of ¥7.2/$ to create a uniform RMB-denominated baseline for horizontal comparison.
- Data collection: All prices came from publicly available pricing pages on each platform, scraped at a single, documented timestamp to ensure timeliness and traceability.
One important caveat: this weighting ratio does not fit every scenario. For tasks where input greatly exceeds output — pure text classification, sentiment analysis, and the like — you should raise the input-token weight and recompute the unit cost.
2. Key Findings: Three Counterintuitive Conclusions
1. Official direct access is not the price floor
Take one flagship model as an example: its official direct price is ¥5.32/M, while two major cloud platforms resell it at ¥20.40/M — a 283% markup. This breaks the naive assumption that “resellers always charge a bit more than official.” The economics behind it:
- Wholesale discounts: Third-party platforms often sign annual framework agreements with model vendors, buying token quotas at wholesale prices and reselling to developers at a slight markup, profiting through volume.
- Ecosystem subsidies: Some cloud platforms deliberately price leading models below official rates to enrich their own model marketplace and attract developers, then profit from adjacent services such as data processing, model fine-tuning, and inference optimization.
- Currency arbitrage: If an official overseas site prices in USD, its RMB-equivalent price naturally falls during periods of RMB appreciation; domestic channels priced in RMB with lagging adjustments can show temporary price gaps.
2. Uneven coverage of flagship versions across channels
The comparison also revealed clear differences in how quickly channels adopt newly released flagship versions. Some channels were still offering only the previous generation or a coding-specialized variant days after a flagship release — a “listed price, no supply” situation. This uneven coverage stems from:
- Technical integration cycles: API integration and stability testing between third-party platforms and model vendors take time; major version updates often require weeks of adaptation.
- Commercial negotiation progress: Channels may delay listing a new model until business terms (tiered rebates, minimum purchase volumes) are settled.
- Traffic allocation strategy: Some channels postpone new-version listings to preserve call volume on older versions and extend their lifecycle.
When selecting a model, don’t rely solely on the vendor’s official pricing page — confirm that your target channel has actually listed the version you need, to avoid the awkward situation of “appears available, actually unavailable.”
3. Wildly varying discount depths among third-party channels
Across the four models compared, third-party discounts ranged from 15% to 31.5% of official prices. This spread is not random; it correlates closely with each channel’s business model:
- Aggregated routing platforms: These platforms dynamically route requests to different upstream providers, matching transactions at the lowest price. They offer the deepest discounts but may sacrifice some response stability.
- Cloud vendor resale: Cloud vendors tend to bundle models with their own IaaS and PaaS capabilities. The model itself may be sold at thin margins or even at a loss, but overall deal sizes are larger.
- Vertical industry resellers: Resellers focused on a specific industry (e.g., finance, healthcare) layer on industry-specific fine-tuning services, so their prices include a value-added premium.
3. Detailed Price Comparison and Selection Analysis
Model A (Flagship general-purpose LLM)
| Channel Type | Input Price | Output Price | Cached Price | Notes |
|---|---|---|---|---|
| Official overseas site | $1.40/M | $4.40/M | $0.26/M | Global unified pricing |
| Domestic cloud platform | ¥8.00/M | ¥28.00/M | ¥2.00/M | Domestic node pricing |
| Third-party aggregation platform | $0.212/M | $0.676/M | Not listed | Deepest discount |
Selection advice: If your users are overseas, connect directly to the official overseas site. If your users are in mainland China, a domestic cloud platform is preferable for lower latency and better compliance. For cost-sensitive long-tail applications, test the aggregation platform’s pricing and stability with small traffic first.
Model B (Cost-effective, efficient model)
| Channel Type | Input Price | Output Price | Notes |
|---|---|---|---|
| Official direct | ¥5.32/M | ¥5.32/M | Unified pricing, no cached tier |
| Domestic cloud platform A | ¥20.40/M | ¥20.40/M | Resale price |
| Domestic cloud platform B | ¥20.40/M | ¥20.40/M | Resale price |
| Overseas aggregation platform | ¥5.32/M | ¥5.32/M | Same as official |
| Third-party aggregation platform | ¥1.49/M | ¥1.49/M | Lowest price, roughly 28% of official |
Selection advice: This model’s official pricing is highly competitive, so if you need private deployment, signing directly with the vendor is a reasonable choice. For small and mid-sized teams with stable call volumes and no need for extra technical support, the aggregation platform’s ultra-low price is very attractive. However, verify whether the channel offers an SLA and whether its concurrency limits could become a bottleneck. Run a load test before switching.
Model C (High-end flagship model)
| Channel Type | Input Price | Output Price | Notes |
|---|---|---|---|
| Official direct | ¥76.00/M | ¥76.00/M | Unified pricing |
| Domestic cloud platform | ¥76.00/M | ¥76.00/M | Same as official; channel is a direct operator |
| Overseas aggregation platform | ¥76.80/M | ¥76.80/M | Slight markup |
| Third-party aggregation platform | ¥24.27/M | ¥24.27/M | Roughly 30% of official |
Selection advice: This is a high-end flagship series, with an overall price more than ten times that of Model B. For procurement at this budget scale, adopt a dual-track strategy of “official contract pricing + third-party negotiation”: first negotiate annual volume rebates with the vendor, then use that as leverage to negotiate better tiered pricing with aggregation platforms.
4. Hidden Pricing Factors and How to Avoid Them
1. Inconsistent cached-token pricing
Some channels price cached tokens separately, at rates far below the input price. If your workload involves many repeated prefix requests (e.g., chat scenarios with a fixed system prompt), choosing the channel with better cached pricing can significantly cut costs. For example, a chatbot with a fixed 2,000-token system prompt handling 100,000 requests per day can save a substantial amount annually from the gap between cached and regular input prices.
2. Billing-unit traps
Some platforms bill by “character count” rather than tokens produced by the tokenizer. For Chinese text, the character-to-token ratio is roughly 1:1.7, so a platform billing by characters will cost more in practice than a same-priced platform billing by tokens. Always read the billing-unit details on the pricing page and run a small paid test with your own business data.
3. Hidden minimum spends or instance packages
Some B2B channels require purchasing “instance packages” or “resource packages” rather than pure pay-as-you-go. If your traffic fluctuates heavily, such prepaid plans can waste resources. Build a usage dashboard to monitor how actual token consumption tracks against your account balance, and avoid the risk of “service interruption due to insufficient balance.”
5. Conclusions and Action Checklist
Overall, there is no absolute “cheapest channel” — only the selection strategy that best fits your business model. We recommend:
- Dual-channel redundancy: Connect at least two channels (e.g., official direct + one third-party aggregator) with automatic failover via DNS or a gateway, securing availability while preserving room for price comparison.
- Monthly cost accounting: Clean and reconcile your billing statements each month, compute blended costs based on your actual input/output ratio, and dynamically adjust traffic distribution.
- Track version release cadence: When a vendor releases a new model version, wait for channels to complete adaptation, then run a fresh round of benchmark evaluations to decide whether to switch.
- Leverage caching: Inventory reusable common prefixes in your workloads and use caching policies to reduce effectively billed tokens.
- Monitor exchange rates and policy changes: Currency fluctuations and regulatory changes all affect real settlement costs, so keep an eye on FX and compliance developments.
In technical selection, price is only one dimension — inference quality, concurrency capacity, and data compliance carry equal weight. Re-run this comparison process at every major version update or budget adjustment, so every dollar of budget translates into visible results.
