Inside LLM Company Valuations: Inference Costs and a Practical Model Selection Methodology

    The news that an AI company has filed for an IPO at an expected $2 trillion valuation has reignited a familiar debate: can large model companies actually make money? Setting the valuation story aside, this article takes an engineering view of LLM commercialization. It shows how to verify a model vendor's real strength through paid revenue, production customers, and operating cash flow; how to build a reusable model for breaking down per-token inference cost; and how to balance tiered routing with a self-built regression evaluation so that model selection stays grounded in real business needs while accounting for the cost of every token. Readers come away with working code samples for a cost model, a provider abstraction layer, a routing strategy, and a minimal evaluation loop built around cost per successful task rather than leaderboard rank.

    The news that an AI company has filed an IPO at an expected valuation of $2 trillion has pushed one question back into the spotlight: can a large model company actually make money? This article sets the valuation narrative aside and takes a technical look at how solid LLM commercialization really is—how to validate a model vendor using production workloads, paid conversion, and unit inference cost, and how to strike a balance between inference-cost breakdown, tiered routing, and a self-built regression evaluation so that enterprise model selection stays close to real business needs while still accounting for the cost of every token.

    In October 2026, a foundation-model vendor filed for an IPO at an expected valuation of $2 trillion, and the news drew heavy attention. A lot of people are asking a very direct question: will this become the most valuable company in human history?

    That question is hard to answer, and I am not going to try today. Whichever conclusion you reach will not stop you from choosing the model with “the best quality at a reasonable price” tomorrow. For an enterprise engineering team, the genuinely useful questions are different: within a story like this, which signals can be verified with technical metrics? And how should selection be designed today so you are not led around by a single narrative?

    This article first steps away from the valuation story to build a checkable “quality assessment framework,” then returns to the engineering front line to lay out practical methods for inference-cost breakdown, tiered routing, and a self-built regression evaluation.

    1. Look at Metrics, Not Narrative: How to Validate an LLM Vendor

    1.1 Three yardsticks: paid revenue, production customers, operating cash flow

    In my view, whether a large model company’s commercialization is solid can be validated on three levels, all of them backed by data:

    • Share of paid revenue: separate the “buzz generated by trials and free calls” from “real demand that keeps paying.” Public third-party surveys have compared the paid conversion rates of long-term active users across general-purpose assistant products; the leading product exceeds 50%, while the other two categories sit below 30% and around 10%. This kind of data says more about “who is actually solving problems for users” than any composite ranking.
    • Number of production customers: in pilot projects, users have high tolerance and failures can be rolled back. Only customers that go into production systems and carry real business traffic will impose hard constraints on stability, latency, and cost. The more production customers a vendor has, the more predictable its revenue becomes.
    • Operating cash flow and adjusted profit: non-cash items such as depreciation and stock-based compensation distort the income statement. It is more meaningful to look at the actual flow of cash in and out, and at the operating margin after stripping out non-cash items.

    1.2 High share does not mean high revenue—calculate revenue per unit of share first

    According to public surveys, one vendor holds more than half of the enterprise LLM market, more than all other vendors combined. Yet according to its prospectus, its annual revenue for 2025 was only about $4.585 billion, rising to $16.286 billion in the first half of 2026—roughly 3.5 times the full previous year. Putting these two figures together yields a simple conclusion:

    Dividing annual revenue by average annual market share, in 2025 each 1% of the market held by enterprise customers corresponded to less than $100 million in revenue; annualized, the first half of 2026 had already passed $600 million. Revenue per unit of share grew several-fold, which means the expansion of market share itself cannot explain the revenue jump.

    The growth engine has shifted gears: from “grabbing share” to “the same customers using the product more, and paying more deeply.”

    This judgment is corroborated by the disclosed customer structure:

    • The number of high-value customers grew more than tenfold in a year: according to the prospectus, customers with annual recurring revenue of $100,000 or more grew from about 950 at the end of September 2025 to more than 11,900 at the end of September 2026.
    • Operating cash flow turned positive: in the first half of 2026, operating cash flow turned positive at about +$3.929 billion. Under the company’s own non-GAAP definition (mainly excluding non-cash factors such as stock-based compensation), adjusted operating profit was about $1.618 billion, an operating margin of about 10%.
    • Do not fixate on a huge book loss: profit measured under standard accounting rules may still include enormous non-cash expenses recognized as stock payments. When you see a headline about a “massive half-year loss,” first check how much of that loss actually involves no cash outflow.

    Even if part of the incremental revenue came from coding scenarios, it is unlikely to exist at several times the scale. Coding is only one of the scenarios that best demonstrates capability; the revenue jump more likely came from broader general-purpose scenarios such as document analysis, customer-service Q&A, data analysis, and multilingual content processing.

    1.3 Do not overlook talent structure: why top researchers are “priced” the way they are

    Beyond the prospectus, news that top model researchers move between companies at salaries in the tens of millions of dollars is also frequently cited. This compensation comes mostly from equity rather than cash, yet it precisely reflects the nature of the foundation-model industry: extremely high technical density and highly scarce talent.

    The following figures are for illustration only and are not real business data:

    • Assume a model team of 500 people, with an average fully-loaded personnel cost of RMB 2.5 million per year, for an annual personnel investment of about RMB 1.25 billion;
    • Assume annual inference revenue of RMB 1 billion and direct inference cost of RMB 150 million;
    • In this case, revenue only covers personnel and inference costs, and it ignores the portion of personnel cost that comes from stock-based compensation.

    The takeaway: after large-scale pre-training investment, what determines whether a model company can cross the break-even point is the revenue scale and unit cost of its inference business. This is also the part of model selection most worth studying for enterprises.

    2. Unit Inference Cost: An Account Every Enterprise Must Do for Itself

    2.1 Input and output: two kinds of tokens, two kinds of cost

    The token-based billing mechanism dictates how inference cost is composed. The cost of a single request can usually be broken into three parts:

    1. Per-request cost = uncached input tokens × input price
    2. + cached input tokens × input price × cache discount
    3. + output tokens × output price

    It is almost an industry convention that “the output price is higher than the input price,” because the generation phase requires token-by-token autoregressive decoding. In knowledge-base Q&A, with tens of thousands of input tokens and only a few hundred output tokens, the workload looks light, yet the cost is concentrated on the cheapest side. Conversely, for output-heavy tasks such as code generation and long-form rewriting, the cost structure is completely different.

    Caching changes the cost curve on the input side. Most mainstream platforms offer a “prefix caching” capability: when multiple requests share the same leading context (system prompt, a long document, code-base documentation), only the first request needs full computation, and subsequent requests pay only for the newly added portion, usually billed at a lower discount. So the effective input-side cost is roughly:

    1. Effective input cost = (1 - hit rate) × input tokens + hit rate × input tokens × cache discount

    2.2 A reusable cost model

    The code below is a cost model that can be dropped directly into a billing dashboard or budgeting system (illustrative implementation; prices and discounts must follow your platform’s actual billing rules):

    1. from dataclasses import dataclass
    2. @dataclass(frozen=True)
    3. class ModelPricing:
    4. """Prices are per million tokens; the cache discount uses the platform's published ratio."""
    5. name: str
    6. input_price: float
    7. output_price: float
    8. cache_discount: float # e.g. 0.1 means cached input is billed at 10% of the original price
    9. def estimate_cost(tokens: dict, pricing: ModelPricing) -> float:
    10. """tokens: {'input': total input, 'cached_input': portion served from cache, 'output': output}"""
    11. fresh_in = tokens["input"] - tokens["cached_input"]
    12. return (
    13. fresh_in * pricing.input_price
    14. + tokens["cached_input"] * pricing.input_price * pricing.cache_discount
    15. + tokens["output"] * pricing.output_price
    16. ) / 1_000_000
    17. def compare_tiers(tokens: dict, pricings: list[ModelPricing], budget: float = 0.05):
    18. """Return candidate models within a per-call budget, ordered from lowest to highest cost."""
    19. ranked = sorted(
    20. pricings, key=lambda p: estimate_cost(tokens, p)
    21. )
    22. return [p for p in ranked if estimate_cost(tokens, p) <= budget]

    Running it reveals a counterintuitive conclusion. For example, with 12,000 input tokens, 800 output tokens, and a 60% cache hit rate:

    • If the output price is 4 times the input price, the input side (including the cache discount) accounts for about 65% of total cost;
    • Even if the output price rises to 8 times, the output side still accounts for only about 70%;
    • If the cache hit rate rises to 90%, the effective input-side cost drops to roughly 30% of the original.

    This shows that the first priority for optimization and cost reduction is not “switching to a cheaper model,” but “caching the repeated leading context and trimming content that is not needed.”

    2.3 The other lever on the output side: reasoning length

    The other lever on the output side is reasoning length. Models with reasoning capabilities often trade a longer “thinking process” for accuracy on complex tasks, which directly inflates output-token consumption. Practical recommendations:

    • Set output budgets by task tier: tasks like intent recognition and field extraction should have explicit output-token limits;
    • Break complex tasks into stages: plan first, then execute, to avoid a single request with an overlong chain of thought;
    • A/B test the reasoning budget: use quality data to confirm whether the extra “thinking tokens” actually bought back accuracy.

    3. Tiered Routing: Putting Each Request on a Model That Is “Good Enough and Cheapest”

    3.1 An abstraction layer: ensure replaceability before optimizing

    On many teams, model calls are scattered throughout business code and hard-coded against vendor-specific interfaces. The result is either lock-in to a single vendor, or a change that ripples across the system whenever a model is upgraded. A more robust approach is to add a unified model gateway:

    • Expose a vendor-agnostic request/response structure to callers;
    • Internally handle routing, retries, rate limiting, auditing, and cost attribution;
    • Treat the model version as a configuration item rather than a code constant.

    An illustrative interface:

    1. from typing import Protocol, AsyncIterator
    2. from dataclasses import dataclass, field
    3. @dataclass
    4. class LLMRequest:
    5. messages: list[dict]
    6. task_type: str # chat / code / extract / classify ...
    7. max_output_tokens: int = 1024
    8. temperature: float = 0.2
    9. tags: dict = field(default_factory=dict) # business line, tenant, scenario, for cost attribution
    10. @dataclass
    11. class LLMResponse:
    12. text: str
    13. model: str
    14. usage: dict # input/output/cached-hit tokens
    15. latency_ms: int
    16. class LLMProvider(Protocol):
    17. async def complete(self, req: LLMRequest) -> LLMResponse: ...
    18. async def stream(self, req: LLMRequest) -> AsyncIterator[str]: ...

    3.2 Routing strategy: allocate compute by task value

    The core idea of tiered routing is “different requests, different tiers”:

    Request type Suggested tier Basis
    Classification, extraction, rewriting Light Short output, clear rules; a small model or rule template works
    Standard Q&A, document summarization Standard Needs some reasoning capability; latency-sensitive
    Code generation, complex analysis Flagship High accuracy demands, low tolerance for errors

    Routing can be configured by task type, or decided dynamically by input characteristics:

    1. def route(req: LLMRequest) -> str:
    2. if req.task_type in ("classify", "extract"):
    3. return "light"
    4. if req.task_type == "code" and len(req.messages[-1]["content"]) > 8000:
    5. return "flagship" # large-context code task; use the flagship tier to protect accuracy
    6. return "standard"

    One point deserves emphasis: routing is not about “cutting costs wherever possible.” Savings must be validated with a regression evaluation to confirm that “quality has not dropped noticeably”—otherwise you are trading business quality for a nicer bill.

    4. Self-Built Regression Evaluation: Replacing “Ranked First” with “My Task Success Rate”

    4.1 Why you cannot rely on leaderboards alone

    Public evaluation sets have three kinds of bias:

    • Data contamination: questions and answers may already be in the training data, inflating scores;
    • Distribution mismatch: benchmark tasks differ from your business distribution, with insufficient coverage of long-tail scenarios;
    • Single metric: looking only at accuracy ignores latency, cost, and stability.

    What an enterprise really needs is a metric of “task success rate per unit cost,” not a leaderboard ranking.

    4.2 A minimal viable evaluation loop

    The evaluation loop has four steps:

    1. Sample real requests from production logs, covering high-frequency, low-frequency, and boundary scenarios;
    2. Have humans label “reference answers” or “acceptance rules” (e.g., field completeness for extraction tasks, whether code tasks pass unit tests);
    3. Run the same sample set through a unified script, recording quality, token consumption, latency, and cost;
    4. Run a regression every time a model is upgraded or a routing strategy changes; roll back if the metrics fall short.
    1. import asyncio
    2. def acceptance(resp: LLMResponse, case) -> float:
    3. """Implement acceptance per task type: exact match, unit-test pass rate, human rating, etc. (illustrative)."""
    4. return 1.0 if case.answer in resp.text else 0.0
    5. async def evaluate(cases, provider: LLMProvider):
    6. async def one(case):
    7. req = LLMRequest(
    8. messages=[{"role": "user", "content": case.prompt}],
    9. task_type=case.task_type,
    10. )
    11. resp = await provider.complete(req)
    12. cost = estimate_cost(
    13. {"input": resp.usage["input"], "cached_input": resp.usage["cached_input"],
    14. "output": resp.usage["output"]},
    15. PRICINGS[resp.model],
    16. )
    17. return acceptance(resp, case), cost, resp.latency_ms
    18. results = await asyncio.gather(*(one(c) for c in cases))
    19. passed = sum(r[0] for r in results) / len(results)
    20. cost_per_pass = sum(r[1] for r in results) / max(sum(r[0] for r in results), 1e-9)
    21. p95 = sorted(r[2] for r in results)[int(len(results) * 0.95)]
    22. return {"pass_rate": passed, "cost_per_pass": cost_per_pass, "p95_ms": p95}

    Here, cost_per_pass (the average cost per successful task) is closer to a real operating metric than “price per thousand tokens.” Comparing prices is only meaningful when both models clear the accuracy threshold; otherwise, price alone means nothing.

    5. Engineering Checklist: Making Cost Control Part of Daily Work

    • Cache first: for repeated context such as system prompts, knowledge-base snippets, and code-base documentation, try to hit the prefix cache.
    • Slim the context: rerank and deduplicate retrieved results before assembling them; avoid stuffing an entire document into the context.
    • Tiered output budgets: set max_output_tokens per task, and split complex tasks into stages.
    • Async and batching: use asynchronous interfaces for offline tasks and streaming output for online tasks to improve perceived responsiveness.
    • Quotas and alerts: set token budgets by tenant or business line, and alert or degrade when nearing a threshold.
    • Cost attribution: record tags on every call so that cost can be traced back to a specific business and scenario.
    • Fallbacks for failures: configure degradation paths for timeouts, rate limits, and content blocks (e.g., switching to a backup model or a human fallback).
    • Canary releases: run the evaluation set on shadow traffic before a model upgrade, then roll out by percentage.

    When deploying on a cloud platform, object storage can hold evaluation sets and logs, message queues can absorb asynchronous tasks, and monitoring and alerting can track latency and token usage. These general capabilities can also be combined on demand using the relevant products of Baidu AI Cloud.

    Conclusion

    Back to the opening question: will it become the most valuable company in human history? No one can give a definitive answer, and it has little to do with your technical work.

    What is worth remembering is this: no matter how grand the valuation narrative, it ultimately comes down to “the cost of every token” and “the success rate of every call.” For a technical team, the reusable methodology comes down to three sentences:

    • Make decisions with unit cost, not leaderboard rankings;
    • Use tiered routing and caching to spend cost where it matters most;
    • Use a self-built regression evaluation to replace “the vendor’s narrative” with “my task success rate.”

    Get these three things right, and no matter how the industry narrative shifts, your system can maintain a controllable balance among quality, cost, and stability.