AI Cost Playbook

AI Cost Playbook

Caio Incau

41,53 €
IVA incluido
Disponible
Editorial:
Packt Publishing
Año de edición:
2026
Materia
Programación informática/desarrollo de software
ISBN:
9781808822155
41,53 €
IVA incluido
Disponible
Añadir a favoritos

Bring FinOps discipline to production LLM systems by measuring AI spend, optimizing token usage, and building cost controls that scale with your applicationsKey Features:- Build tokenwatch to measure, attribute, and optimize production LLM costs- Reduce AI spend using caching, batching, model routing, and RAG optimization- Establish budgets, quotas, forecasting, and accountability for sustainable AIBook Description:LLM applications introduce a new kind of cloud economics. Costs are usage-based, model-dependent, and influenced by everything from prompt length and caching to RAG pipelines and autonomous agent loops. As grows, engineering teams need more than isolated cost-cutting tricks; they need FinOps for LLM systems.The AI Cost Playbook shows you how to apply financial accountability and engineering discipline to production AI. You’ll build tokenwatch, a Python-based cost observability and optimization toolkit, while learning to meter tokens, attribute spend, and calculate costs per request, user, and feature.You’ll then reduce unnecessary spend through prompt optimization, caching, batch processing, model routing and cascades, RAG optimization, and agent cost controls. You’ll also evaluate the break-even economics of self-hosting and learn how to forecast future AI expenditure.Finally, you’ll turn optimization into an operating discipline by establishing budgets, quotas, forecasting, and cost accountability. With configurable pricing rather than hardcoded model costs, the techniques remain useful as providers, models, and pricing evolve.What You Will Learn:- Measure token usage and attribute LLM costs accurately- Calculate AI costs per request, user, and product feature- Optimize prompts to reduce unnecessary token consumption- Use prompt caching and calculate its break-even point- Cut workload costs with batching and model routing- Optimize RAG pipelines and control agent-related costs- Evaluate the economics of APIs versus self-hosted models- Build budgets, quotas, forecasts, and AI cost governanceWho this book is for:This book is for AI engineers, ML engineers, software engineers, platform engineers, technical leads, engineering managers, architects, and FinOps professionals responsible for building or operating LLM applications. It will also benefit technology leaders responsible for AI infrastructure and API spending who want to understand the economics behind production AI systems and establish better cost controls. Familiarity with LLM applications and basic Python will help readers get the most from the implementation-focused sections.Table of Contents- The AI Bill Shock- Token Economics 101- Measuring First: Token Metering and Cost Attribution- Unit Economics: Cost per Request, User, and Feature- Prompt Engineering for Cost- Prompt Caching: Mechanics, Hit Rates, and Break-Even- Batch Processing and Async Workloads- Model Routing and Cascades- RAG Cost Optimization- Agents: The Cost Multiplier- Self-Hosting Break-Even- Governance: Budgets, Quotas, and Cost Accountability- Negotiating and Forecasting- Final Project: Full Tokenwatch Integration

Artículos relacionados

  • SPARK 2014 Reference Manual
    AdaCore / Altran UK Ltd
    SPARK 2014 is a programming language and a set of verification tools designed to meet the needs of high-assurance software development. SPARK 2014 is based on Ada 2012, both subsetting the language to remove features that defy verification, but also extending the system of contracts and aspects to support modular, formal verification.This manual is available online for free at ...
    Disponible

    19,91 €

  • Software and Intelligent Sciences
    Yingxu Wang
    The junction of software development and engineering combined with the study of intelligence has created a bustling intersection of theory, design, engineering, and conceptual thought. Software and Intelligent Sciences: New Transdisciplinary Findings sits at a crossroads and informs advanced researchers, students, and practitioners on the developments in computer science, theor...
  • Power System Planning Technologies and Applications
    Fawwaz Elkarmi / Nazih Abu Shikhah / Nazih Abu-Shikhah
    Planning is an important function of the management of any business, providing knowledge of future prospects and enabling prudent and appropriate decision-making. Planning is especially critical for power systems, since electricity is a fundamental part of modern societies and many conventional electrical energy resources currently in use are limited. Power System Planning Tech...
  • Concept Parsing Algorithms (CPA) for Textual Analysis and Discovery
    Masha Etkind / Uri Shafrir
    Text analysis tools aid in extracting meaning from digital content. As digital text becomes more and more complex, new techniques are needed to understand conceptual structure. Concept Parsing Algorithms (CPA) for Textual Analysis and Discovery: Emerging Research and Opportunities provides an innovative perspective on the application of algorithmic tools to study unstructured d...
  • Model-Based Design for Effective Control System Development
    Wei Wu
    Control systems are an integral aspect of modern society and exist across numerous domains and applications. As technology advances more and more, the complexity of such systems continues to increase exponentially. Model-Based Design for Effective Control System Development is a critical source of scholarly information on model-centric approaches and implementations for control...
  • Verification, Validation and Testing in Software Engineering
    ...

Otros libros del autor

  • AI Side Hustle Playbook
    Caio Incau
    Turn AI into a real source of income with five proven side hustles, realistic earning expectations, and a 90-day plan to build recurring revenue without codingKey Features:- Explore five AI side hustles with realistic income ranges and startup costs- Start earning with AI through opportunities that require little or no coding- Follow a 90-day launch plan to move from your first...
    Disponible

    26,08 €

  • AI Evals in Practice
    Caio Incau
    Build evaluation systems that reveal whether your LLM applications are improving or regressing, using calibrated judges, RAG and agent metrics, CI regression tests, online evals, and cost-aware pipelinesKey Features:- Build a complete Python eval harness from datasets and scorers to CI and dashboards- Evaluate RAG, agents, and prompts with calibrated metrics and human feedback-...
    Disponible

    54,70 €