Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
Buy New
-29% $57.19
close
FREE delivery Thursday, May 28
Ships from: Amazon.com
Sold by: Amazon.com
$57.19 with 29 percent savings
List Price: $79.99 BERJAYA
FREE delivery Thursday, May 28
Or Prime members get FREE delivery Tomorrow, May 24. Join Prime
In Stock
$$57.19 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$57.19
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Shipper / Seller
Amazon.com
Amazon.com
Shipper / Seller
Amazon.com
Returns
FREE 30-day refund/replacement
FREE 30-day refund/replacement
Quick refund
Usually issued within 24 hours. See exceptions
FREE return
At least one free return option available.
Convenient dropoff
At any of our 50,000 US locations.
See return policy
Gift options
Available at checkout
Available at checkout This item is a gift. Change
At checkout, you can add a custom message, a gift receipt for easy returns and have the item gift-wrapped
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$40.20
FREE Returns
FREE delivery Thursday, May 28
Or Prime members get FREE delivery Tomorrow, May 24. Join Prime
In Stock
$$57.19 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$57.19
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • AI Engineering: Building Applications with Foundation Models

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

AI Engineering: Building Applications with Foundation Models 1st Edition

4.7 out of 5 stars (798)

{"desktop_buybox_group_1":[{"displayPrice":"$57.19","priceAmount":57.19,"currencySymbol":"$","integerValue":"57","decimalSeparator":".","fractionalValue":"19","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"dvh9xO7JI6w2yZz3vR8n03myrG2vTnIKAnao0bpnnciLPiTNTvt4h5tejSTOx8ra%2B65YBdEAoHQuxKFdDbjzeNiLTNSlik9JKFC80BfvLRQtXrWcy0Ilp8rGPjvPBD3a8zyTF2s9dV5uM0XyMCnRbw%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$40.20","priceAmount":40.20,"currencySymbol":"$","integerValue":"40","decimalSeparator":".","fractionalValue":"20","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"dvh9xO7JI6w2yZz3vR8n03myrG2vTnIKSF%2F65t5ObPrm1v%2BbKy7vHzC8NALqvWZrBNuir15HKsLWOmDWDR%2FzeEkAnzQaJV2hgRK5%2FS3a0mrd%2BRIQV%2F62wQIRe8hA%2B50E%2BtwSwo3VwcHzaRb7U1flqTUf1vO5BWCKTofbnT%2BxCcxZJ1bdAUa0tw%3D%3D","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Recent breakthroughs in AI have not only increased demand for AI products, they've also lowered the barriers to entry for those who want to build AI products. The model-as-a-service approach has transformed AI from an esoteric discipline into a powerful development tool that anyone can use. Everyone, including those with minimal or no prior AI experience, can now leverage AI models to build applications. In this book, author Chip Huyen discusses AI engineering: the process of building applications with readily available foundation models.

The book starts with an overview of AI engineering, explaining how it differs from traditional ML engineering and discussing the new AI stack. The more AI is used, the more opportunities there are for catastrophic failures, and therefore, the more important evaluation becomes. This book discusses different approaches to evaluating open-ended models, including the rapidly growing AI-as-a-judge approach.

AI application developers will discover how to navigate the AI landscape, including models, datasets, evaluation benchmarks, and the seemingly infinite number of use cases and application patterns. You'll learn a framework for developing an AI application, starting with simple techniques and progressing toward more sophisticated methods, and discover how to efficiently deploy these applications.

  • Understand what AI engineering is and how it differs from traditional machine learning engineering
  • Learn the process for developing an AI application, the challenges at each step, and approaches to address them
  • Explore various model adaptation techniques, including prompt engineering, RAG, fine-tuning, agents, and dataset engineering, and understand how and why they work
  • Examine the bottlenecks for latency and cost when serving foundation models and learn how to overcome them
  • Choose the right model, dataset, evaluation benchmarks, and metrics for your needs

    Chip Huyen works to accelerate data analytics on GPUs at Voltron Data. Previously, she was with Snorkel AI and NVIDIA, founded an AI infrastructure startup, and taught Machine Learning Systems Design at Stanford. She's the author of the book Designing Machine Learning Systems, an Amazon bestseller in AI.

    AI Engineering builds upon and is complementary to Designing Machine Learning Systems (O'Reilly).

Frequently bought together

This item: AI Engineering: Building Applications with Foundation Models
$57.19
Get it as soon as Thursday, May 28
In Stock
Ships from and sold by Amazon.com.
+
$40.00
Get it as soon as Thursday, May 28
In Stock
Ships from and sold by Amazon.com.
+
$56.86
Get it as soon as Thursday, May 28
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Choose items to buy together.

Customers also bought or read

Loading...

From the brand


From the Publisher

AI Engineering: Building Applications with Foundation Models

Who This Book Is For

This book is for anyone who wants to leverage foundation models to solve real-world problems. This is a technical book, so the language of this book is geared toward technical roles, including AI engineers, ML engineers, data scientists, engineering managers, and technical product managers. This book is for you if you can relate to one of the following scenarios:

  • You’re building or optimizing an AI application, whether you’re starting from scratch or looking to move beyond the demo phase into a production-ready stage. You may also be facing issues like hallucinations, security, latency, or costs, and need targeted solutions.
  • You want to streamline your team’s AI development process, making it more systematic, faster, and reliable.
  • You want to understand how your organization can leverage foundation models to improve the business’s bottom line and how to build a team to do so.

You can also benefit from the book if you belong to one of the following groups:

  • Tool developers who want to identify underserved areas in AI engineering to position your products in the ecosystem.
  • Researchers who want to better understand AI use cases.
  • Job candidates seeking clarity on the skills needed to pursue a career as an AI engineer.
  • Anyone wanting to better understand AI’s capabilities and limitations, and how it might affect different roles.

I love getting to the bottom of things, so some sections dive a bit deeper into the technical side. While many early readers like the detail, it might not be for everyone. I’ll give you a heads-up before things get too technical. Feel free to skip ahead if it feels a little too in the weeds!

Editorial Reviews

Review

"This book offers a comprehensive, well-structured guide to the essential aspects of building generative AI systems. A must-read for any professional looking to scale AI across the enterprise."

- Vittorio Cretella, former global CIO at P&G and Mars

"Chip Huyen gets generative AI. She is a remarkable teacher and writer whose work has been instrumental in helping teams bring AI into production. Drawing on her deep expertise, AI Engineering is a comprehensive and holistic guide to building generative AI applications in production."

- Luke Metz, co-creator of ChatGPT

"Every AI engineer building real-world applications should read this book. It's a vital guide to end-to-end AI system design, from model development and evaluation to large-scale deployment and operation."

- Andrei Lopatenko, Director Search and AI, Neuron7

"This book serves as an essential guide for building AI products that can scale. Unlike other books that focus on tools or current trends that are constantly changing, Chip delivers timeless foundational knowledge. Whether you're a product manager or an engineer, this book effectively bridges the collaboration gap between cross-functional teams, making it a must-read for anyone involved in AI development."

- Aileen Bui, AI Product Operations Manager, Google

"This is the definitive segue into AI Engineering from one of the greats of ML Engineering! Chip has seen through successful projects and careers at every stage of a company and for the first time ever condensed her expertise for new AI Engineers entering the field."

- swyx, Curator, AI Engineer

About the Author

Chip Huyen works in the intersection of AI, data, and storytelling. Previously, she was with Snorkel AI and NVIDIA, founded an AI infrastructure startup (acquired), worked on GPU optimization for data processing, and taught Machine Learning Systems Design at Stanford. Her last book, Designing Machine Learning Systems, is an Amazon bestseller in AI and has been translated into over 10 languages.

Product details

  • Publisher ‏ : ‎ O'Reilly Media
  • Publication date ‏ : ‎ January 7, 2025
  • Edition ‏ : ‎ 1st
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 532 pages
  • ISBN-10 ‏ : ‎ 1098166302
  • ISBN-13 ‏ : ‎ 978-1098166304
  • Item Weight ‏ : ‎ 2.05 pounds
  • Dimensions ‏ : ‎ 6.9 x 1.1 x 9 inches
  • Best Sellers Rank: #1,880 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.7 out of 5 stars (798)

About the author

Follow authors to get new release updates, plus improved recommendations.
Chip Huyen
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

I’m Chip Huyen, a writer and computer scientist. I grew up chasing grasshoppers in a small rice-farming village in Vietnam.

I work in the intersection of AI, data, and storytelling. Previously, I built machine learning tools at NVIDIA, Snorkel AI, Netflix, and founded an AI infrastructure startup (acquired).

I also taught Machine Learning Systems Design at Stanford.

My last book, Designing Machine Learning Systems, is an Amazon bestseller in AI and has been translated into over 10 languages (very proud!).

In my free time, I like writing stories. I'm also the author of 4 Vietnamese story books.

Customer reviews

4.7 out of 5 stars
798 global ratings

Customers say

Customers find the book fantastic and a must-read for aspiring AI engineers, praising its clear concepts and detailed explanations of fundamentals. The writing is well-structured and concise, though readability receives mixed feedback, with some customers finding it easy to understand while others struggle with it. The theory aspect also gets mixed reviews, with one customer noting it focuses more on theory than practical applications.
AI Generated from the text of customer reviews

Select to learn more

38 customers mention content, 34 positive, 4 negative
Customers find the book fantastic and enjoyable to read, with one customer noting it kept them interested throughout.
This is a great book—easy to understand and very enjoyable! Thank you, Author, for creating such an engaging and clear resource. I really like it!Read more
Fantastic book. Great structure and easy to read. It’s not to learn coding. This is to understand architecture.Read more
Love this book. Very insightful and extremely helpful in breaking down many of the complex aspects of AI so they are easy to understand!!!Read more
...This book is excellent. The level of detail and range of topics was just right. With some books I've had to force myself to finish....Read more
35 customers mention informative, 34 positive, 1 negative
Customers find the book enlightening with clear concepts and consider it a fantastic resource for understanding artificial intelligence, making it a must-read for aspiring AI engineers.
The best book on AI Engineering. I enjoyed reading every page of this book....Read more
...the area, and this is what Chip Huyen manages to achieve in this comprehensive book....Read more
Yes- this is a very informative book.Read more
A dense read, but insightful. Nice work.Read more
20 customers mention detailed, 16 positive, 4 negative
Customers find the book detailed enough to understand the fundamentals, with one customer noting how it takes readers step by step through complex material.
Chip Huyen has done it again—delivering a smart, thorough guide that takes readers step by step through complex material with remarkable clarity....Read more
...Chip provides a clear explanation and shows an example. This fundamentally affects my intuitive understanding of model errors....Read more
...free - but this book is concisely pulling it together with many interesting details!...Read more
...Instead, a lot of the early chapters focus on background and technical details (sampling rates, history of AI engineering, etc.)...Read more
9 customers mention writing quality, 7 positive, 2 negative
Customers appreciate the writing quality of the book, finding it well-edited and concise, with one customer noting the author's clarity.
...sources provide a robust foundation, while her presentation style—concise, clear, and thoughtfully structured with short, easy to digest paragraphs—...Read more
...The author has an amazing writing style that is fun to read and learn from.Read more
This book is so incredibly well-organized and well-edited that it’s hard to believe it’s a first edition rather than a third or fourth....Read more
Poorly edited. Words are frequently hyphenated in nonsensical ways that a trivial editing pass would find and correct....Read more
10 customers mention readability, 6 positive, 4 negative
Customers have mixed opinions about the book's readability, with some praising its remarkable clarity and ease of understanding, while others find it difficult to read, with one customer noting that formulas are impossible to decipher.
...in breaking down many of the complex aspects of AI so they are easy to understand!!!Read more
A dense read, but insightful. Nice work.Read more
...provide a robust foundation, while her presentation style—concise, clear, and thoughtfully structured with short, easy to digest paragraphs—creates...Read more
A struggle to read, a very dry text....Read more
6 customers mention theory, 4 positive, 2 negative
Customers have mixed opinions about the book's theoretical content, with some appreciating its coverage while others find it overly theoretical.
...Chapters discuss theory, production, and business, with a ton of citations and visuals throughout.Read more
The Kindle version has significant issues. It doesn’t preserve mathematical formulas — all symbols get inlined, making the formulas impossible to...Read more
...This fundamentally affects my intuitive understanding of model errors....Read more
More Theory Than Practical...Read more
Awesome pick!
5 out of 5 stars
Awesome pick!
Very detailed and well explained! Anyone with basic knowledge of Computer Science can read this book. I just finished the first chapter. This book gives a high level overview of AI application development.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

  • 5 out of 5 stars
    Awesome pick!
    Reviewed in the United States on March 22, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Very detailed and well explained! Anyone with basic knowledge of Computer Science can read this book. I just finished the first chapter. This book gives a high level overview of AI application development.

    Awesome pick!
    5 out of 5 stars
    Awesome pick!
    Reviewed in the United States on March 22, 2026

    Very detailed and well explained! Anyone with basic knowledge of Computer Science can read this book. I just finished the first chapter. This book gives a high level overview of AI application development.

    3 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Very helpful in breaking down complex AI aspects!!
    Reviewed in the United States on May 5, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Love this book. Very insightful and extremely helpful in breaking down many of the complex aspects of AI so they are easy to understand!!!

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Best to start with!
    Reviewed in the United States on May 9, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Reading this book was fun and helped me connect dots of concepts that hitherto felt like just buzz words. After reading this book, I was prepped enough to read on higher level books. Highly recommended if you're just starting to learn AI and LLMs.

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Well-written, comprehensive, and authoritative
    Reviewed in the United States on January 20, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    In academia, there is the concept of a "review article" -- it summarizes and organizes the major research findings into a framework that makes it easy to come up to speed on a topic. Frequently, the review articles themselves end up defining the area, and this is what Chip Huyen manages to achieve in this comprehensive book. The quality of the writing and diagams are uniformly high -- Chip uses simple language to great effect.

    I think of myself as being somewhat up to date, but I have learned something new every chapter and not just minor details. For example, I had missed the Deep Mind paper pointing to "self-delusion" as the reason for hallucinations. Chip provides a clear explanation and shows an example. This fundamentally affects my intuitive understanding of model errors.

    Of course, there's a danger with writing a review of a fast moving field. Just today, DeepSeek published an article showing that they can avoid SFT altogether and do just train a model on preferences, alphago-style. If this takes off, Chapter 7 will need a second edition.

    Strongly recommend this book. It's invaluable for anyone building applications using GenAI models.

    Well-written, comprehensive, and authoritative
    5 out of 5 stars
    Well-written, comprehensive, and authoritative
    Reviewed in the United States on January 20, 2025

    In academia, there is the concept of a "review article" -- it summarizes and organizes the major research findings into a framework that makes it easy to come up to speed on a topic. Frequently, the review articles themselves end up defining the area, and this is what Chip Huyen manages to achieve in this comprehensive book. The quality of the writing and diagams are uniformly high -- Chip uses simple language to great effect.

    I think of myself as being somewhat up to date, but I have learned something new every chapter and not just minor details. For example, I had missed the Deep Mind paper pointing to "self-delusion" as the reason for hallucinations. Chip provides a clear explanation and shows an example. This fundamentally affects my intuitive understanding of model errors.

    Of course, there's a danger with writing a review of a fast moving field. Just today, DeepSeek published an article showing that they can avoid SFT altogether and do just train a model on preferences, alphago-style. If this takes off, Chapter 7 will need a second edition.

    Strongly recommend this book. It's invaluable for anyone building applications using GenAI models.

    28 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 4 out of 5 stars
    Great comprehensive book on the subject
    Reviewed in the United States on April 16, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Great comprehensive book on AI engineering. This book simplifies the concepts and techniques of advanced AI development with practical applications across Generative AI

    One person found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Best Tech book of 2025!
    Reviewed in the United States on March 3, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    A bit pricey to what I usually buy, but I can confidently say "You get what you pay for"! I am so jealous of the author's clarity and easy tone that somehow manages to convey an impressive amount of information. In technical writing, if it looks easy, it certainly wasn't!

    If I survive the technopocalypse, I look forward to reading more of Chip's books!

    3 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    A must read for everyone in IT!!
    Reviewed in the United States on March 2, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Can't describe in words how important this book is in today's tech landscape. It covers all required ground required to learn GenAI concepts in detail with ease.

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    The best intro to AI engineering I've encountered
    Reviewed in the United States on November 5, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    It's always daunting to pick up a technical book that's over 500 pages long or 21 hours long. However, this book did not disappoint. Not every section, of course, addressed my particular needs. However, the entire treatise was clearly communicated with a broader technical audience in mind. That should be no surprise because Chip Huyen, besides being an AI expert, taught graduate school classes in AI at Stanford and writes science fiction as a side hobby. This book is simply the best technical introduction I've encountered to date.

    The book starts with high-level concepts about AI, which would be accessible to all sorts of scientific folks. Then it focuses on technical topics that are of most interest to engineers. It does an excellent job of centering around concepts first and not being wedded to particular technologies which will soon change. I valued the insights so much that, after listening to the audiobook, I even bought a paper copy to have for a reference.

    I plan to continue to read about AI engineering, but given that I haven't taken formal coursework in the topic, this book served as an equivalent to a graduate school class to give me confidence to dive deeper. Although some math were presented, the audiobook was incredibly accessible, unlike with some technical books. For those who spend time commuting in cars, I recommend listening to the text if you don't have time to flip through a paper book.

    Overall, this book raised my game significantly about AI. Where other books obscure with technical jargon, this book enlightens with clear concepts. I still need to brush up on a few focused topics to ready myself for a project, but I'm much more fluent about the ideas than before. I highly recommend this in-depth introduction, at least for the next few years until the field outpaces our knowledge once again.

    17 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.

Top reviews from other countries

    Translated by Amazon
    See original
  • 5 out of 5 stars
    نسخه جيده وطباعه واضحه سهل الفهم وثري بلمعلومات
    Reviewed in Saudi Arabia on April 8, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    كتاب رائع تغليف جيد والورق والكتابه واضحه سرعه بشحن وتوصيل المعلومات فيه قيمه جدا جدا دخفت دورات كثير ماأستفدت زي هذا الكتاب أنصح فيه وبشده مممتع جدا وسهل الفهم

    Sending feedback...
    Thanks, we'll investigate in the next few days.
    Translated from Arabic by Amazon
    See original
  • 5 out of 5 stars
    amazing book
    Reviewed in Brazil on April 21, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I still need to learn more technical things to be able to understand all knowledge that this books brings but I learned a lot and will use as guide on this process. I strong recommend to anyone that want to start and don’t know where start

    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Great overview
    Reviewed in Canada on June 13, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    The central idea of the book is that foundation models have become so powerful and expensive to build that, instead of training models, many organizations might be better off creating applications on top of them. The book covers evaluation, guardrails, security, finetuning, context construction, inference optimization, user feedback and architecture.

    The level of detail is excellent: we're looking under the hood just enough to understand what's going on, but keep that high level perspective that allows the book to give a overview of a broad topic in just 500 pages.

    I highly recommended this book to engineers looking for an overview of AI engineering — as opposed to ML engineering, which might be too low-level for them and be more relevant for data scientists.

    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Book and delivery are good
    Reviewed in Singapore on May 8, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Fantastic book and great and timely delivery

    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Broad overview of AI Engineering
    Reviewed in Italy on November 3, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    The book had exactly the level of depth I needed. I’m coming from the data engineering side and needed some complete overview of AI Engineering. The book gave a complete coverage of the key topics while still going with some details (but avoiding the non-necessary technicalities). The reference are really valuable and worth the de-tour while reading.

    Sending feedback...
    Thanks, we'll investigate in the next few days.