HOW TO ADD AITO YOUR APPwithout breaking what already pays.
The lazy way to add AI is a chat box in the corner, opened once and left alone. The features customers pay for remove a step they hated. How to find that step, where a model breaks inside a product, what it costs to run, and the checks that stop each break.
Most advice on how to add AI to an app starts with the model. Start with the step your customer hates. The lazy way is a chat box in the corner, opened once out of curiosity and left alone. The AI features customers pay for are quieter. A search that understands the question. A contract read before the customer has found the file.
A model inside a product fails in ways ordinary software never does. It answers wrongly and sounds sure. It bills you for every question. It makes people wait, it sends your customers' records to another company, and one day its maker switches it off. What follows is where each break happens, and the checks that stop each one before a customer meets it.
- list price of the newest top model against the smallest, at two major providers
- 80×
- the least notice one major provider gives before a public model is switched off
- 60days
- prices invented by AI in our own brief builder
- 0
Provider figures as listed on 3 December 2026; sources at the foot. The last is our own product's.
A CHAT BOXis the feature nobody opens.
A chat box is the easiest AI feature to add and the easiest to ignore. It hands the customer new work. Think of a question, type it, read the answer, then check the answer in the product anyway. Customers soon decide the old way was quicker.
The feature worth building sits inside a job the customer already does, at the step they resent. Watch a customer for an afternoon and it announces itself. The search that never finds the right file. The forty-page contract read for one clause. The same figure copied from an email into a form, every morning. The support reply typed for the hundredth time.
Find what a contract says about notice
Todayby hand
- Open the folder
- Guess a search word
- Open five files
- Read until it turns up
- Copy the clause
- Paste it into the reply
6 steps
A chat boxbeside the product
- Open the chat
- Ask the question
- Read a sure answer
- Open the files to check it
- Read until it turns up
- Copy the clause
- Paste it into the reply
7 steps
A featureinside the search
- Search “notice period”
- The clause, quoted, with its file and page
- Paste it into the reply
3 steps
One job done three ways. The chat box adds steps, because nobody trusts its answer without opening the file. The feature inside the search takes three away, and it quotes its source, so nobody has to open the file to check.
An illustration; the steps are our drawing.
Then pick the rung. AI features climb a ladder, and every rung up removes more of the customer's work and costs more when it is wrong.
Search that gets the question
Removes guessing the right word
When wrong a worse list; the customer scrolls on
Risk 1 of 5
Summaries
Removes reading all of it
When wrong a missed point, taken for the whole
Risk 2 of 5
Reading documents
Removes typing the fields in by hand
When wrong a wrong figure in a record, kept for years
Risk 3 of 5
An assistant that answers
Removes the wait for support
When wrong a promise your company has to keep
Risk 4 of 5
An assistant that acts
Removes the clicks themselves
When wrong a change in an account that nobody asked for
Risk 5 of 5
Search and summaries fail gently: a worse result is still a result, and the source is one click away. The assistants on the top rungs earn the most and fail the loudest.
Our own scale of risk. The top rung is what OWASP calls excessive agency, a model allowed to do more than its job needs.1
Start on the first or second rung and climb only when the rung below has earned it. An assistant that acts in a customer's account comes fourth, after three that earned it.
HOW TO ADD AITO AN APP,and where it breaks.
Follow one question through your product. The customer asks. Your app adds what the model needs to know, often that customer's own records. The request leaves your servers for the provider's, the model writes an answer, and the answer comes back. Ordinary software breaks where a programmer slipped. A model breaks at five points on this path, and four of them have nothing to do with your code.
- 1
Wrong, and sure of it
The answer reads well and is false. Your customer cannot tell.
- 2
A bill on every call
Each question costs money. So does each retry.
- 3
A wait
The answer takes seconds. The old search took none.
- 4
Data leaves
Your customers' records cross to another company's servers.
- 5
Switched off
The provider retires the model on a date it picks.
- ✓
The checks
A scored test set, a fallback, a cost ceiling, and logs a person reads.
Our drawing. Each break is set out below, with its sources.
01Wrong, and sure of it
A model does not know when it does not know. It writes a false answer in the same calm voice as a true one, and your customer cannot tell them apart. OWASP, the open security project, ranks misinformation among the ten main risks of software built on these models.1
A British Columbia tribunal put a price on it in February 2024. Air Canada's website chatbot told a grieving passenger he could claim the bereavement fare back after buying his ticket. The airline refused the claim and argued that the chatbot was responsible for its own words. The tribunal held that the chatbot was part of Air Canada's website and found the airline liable for what it said.2 Whatever your product says, you said.
02A bill on every call
Ordinary software costs about the same whether a customer clicks once or a thousand times. A model is billed on every call, by the token. Anthropic3 and OpenAI4 both list their smallest models at $0.10 per million tokens read and their newest top models at $8, 80 times as much. A customer on a flat monthly plan who asks two hundred questions costs ten times one who asks twenty.
03A wait
A model writes its answer a few words at a time, and a long answer takes seconds. The old search answered before the finger left the key. Put a slow answer in the way of a quick job and customers drift back to the old way. Providers sell a cache for the parts of a request that repeat, which cuts the wait as well as the bill.3
04Data that leaves
To answer about a customer's contract, the model has to read the contract, so the contract leaves your servers. Read the provider's terms before the first call. OpenAI says it does not train on data sent through its API unless the customer opts in, and keeps abuse-monitoring logs for up to 30 days by default.5 OWASP ranks prompt injection first, text hidden in a document that gives the model orders of its own, and sensitive information disclosure second.1 The fix is in your app. It sends the model only what this one customer may see.
05Switched off under you
Models are retired on the provider's calendar. Anthropic told developers on 30 September 2026 that Claude Sonnet 4.5 would go, and switched it off on 30 November; it promises at least 60 days' notice for a public model, and calls to a retired one fail.6 OpenAI shuts GPT-4o and GPT-4.1 on 14 January 2027, three months after its notice.7 The replacement differs in the particular, and the particular is where your feature lives.
THE METERruns on every question.
Price the running cost before you price the build. Multiply questions a month by tokens a question by the model's list price. A token is a piece of a word; by Anthropic's own count an average web page comes to about 2,500 of them.3
Short answerreads 3,000 tokens, writes 400
- Small model$10 a month
- Middle model$200 a month
- Newest top model$800 a month
Whole documentreads 30,000 tokens, writes 400
- Small model$64 a month
- Middle model$1,280 a month
- Newest top model$5,120 a month
A month of one feature for every 1,000 customers who use it, on each tier of model, for a short answer and for a document read whole. Each mark on the ruler is ten times the last.
Our estimate, from Anthropic's3 and OpenAI's4 list prices on 3 December 2026, the same at each tier. Assumptions: 20 questions per customer a month; a short answer reads 3,000 tokens and writes 400; a document answer reads 30,000 and writes 400. No cache, no bulk discount, no tax.
The same short answer costs about $10 a month on a small model, $200 on a middle one and $800 on the newest top model, and reading whole documents multiplies each by about six. At the top that is $5,120 a month for every thousand customers, on a feature many of them will use without a thought.
So the tier is the biggest decision in the feature, and the test set in the next section should make it: use the smallest model that passes. A cache helps where the instructions and documents repeat; Anthropic charges a tenth of the normal price for repeated input on most of its models.3 And because a flat subscription hides a variable cost, the ceiling is set before launch, per customer and per month, along with what the product says when it is reached.
The cheapest model that passes your test set is the right one.
FOUR CHECKSbefore a customer sees it.
None of the five breaks is rare, and none is a reason to leave AI out. Each has a check, and every check is cheap next to a wrong answer in front of a paying customer.
01A test set, scored before launch and after every change
Collect the questions your customers really ask, a few hundred if you have them, each with the answer a person who knows the product would accept. Score the feature against all of them before launch, and again after every change of prompt, model or documents. The providers say the same. Anthropic's own guide asks for tests that mirror the real mix of questions, edge cases included, graded automatically wherever possible.8
| Question a customer really asked | Beforeold model | Afternew model |
|---|---|---|
| Can I get a refund after 30 days? | passed | failed |
| How do I add a colleague to my account? | passed | passed |
| What does the Pro plan include? | passed | passed |
| Why was I charged twice? | failed | passed |
| Can I export all my data? | passed | passed |
| Is my data stored in the EU? | passed | failed |
| How do I cancel? | passed | passed |
| How many requests a minute does the API allow? | failed | passed |
| Can I change the address on my invoices? | passed | passed |
| Does it connect to my accounting software? | passed | passed |
| Passed | 8 of 10 | 8 of 102 broke |
The total holds at eight of ten. Underneath it, two answers that passed now fail, and one of them is the refund question. A dashboard showing the average would have let this change ship.
An illustration of how a test set is read; the questions and scores come from no real product.
02A fallback
Decide what happens when the model is slow, down, retired or unsure. The fallback is the product as it was: the old search or the form. Built that way, a failed call costs the customer a few seconds and nothing more.
03A cost ceiling
A limit per customer and per month, written into the app, with a plain message when it is reached. Nobody meets the bill for the first time at the end of the month.
04Logs a person reads
Keep every question and answer, with private details removed, and have someone who knows the product read a sample every week. A dashboard counts calls; only a person who knows the product hears the answers going wrong, and adds them to the test set.
| The break | What stops it | When |
|---|---|---|
| Wrong, and sure of it | The test set; answers that quote their source | Before launch, after every change |
| A bill on every call | The smallest model that passes; a ceiling per customer | Set before launch, read monthly |
| A wait | A smaller model, a cache, the fallback | On every call |
| Data that leaves | Only what this customer may see is sent; the provider's terms read | Designed in, checked by a person |
| Switched off | The test set run on the replacement; the fallback | On the provider's notice |
The checks, as this article sets them out.
HOW WE BUILDan AI feature into yours.
We build one AI feature into a product that already has customers, in its look and its words, and leave the rest as it is. That is our AI integration service. The scope comes first, in writing: what the feature does, what it may read and what it must never do. The price is fixed once the scope is agreed, and a person checks the data it can reach and how it answers before your customers do.
Our own products draw the same line. In the brief builder, our AI sales assistant, the model returns only the scope of a project, and a pricing engine written as plain software turns scope into money; its rules were tested before any model was plugged in.9 It asks 8 questions and returns a draft in about 4 minutes.
Anything that must be exact, we write as plain software.
SoulOne, a decision aid for life choices, shows every conclusion it draws about a person with its reasons and how sure it is, and lets the person mark it wrong.10 In SkillClash, the learning app, the coach is always marked as AI.11
If you sell software, AI features for SaaS products sets out how we work on a product already in use. Our engineers decide what the feature may do, read every change and sign off its answers, with tooling of our own for the hand work. Which models we use and what happens to your data is set out on our page on your data, code ownership and the models we use.
WHERE ITstops working.
The advice above fits a product people already use. Here it is wrong, or not enough.
Nobody uses the product yet
With no customers there is no hated step to remove and no real questions for a test set. Build the product first and watch people use it; the AI feature comes after.
The answer must be exact every time
Prices, tax, doses, legal deadlines. A model can find the rule and explain it; plain software must do the sum. If the whole feature is the exact answer, leave the model out.
The data may not leave your servers
Some contracts and regulators forbid sending records to any provider. A model run on your own servers is possible, smaller and weaker. Test it against the same set before you promise anything.
The volume dwarfs the value
Millions of tiny requests that earn nothing each. Tag every message with a model and the meter eats the margin. Run a small model overnight in batches, or use none.
ASKEDoften.
- How do I add AI to my app?
- Find the step your customers hate, pick the lowest rung of feature that removes it, and write down what the model may read and must never do. Build a test set of real questions before launch, add a fallback and a cost ceiling, and have a person read the logs every week.
- How much does it cost to run AI in an app?
- It is billed per call. At list prices on 3 December 2026, our estimate for 1,000 customers asking 20 short questions a month runs from about $10 on a small model to about $800 on the newest top model. Reading whole documents costs about six times more.
- Does OpenAI train on API data?
- OpenAI says data sent through its API is not used for training unless you opt in, and keeps abuse-monitoring logs for up to 30 days by default. Other providers' terms differ; read the one you use. Whatever the terms say, send the model only what that one customer may see.
- What happens when an AI model is deprecated?
- Requests to it fail. Providers give notice, Anthropic at least 60 days for a public model. Run your test set against the replacement before switching, and keep a fallback, so a failed call costs the customer a few seconds and nothing more.
- Do I need to rebuild my app to add AI?
- No. An AI feature is built into the product you already run, in its look and its words. The rest stays as it is.
Sources
Where the figures in this article come from, and when they were true.
OWASP Top 10 for LLM Applications, 2025
The open security project's list of the ten main risks in software built on language models: prompt injection first, sensitive information disclosure second, excessive agency sixth, misinformation ninth, unbounded consumption tenth.
A law firm's account of a small-claims decision of the British Columbia Civil Resolution Tribunal, 14 February 2024. The tribunal's own page refused our request; this is the account we read.
Pricing: model prices per million tokens, prompt caching, batch processing
List prices in US dollars, before any volume discount. Smallest model (Haiku 5.5) $0.10 in and $0.50 out per million tokens, for prompts under 100,000 tokens; Sonnet 5.5 $2 and $10; the newest top model (Fable 5.2) $8 and $40. Older top models (Fable 5.1, Fable 5) are listed dearer, at $10 and $50.
List prices in US dollars, short context. gpt-6-luna $0.10 in and $0.50 out per million tokens; gpt-6.2-sol $2 and $10; gpt-6.2-astra, the newest top model, $8 and $40. Older ones are listed dearer (gpt-6-astra $10 and $50).
Data controls in the OpenAI platform
The provider's own statement of its terms. Other providers' terms differ; read the one you use.
Notified 30 September 2026, Claude Sonnet 4.5 retired 30 November 2026. At least 60 days' notice for publicly released models; requests to a retired model fail.
Notice dated 14 October 2026: GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini shut down on 14 January 2027.
Define success criteria and build evaluations
A provider's own guide to testing a model on your task: mirror the real mix of questions, include edge cases, grade automatically where possible, prefer many questions to few.
PlayLab brief builder case study: prices set by plain software, never the AI
Our own tool. 0 prices invented by AI.
SoulOne case study: decision help that shows its working
The product is live at soulone.ai.
SkillClash case study: a learning app with an AI coach
The app is live at skillclash.app.
Read next
All articlesVIBE CODING AGAINST PRODUCTION, what breaks, and the checks that stop it.
Vibe coding risks in plain words: what studies of AI-generated code security found, what breaks when real users arrive, and the checks that stop it.
WHAT IT COSTS TO BUILD AN APP IN 2026. An agency's hours against a fixed price.
How much does it cost to build an app in 2026? Clutch's agency averages, our products' real build times and budgets, where the money goes, and the limits.
AI-NATIVE SOFTWARE DEVELOPMENT, what it costs and how we build it.
AI-native software development explained: how a senior studio builds with its own tooling, what it costs against a traditional agency, and where it stops.