Models and inference: what AI runs on
How a request becomes tokens and a bill: model labs, open-weight models, clouds, inference providers, GPU clouds and chips, what a feature really costs, why capacity is scarce, and who pays when a model is throttled, retired or wrong.
Last updated October 2026
01
Overview
5 min read · Chapter 1 of 10
Picture a company that sells help-desk software to other businesses. It adds a button that summarizes a support ticket and drafts a reply, and customers press it about a million times a month, each time sending roughly 2,000 tokens in and getting 500 back. A token is the unit a model reads, writes and bills, a piece of a word: on Anthropic's current tokenizer a million tokens hold about 555,000 English words. The company's AI app sends requests, often through a gateway that picks a model and caches answers, and that also keeps a budget per team and switches models when a call fails. Behind it, a lab's API, a cloud platform or an inference provider runs the model on GPUs in someone's data center: Anthropic, OpenAI or Google selling its own closed model; Amazon Bedrock, Microsoft Foundry or Google Vertex AI reselling several labs' models; or Fireworks or Together serving an open-weight model such as DeepSeek or OpenAI's gpt-oss. Most rent their GPUs from a GPU cloud such as CoreWeave or from a hyperscaler, and the chips come from Nvidia, Google's TPUs or custom designs such as Amazon's Trainium. At the bottom, chips and power decide how much capacity there is, which is why rate limits exist.
If you only remember a few things:
- Prices: expect your cost per task to rise, even though any fixed level of capability gets roughly 10-40 times cheaper a year. Prompts grow, reasoning models bill hidden tokens and agents loop. See How the money moves.
- The bill: choose the model tier and how much reasoning to use before anything else, because they move the bill by orders of magnitude while how you buy the same model moves it by 10-50%. Negotiate the route once you've got those right. See How companies of different sizes use it.
- Compute: expect capacity, and with it your rate limits, to stay tight, because rate limits follow the provider's compute. Every big cloud now says it's capacity constrained. See Who holds the power.
- Routing: try open-weight models where you don't need the very best answer, since they cost a half to a sixth as much and a gateway makes switching a configuration change. Test them at the host you'll actually use, because the same open model behaves differently at different hosts. See Open-weight vs closed models: what's real.
- Operations: plan for rate limits with a fallback to another provider, and for models retired on two months' notice or less. Rate limits caused 60% of failed LLM calls in one large customer dataset. No contract I found covers the quality of answers, as What mistakes cost shows.
- Rules: the EU's duties for model makers and the copyright costs mostly land on the labs, so the legal choice that's yours is mainly which models you use. Chinese open-weight models, for example, carry jurisdiction risk and can cost you your vendor's IP indemnity, as How the rules work explains.
This guide is the supply side. How agents use these models (orchestration, memory, tool security, evals) is in AI agents: orchestration platforms, and I don't repeat it. How labs use model supply against coding tools, and what seats and usage cost there, is in AI coding agents; speech and realtime models are in Voice AI; and measuring tokens, latency and cost per request is in Observability.
The main players
These are the companies behind the diagram's parties, layer by layer, in no particular order.
Model labs (closed)
- What they do
- Train frontier models; sell tokens, subscriptions and enterprise deals
- Main players
- Anthropic, OpenAI, Google DeepMind, xAI (now part of SpaceX), Meta, Mistral
- What they control
- Quality, prices, rate limits, retention and retirement dates
Open-weight model makers
- What they do
- Publish weights anyone can download and serve
- Main players
- DeepSeek, Alibaba (Qwen), Moonshot (Kimi), Xiaomi (MiMo), OpenAI (gpt-oss), Google (Gemma)
- What they control
- The price floor for capable models, licences, and whether hosts serve their model faithfully
Cloud AI platforms
- What they do
- Resell many labs' models under one cloud contract
- Main players
- Amazon Bedrock, Microsoft Foundry, Google Vertex AI
- What they control
- Enterprise commitments, regions, their own SLAs, dates and indemnities
Inference providers
- What they do
- Serve open-weight models per token or per GPU-hour
- Main players
- Fireworks, Together AI, Baseten, Cerebras, Groq
- What they control
- Speed, price and serving quality for open models
GPU clouds
- What they do
- Rent GPUs and data centers on multi-year contracts
- Main players
- CoreWeave, Oracle (OCI), Nebius, Crusoe
- What they control
- Energized capacity, power contracts and the debt that pays for them
Chip makers
- What they do
- Design and sell the accelerators
- Main players
- Nvidia, AMD, Google (TPU, with Broadcom), Amazon (Trainium), Broadcom, Cerebras
- What they control
- Allocation of the scarcest chips and the highest margin in the chain
Gateways and routing
- What they do
- One API in front of many models: routing, fallback, budgets, caching
- Main players
- OpenRouter, LiteLLM, Portkey (Palo Alto Networks), Cloudflare AI Gateway
- What they control
- Switching, spend controls and a second ledger of every call
How they make money:
Layer: Closed model labs
Charges for: per token
Ballpark (list): About $0.10-10 per million input tokens, output about five times more
Layer: Open-weight makers
Charges for: free weights
Ballpark (list): Little direct revenue; a few sell their own API
Layer: Cloud AI platforms
Charges for: resold tokens
Ballpark (list): Roughly the lab's price, drawn from the cloud commitment
Layer: Inference providers
Charges for: per token or GPU-hour
Ballpark (list): About $0.15-3 per million input tokens; $5.50-13 per GPU-hour dedicated
Layer: GPU clouds
Charges for: per GPU-hour
Ballpark (list): About $2-4 per H100-hour; the big deals run for years
Layer: Chip makers
Charges for: per chip
Ballpark (list): Nvidia keeps about 74% as gross margin
Layer: Gateways
Charges for: a small fee
Ballpark (list): Free, or 5.5% on credits (OpenRouter)
Nearly every layer bills by usage, so revenue follows tokens, and the margin collects where supply is short: chips and powered data centers. The newer serving companies are where the money is rushing in: Fireworks, Together AI and Baseten raised nearly $4 billion between them in 2026. The bigger companies are buying the pieces they lack. Nvidia paid about $20 billion to license Groq's technology and hire its leaders, and Palo Alto Networks is buying the gateway Portkey. Lab revenue figures come mostly from leaks and press reports, and the labs book cloud resale differently, so I wouldn't compare them.
As of October 2026. Most private-company figures here are self-reported or come from press coverage of rounds and leaks, so treat the list as a map to check.
Back to the help-desk company. Its app calls LiteLLM, which it runs itself, and the gateway checks the team's monthly budget and sends the ticket to Claude Sonnet 5.5 on Bedrock, so the spend draws down the company's existing AWS commitment. Bedrock runs the model in AWS's data centers, filled with Nvidia GPUs and Amazon's own Trainium chips. When Bedrock answers with a rate-limit error, the gateway sends the ticket to gpt-oss-120b at Fireworks instead, which serves it from rented Nvidia GPUs. One summary can touch five or six companies, each with its own meter and retirement calendar (the vendors in the story are illustrative).