Deployment has outrun understanding
For an enterprise
Deciding whether to roll out an agent means knowing what it will consume, how that consumption grows as tasks lengthen, what it will cost at the prices actually paid, and whether the outcomes are worth more than the tokens.
For a provider
Pricing a service whose cost depends on hidden reasoning, and whose value depends on results the provider never observes.
For a regulator
Telling apart the features of the market that concern competition, those that concern risk, and those that are simply the arithmetic of a new utility.
For research
Systems papers stop at cost per million tokens; economics papers abstract away the machine that sets the cost floor. The book brings the two together around a single object: the token.
From production to consumption to value
The book follows one chain, from how silicon, energy, and capital become tokens, through how applications and agents spend them, to what the spending buys. Pricing, markets, governance, and risk are built around it.
The supply of inference
The cost of producing tokens, the throughput–latency frontier and optimal utilization, capacity procurement, hosting, energy, water, and power.
Part II · Ch. 4–5The demand for tokens
Context, caching, and retrieval; reasoning, agents, and branching consumption; an algebra for estimating and forecasting what a workload will cost.
Part III · Ch. 6–8From tokens to outcomes
Total cost and quality floors, routing and cascades, token allocation and shadow prices in agentic workflows, and the valuation and attribution of agents.
Part IV · Ch. 9–12Four results that outlast any price list
Prices, products, and market facts change monthly, so the book keeps them in dated boxes. What it develops instead are structural facts that hold whatever the current prices are.
Utilization enters unit cost hyperbolically
A pool of hardware costs the same per day whether or not it is busy. If it costs Cf a day, can deliver Nmax tokens, and runs at utilization u, the capacity cost of a delivered token is inversely proportional to u. On a dedicated pool, cutting tokens by 90% raises the cost per token tenfold.
c̄(u) = Cf / (u · Nmax)Agentic consumption can diverge
When an agent delegates, each invocation can spawn sub-investigations, and consumption becomes a branching process with mean branching factor m. At m = 0.8 an alert costs 5 calls on average; at 0.95, 20 calls; at m ≥ 1 the mean is no longer finite.
E[calls] = 1 / (1 − m), for m < 1Replayed context grows quadratically
Every call of an agent loop re-sends the history. In the book's example, ten rounds consume 65,000 input tokens and forty rounds consume 860,000: four times the rounds, 13.2 times the tokens. Try it below.
input tokens grow like n²Token, cost, and value savings differ
Token savings are not automatically cost savings: on a dedicated pool the daily bill is unchanged until capacity shrinks, and cheaper tokens invite more use. Cost savings are not value either, since value is not monotone in cost or in any single quality metric.
Δ tokens ≠ Δ cost ≠ Δ valueWhy long agent sessions get expensive
An agent that keeps its conversation in context re-sends everything it has seen on every turn. Change the settings and watch the cost curve bend upward. Prompt caching lowers the price of the replayed part, but the quadratic shape remains.
Six readers, six paths through the book
Those who price AI services
The cost structure behind a price list, menus and screening, and token-based versus outcome-based contracts.
Parts II and VEngineers and architects
Serving cost, consumption, caching, routing, and workflow allocation, turned into dollars and quality.
Parts II–IVStudents and researchers
Worked examples, exercises, offline laboratory exercises, and a map of open problems across fields.
Ch. 21 and Appendix CPolicy makers and regulators
Market structure, competition, liability, insurance, compute governance, and labor, separated from transient prices.
Ch. 1, 3, 9, 15, 16, 18, 19, 21Finance, procurement, FinOps
Total cost of ownership, the choice of cost denominator, chargeback and budgets, and an enterprise program from visibility to value.
Ch. 9, 17, 20Managers and executives
The questions to ask before a rollout, metrics that reward the right behavior, and the risks a token bill does not show.
Ch. 1, 9, 13, 17, 20Three systems carried through every chapter
The second example is calibrated on a real experiment of 480 metered runs, so its numbers are measured rather than assumed. Every worked number in the book is reproduced by an accompanying script.
Customer-support assistant
A high-volume, low-margin service where utilization, caching, and routing decide the unit economics.
Invoice-reconciliation agent
A multi-step agent whose cost depends on reasoning depth and retries, measured across 480 metered runs.
Multi-agent security operations
A team of agents triaging alerts, where allocation, attribution, and liability all come into play.
21 chapters in 7 parts
Part I is available now as a free sample. Every chapter opens with learning objectives and closes with key takeaways, notes on the literature, and exercises.
IFoundations: Tokens as an Economic Resourcein sample
- 1The Economic Turn in Machine Intelligence
- 2How Inference Works: A Primer for Economists and Managers
- 3The Token as a Unit of Account
IIProduction: The Supply of Inference
- 4The Cost of Producing Tokens
- 5Capacity, Hosting, and Energy
IIIConsumption: The Demand for Tokens
- 6Token Demand: Context, Caching, and Retrieval
- 7Reasoning, Agents, and Branching Consumption
- 8Estimating Workload Cost: From Big-T to an Expected-Cost Algebra
IVValue: From Tokens to Outcomes
- 9Total Cost, Outcomes, and Value
- 10Routing, Cascades, and the Deployment Problem
- 11Token Allocation in Agentic Workflows
- 12Valuing and Attributing Agents
VPricing and Markets
- 13Pricing Token-Metered Services
- 14Token-Based, Value-Based, and Hybrid Contracts
- 15Demand, Rebound, and Market Structure
- 16Token Markets and Agent Economies
VIGovernance, Risk, and Society
- 17Internal Markets, Budgets, and FinOps
- 18Risk, Liability, and Insurance
- 19Agentic Capital and the Political Economy of Tokens
VIIPractice and Prospect
- 20Case Studies in AI Tokenomics
- 21Open Problems and a Research Agenda
App.Appendices
- AProbability, Queueing, and Optimization
- BEconomics Primer
- CLaboratory Exercises (run offline, no provider account needed)
- DGlossary
Papers behind the book
The book is the teaching treatment of a framework developed in the following research.
- AI Tokenomics: The Economics of Tokens, Computation, and Pricing in Foundation ModelsQ. Zhu · arXiv:2606.24616, 2026
- Agentomics: Economic Foundations for the Valuation, Attribution, and Pricing of AI Agents in Human-AI WorkflowsQ. Zhu · arXiv:2606.14769, 2026
- PACT: A Contract-Theoretic Framework for Pricing Agentic AI Services Powered by Large Language ModelsY.-T. Yang and Q. Zhu · IEEE GLOBECOM 2025 · DOI
- Toward Reliable Design of LLM-Enabled Agentic Workflows: Optimizing Latency-Reliability-Cost TradeoffsY.-T. Yang and Q. Zhu · arXiv:2605.23929, 2026
- Insurance of Agentic AIQ. Zhu · arXiv:2606.05449, 2026
- AI-Native Insurance for Agentic AI: Pricing, Underwriting, and End-to-End AutomationQ. Zhu · arXiv:2607.13230, 2026
A note on the word. “Tokenomics” was first used in cryptocurrency, for the supply schedules and incentives of digital assets. That usage is unrelated to this book beyond the shared word: here a token is the unit in which a language model reads and writes, and the unit in which its work is billed.
