Cover of The Economics of AI: Cost, Latency, and Infrastructure Tradeoffs by Alex Merced

The Economics of AI: Cost, Latency, and Infrastructure Tradeoffs

Published by Self-published · Tech

Analyzes the cost structures of AI systems and how to optimize spending across compute, latency, and infrastructure.

About the author: Alex Merced is Head of Developer Relations at Dremio and the author of 77 books on data, AI, economics, fiction, and tabletop RPGs. His story is on WhoIsAlexMerced.com.

Who this book is for

Engineering and platform leaders, FinOps teams, AI engineers, CTOs and VPs of Engineering, and product managers who need to make AI systems financially sustainable.

Table of contents

  1. The Economics Problem
  2. Token Economics
  3. Model Selection Economics
  4. Inference Infrastructure
  5. Caching and Reuse Strategies
  6. Latency-Cost Tradeoffs
  7. Retrieval-Generation Cost Balance
  8. Batching and Throughput Optimization
  9. Managing Evaluation Costs
  10. AI FinOps
  11. Build vs. Buy Decisions
  12. Decision Frameworks for AI Economics

Excerpt

AI costs work differently from traditional software costs. A web application's marginal cost per user is close to zero once the infrastructure is in place. Serve one user or one million users: the database query cost barely changes. An AI application's marginal cost scales with every request: every query consumes tokens, every token costs money, and the cost varies dramatically based on model, context size, and output length.

Related books

Work with Alex