You are the product manager for a luggage brand's site relaunch, and the "ask us anything" box on the help page is your feature; it has been live for eleven days. At 11:42 one night, your support lead pastes a transcript into the team channel and asks who approved the wording. A customer named Priya had typed: "Can I pack my 100Wh power bank in my checked bag for tomorrow's flight?" The box replied: "Yes! Power banks up to 160Wh are approved for checked baggage on all major airlines. Pack it near the top for easy inspection." Airlines require spare lithium batteries to travel in the cabin, so that answer risks a confiscated bag or a battery fire in the hold. Nothing in the box checks airline policy. The box is one call to a model, and the model returned the sentence that sounded most plausible, with your logo above it.
The coding agent that built the box does not answer in it
The transcript hurts more because the build had gone so well. You put the box together in an afternoon with a coding agent, a program that edits the files in your project and runs commands for you: you described the feature, it wrote the form, the endpoint (the address on your server that receives the question) and the model call, and you read every line before accepting it. After weeks of working that way you trust the agent, and you earned that trust: you reviewed every output before it could cost anything.
But the agent is not part of what you launch. By the time Priya typed her question, the agent's work had become ordinary code, and what answered her was a different system: a model your site calls, meaning it sends a request to the provider (the AI company whose model you rent) through the provider's API (its front desk for requests) while she waits. Your code sent that model a one-line prompt ("You are a helpful assistant for our store. Answer customer questions."), and the model's output reached her screen unreviewed.
The AI that helped you build your site and the AI inside your site are two different systems, and the trust you built with the first does not carry over to the second: everything the first produces goes to you, and everything the second produces goes to your users.
The difference between them is not how they bill. Coding agents are also billed by usage, and an agent left running on a long task keeps running up charges after you leave your desk. What separates the two systems is who receives the output. Everything the build-time agent produces reaches you, a reviewer who knows the context and can reject it, while everything the run-time model produces reaches whoever asked. Priya read her answer without any of your context, and it came with the full authority of your brand.
The AI feature you chose in Decide whether your site needs AI, and give the model one job uses the second system, a run-time model. You built the running-club site with the first system, the agent, and you reviewed its work before any member saw it. A member who types a question into the club's support assistant reads the answer before anyone at the club does.
The drawing shows the two systems as two bands. In the top band, while you build, you and your coding agent (the drawing labels it build-time AI and coding assistant) write the code that becomes your app. In the bottom band, while people use it, your app runs on a host (the company whose computers run your site) and sends a request to the run-time AI, the model behind an API, and the response comes back to your app, which answers your user.
Our fridge feature, end to end
We run the second kind of AI in our own app. FuelTheFam is our family nutrition app, and its fridge feature uses a model in the same position as the luggage box: you take a photo of your fridge, the app sends the photo to a multimodal model (one that accepts images as well as text), and a shopping list comes back while you wait. Everything that made the luggage brand's box dangerous is true of this feature too, so we will take it apart.
It is billed per use. The call that sends the photo follows the route set in Backend, where the real work happens: the app sends the photo to our server, and our server attaches the API key (the secret that tells the provider which account to bill) and sends the request to the model. One list costs less than a cent at current mid-tier rates (the price of a provider's middle model). How often we pay that amount matters more than the amount itself: our account is charged every time anyone takes a photo, so we pay for how much people use the feature, not for how much work we put in, and our costs rise fastest when the feature succeeds. Prices change too quickly to print in a chapter, so current numbers live in the Playbook's cost section.
Its output reaches users unreviewed. Nobody on our team reads a shopping list before the user sees it. Putting a person in between would defeat the purpose of a list that arrives while you stand at the open fridge. So we build the checks into the call before we launch: the fridge prompt tells the model to return only items visible in the photo, and to ask for a retake instead of guessing when the photo is unreadable. During the build, we caught the clearest example when we asked for a plain list of items and the model returned "Sure! It looks like you have milk, a dozen eggs, and some spinach in there," a reply that is easy for a person to read and breaks any code expecting a list. Elsewhere in the same app the stakes are higher: a confidently wrong nutrition estimate for a photographed dinner plate tells a parent their underfed kid is fine, so we built the app to stop estimates like that from ever appearing. When no person checks the model's output before the user sees it, you have to build the review into the feature itself.
It answers strangers. While we built the feature, we chose every input: our own fridges, decent light, groceries we recognized. In production (the live app that real users reach), the input comes from whoever taps the button, and that can mean a fridge photographed in the dark, a shelf of unlabeled leftovers, or a photo with no fridge in it at all. The model produces a response to whatever it is sent, and once the app is live we no longer choose what it is sent. The retake rule handles photos the model cannot read, and it is a decision we made about the app, not a model setting.
It is fair to ask why the trust does not carry over, since the two systems are often the same technology, sometimes the very same model. The answer has nothing to do with the model. During the build, every output went past a reviewer who could reject it, so what you learned to trust was never the model alone; it was the model plus you reviewing its work. Your site runs the same process with no reviewer at all. The same kind of model that writes an endpoint cleanly while you review it returned our "Sure! It looks like..." reply as soon as our code, instead of one of us, was reading the output.
Treat the model as a part you specify, not a coder you hired
Because the model inside your site works with no reviewer, the chapter title calls it a part. "Adding AI" sounds like hiring an assistant, but what you actually do is connect a specific model to a specific spot in your site, give it a narrow job, and take responsibility for what it sends to strangers, the same way you are responsible for what your database returns. You can write a specification for a part, and in the chapters ahead you do that in a fixed order: make your first call, write the prompt as exact instructions rather than vague hopes, force the output into a structure your code can parse (read as data), and then give the model the facts and the tools it lacks. Fine-tuning, training a model further on your own examples, comes last, because each earlier step is cheaper and easier to undo. This part calls the order of those changes (instructions, then facts, then tools, then fine-tuning) the customization ladder, and each step on it a rung. The fridge feature runs on a prompt and a schema with one field (a schema is the written list of fields your code expects back), and most first features need no more than that.
Try it now
The drill takes fifteen minutes and costs nothing. You bring the one-pager v1 you wrote in Decide whether your site needs AI, and give the model one job, and you leave with your Component Spec, two lines added to that one-pager: one stating the model's job in your feature and who calls it, and one stating who pays for each call and what reaches a stranger without review.
No setup: Write the fridge feature's spec first, as a worked example: "A multimodal model turns a fridge photo into a shopping list; our server calls it every time a user takes a photo, and the API key stays on the server" and "Each call charges our account under a cent, and the finished list reaches the user with nobody reading it first." For the running club's support assistant, the same two lines read: "A model writes the answer to a signed-in member's question from the club's own facts; the club's server calls it every time a member sends a message, and the API key stays on the server" and "Each answer charges the club's account about a cent or less, and the member reads it before anyone at the club does." Then open your one-pager and write the same two lines for your own feature. If you cannot answer one part yet (who calls the model, who pays, what reaches a user unreviewed), write the question in its place, because a question you cannot yet answer is more useful than a guess.
With your tools: Open Claude Code in the folder that holds your one-pager, paste your two lines, and ask it to challenge them: "Here is the model's job in my feature, who calls it, who pays, and what reaches a user unreviewed. What am I missing?" Revise until both lines hold up against its questions. Same move in Codex or Cursor: paste the lines into the sidebar chat and ask it to challenge them. If nothing is installed yet, the Setup Clinic gets you to a working session.
Chapter Summary
- The AI that helped you build your site and the AI inside your site are two different systems: the first sends its output to you, and the second sends its output to your users.
- How they bill does not separate them, because coding agents are also billed by usage and an agent left running keeps running up charges after you walk away; what separates them is who receives the output.
- A run-time model charges your account on every use, so you pay for how often people use the feature, and your costs rise fastest when it succeeds.
- Run-time output reaches users unreviewed: nobody on our team reads a FuelTheFam shopping list before the user does, so you build the review into the feature before you launch.
- Run-time input comes from strangers, so decide what the model must never send and make the feature enforce it, the way our fridge feature asks for a retake instead of guessing.
- A fluent, confident reply is not evidence of a correct one; the model returns wrong answers in the same confident tone as right ones, under your logo.
- The trust you built while steering a coding agent came from a process with you reviewing every output, and it does not carry over to your site, where the output goes out unreviewed.
- Your Component Spec now records, in two lines on the one-pager, the model's job, who calls it, who pays per call, and what reaches a stranger unreviewed.
- Next, in Make your first model call, you put a real request and a real reply on your own screen.
Sources
- FAA PackSafe guidance on lithium batteries: spare lithium-ion batteries and power banks are prohibited from checked baggage and must travel in the cabin (last verified July 2026).
- Anthropic and OpenAI developer and pricing documentation on metered API usage and usage-billed coding agents (last verified July 2026).
- FuelTheFam (fuelthefam.com), our live family nutrition app; the fridge feature dissected in this chapter ships there.