Guides

How much does it cost to add AI to an app?

By the Bytes2Pro team · Updated · 8 min read

Adding AI to an app has two bills: the build, which grows with what the AI is allowed to do, and the running cost, which providers charge per token of text in and out. Retrieval, agents, evaluation and human review each add to both. Bytes2Pro scopes AI features so the running cost has a ceiling, as with the per-user spend limits in Otto AI.

What are you paying for when you add AI?

You pay once to build the feature and every month to run it, and the two move differently. The build cost grows with what the AI is allowed to do; the running cost grows with how many people use it and how much text each request carries. Bytes2Pro scopes both before quoting. Cheap to build can still mean expensive to run.

Each layer in the table adds to both bills. Most products need the first one only; an assistant that acts for users, like Otto, needs all five.

LayerWhat drives the buildWhat drives the running costWhere we've built it
Model callsPrompts, model choice, error handlingTokens in and out per request, times requestsOtto AI, routed through OpenRouter
RetrievalIndexing your data, keeping it currentEmbeddings, storage and the extra text in each promptOtto's search by meaning across every message
AgentsTools, permissions and integrationsSeveral model calls per taskOtto's routines; Sitesmith's research to deploy pipeline
EvaluationA test set of real cases and a way to score themRunning the tests on every changeSitesmith's vision review; Agav on Terminal-Bench 2.1
Human reviewApproval screens, queues and audit trailsPeople's timeOtto's confirm before send; Tavi's approvals in Slack

How is model and API usage priced?

Model providers charge per token, a small piece of text, usually quoted per million tokens. OpenAI's and Anthropic's pricing pages both price input tokens and output tokens separately, and output costs several times more than input. A feature that writes long answers costs more to run than one that reads a lot and answers briefly.

Prices change often, and the providers' own pages are the place to check today's numbers. This guide describes how the pricing is built, which changes far less: per token, input and output apart, discounts for caching and batching, and extra charges for hosted tools. Bytes2Pro estimates a feature's running cost from that structure and a realistic count of requests per user.

Both providers also discount repeated and non-urgent work. Anthropic prices a cache read at a tenth of the base input price on most models, so a long instruction or document reused across requests gets much cheaper after the first one. Both offer a batch API at half the standard price for requests that can wait. Tools carry their own charges: web search on either platform is billed per search, on top of the tokens it adds.

OpenRouter, which Otto AI uses, puts many providers behind one API. Its documentation says it passes through the providers' prices with no markup on inference, and charges a fee when you buy credits. Bytes2Pro routes every Otto request to the right model through it, with spend limits per user, so one heavy user can't run up the bill.

Which AI features cost the least to build and run?

Features that read and sort cost the least, and features that act cost the most. Bytes2Pro sorts every AI idea into one of four kinds on the first call, because the kind predicts both bills better than the model does.

Kind of featureBuild effortRunning costHuman reviewExample from our work
Sort, tag or extractLow: one prompt, a fixed output shapeLow: short outputs, small models workRarely neededCloud Vision reading Clutter Sale's listing photos
Write from inputsModerate: prompts, retries, editing screensModerate: longer outputsThe user edits before publishingClutter Sale's AI-written listings; Travo's AI place cards
Answer from your dataHigher: retrieval and an index kept currentHigher: every answer carries retrieved textShow where the answer came fromOtto's search by meaning; Float's AI companion
Act for the userHighest: tools, permissions, guardrailsHighest: several calls per taskRequired before anything hard to undoOtto's assistant; Tavi in Slack

What does retrieval add to the cost?

Retrieval lets the AI answer from your data, and it adds an index to build and keep current. Each document is turned into embeddings, priced per token. Then the index has to be stored, updated every time the data changes, and searched on each request before the model sees anything. The passages it finds go into the prompt, so every grounded answer carries more input tokens than a bare one.

Otto's search by meaning across every message is retrieval over a whole mailbox, which means indexing new mail as it arrives from Gmail and Outlook. Float, a personal finance app we designed and built, has an AI companion that answers from the user's own numbers. Hosted options price the storage too: OpenAI bills file search storage per gigabyte per day. Bytes2Pro decides early whether retrieval needs a separate vector store or can live in the database the product already has.

Why does an agent cost more than a chat feature?

An agent costs more because one task becomes many model calls. It reads the request, picks a tool, reads the result, decides the next step and repeats. Each round trip carries the conversation so far, and each tool definition adds input tokens to every request; Anthropic's pricing page lists the extra tokens that tool use adds per model.

The bigger cost is in the build. Every tool an agent can use is an integration with its own permissions and failure cases. Otto's assistant searches, drafts, schedules and files through the Gmail and Outlook APIs, and its routines and automations run on their own. Tavi, an AI go-to-market agent we designed and built for the Tavi team, reads and updates Salesforce, email and calendars from Slack. Sitesmith, an internal tool built for WorkIPO, researches a local business, writes and builds its site, checks it and deploys it to Cloudflare Pages.

Bytes2Pro prices an agent by its tools: how many, what each can change, and what happens when one fails halfway through a task.

What does evaluation cost, and can you skip it?

You can't skip it, because without evaluation nobody knows whether a prompt change made the product better or worse. Evaluation means a set of real cases with known good outcomes, run against the AI on every change and scored. Building that set is work, and running it costs tokens, though batch pricing halves that for tests that can wait.

Evaluation can also run in production. In Sitesmith, a vision model reviews every site before a person approves it, so a broken layout is caught before it ships. Agav, a terminal coding agent we built with the Agav team, works across seven model providers and scores 84.7% on Terminal-Bench 2.1, a public benchmark. Bytes2Pro puts the scoring in the scope from the start, so the first prompt change already has something to be measured against.

Where should a person stay in the loop, and what does that cost?

A person should approve anything the AI does that is hard to undo: sending, paying, deleting, publishing or changing records. Building that approval step costs screens, a queue and a record of who approved what. Skipping it costs more, the first time the AI gets it wrong in front of a customer.

Bytes2Pro builds the approval where people already work. Otto's assistant drafts in the real compose window and waits for you to confirm before anything is sent. Tavi sends every Salesforce change for approval in a Slack message first. Sitesmith has a person approve each site after the vision model's review. CSI Global's AI video-screening room is tied to each job description, and recruiters make the decisions.

How do you keep the running bill under control?

Put a ceiling on it in the design, before launch. Bytes2Pro uses the same few controls on every AI product:

  • Spend limits per user, as in Otto, so the bill grows with your users and never with one user
  • The right model for each job: a small, cheap model for sorting and tagging, a larger one only where the answer needs it
  • Caching for long instructions and documents that repeat across requests
  • Batch pricing for work that can wait, such as overnight processing and evaluation runs
  • Plans and credits that match what the AI costs to run: Otto sells them through Paddle on the web and RevenueCat in the apps
  • Analytics on every AI feature, through PostHog, so you can see which features earn their running cost

What raises the AI bill after launch?

The running cost drifts upward unless someone watches it, and the causes are predictable. Bytes2Pro puts each of these on the list to check when an AI feature ships:

  • Prompts that grow: conversation history, longer instructions and more retrieved text all add input tokens to every request
  • Retries: a failed or malformed response that's called again costs twice
  • Free plans used heavily: without spend limits per user, a few accounts can account for much of the bill
  • Model retirements: providers retire older models, as Anthropic's pricing page shows for several, so prompts get re-tested on the replacement
  • New tools: each tool added to an agent adds tokens to every request that carries its definition

What moves the build cost of AI with Bytes2Pro?

Bytes2Pro quotes AI work after a call, as a fixed scope or an ongoing monthly engagement, and the price follows from what the AI is allowed to do. A single feature on one model, such as writing a listing from photos, sits at one end. Clutter Sale's photo-to-listing runs on Vertex AI with Cloud Vision, built for the Clutter team. An assistant that acts across a user's mail, calendar and chat apps, as Otto does, sits at the other.

An existing app can cost more than a new one, and its codebase decides. Adding AI to a product that already runs means finding where the data lives, who's allowed to see it, and where a model call can sit on the server so the API keys never reach the browser. With clean access rules and a clear backend, the feature slots in. Without them, the access work comes first, because a model that can read everything will show it to anyone who asks the right question.

So Bytes2Pro reads the code before quoting AI work in an existing product, the same way we read TradeSpace before taking it over. The read tells you whether the AI feature is a contained addition or the first step of a cleanup. These are the things that move the quote:

  • How many actions the AI can take, and how many of them need a person's approval
  • Whether it answers from your own data, and how often that data changes
  • The integrations behind its tools: Gmail, Outlook, Salesforce, Slack, your own systems
  • How the work is evaluated, and how good is good enough
  • Whether it ships into an existing codebase or a new product

Sources

Got a napkin? Send it over.

A sentence is enough to start. We reply with questions, then a plan.

Book a call