# Your AI app, in people's hands.

> How do you build an AI app, and what does it cost to have it built?

Canonical: https://erdibuilds.app/build/how-to-build-ai-app
Last updated: 2026-11-26 (November 26, 2026)

Most AI apps call a model through an API. You do not train your own. The hours and amounts on this page come from Find My Stack, a free planning tool. Find My Stack has no page for an AI app, so ErdiBuilds picked the parts from its calculator. A quote from a developer replaces them.

## Build it yourself

These steps work whether you build it yourself or check what a developer does.

1. Write down the task and a good answer: Collect twenty real inputs and the answer you would accept for each. They become your test set.
2. Pick a model through an API: Large language models from several providers are called over an API and billed per token (A piece of a word. Models are billed by the tokens they read and write.). Try two on your test set before you decide.
3. Write the prompt and keep it in code: The instructions, examples and the shape of the answer live in one file with a version, so changes can be tested.
4. Add your own data: When answers depend on your documents, store them as embeddings (Numbers that describe the meaning of a text, so similar texts can be found.), for example in Postgres with pgvector, and pass the closest pieces to the model.
5. Build the interface and stream the answer: Show the answer word by word as it comes in. Waiting ten seconds for a full answer feels broken.
6. Limit cost and abuse: Set a limit per user, cache repeated questions and log the cost of each call. A paid plan covers the model bill.
7. Test answers before every release: Run the test set after each prompt or model change and compare the answers with the accepted ones.

## The hard part

### Answers that sound right but are wrong

Models can invent facts. Pass the source text with the question, ask for answers only from it and show the source to the user.

### The cost per user

Every call costs money, and long chats cost more. Know the cost of an average session before you set a price.

### Data and the rules

Check where the model provider processes data and whether it trains on it. In the EU, people must be told when they talk to an AI. This is general information, not legal advice.

## Rather have it built?

An estimate from Find My Stack: one developer working with AI tools, at 45 per hour. Your real price comes with the proposals. 45 per hour is the example rate Find My Stack starts with. It is the same number in euros or US dollars. The region of the developer is not part of the estimate, and rates differ by country and experience.

Find My Stack has no page for an AI app. The stack below follows the result its quiz gives for a web app.

- Next.js (A framework for websites and web apps.) with streaming responses.
- The API of one model provider, called from the server only.
- Supabase (An open source backend with a Postgres database, user login and file storage.) with pgvector for your own documents.
- Stripe for the paid plan.

**Estimate for one developer who works with AI tools**

|  | Hours | Cost at 45 per hour |
| --- | --- | --- |
| First version | 56 to 120 hours | €2,520 to €5,400 |
| Full version | 88 to 196 hours | €3,960 to €8,820 |

Find My Stack has no page for an AI app, so ErdiBuilds picked the parts from its calculator. First version: a web app with login, the AI feature and a paid plan. Full version: plus file uploads, search across them and an admin area. Not counted: the model bill itself, fine tuning and voice. The calculator has no entry for them, so a full version with them costs more.

## Example milestones

1. Example: App base and accounts, 24 to 48 hours, €1,080 to €2,160. Sign up and the screen where people ask.
2. Example: The AI feature, 16 to 40 hours, €720 to €1,800. Prompt, model call, streaming and the test set.
3. Example: Paid plan and limits, 16 to 32 hours, €720 to €1,440. Stripe plan and a limit per user.

Build these for clients? [Join as a developer](https://erdibuilds.app/signup?role=developer).

## Good to know

### How long does it take to build an AI app?

56 to 120 hours of work for the first version. Your developer gives you the real timeline in the proposal.

### Do I need to train my own model?

Almost never for a first version. Calling a model through an API with a good prompt and your own data covers most apps.

### Which model should I use?

The one that does best on your test set at a price you can carry. Keep the code so that the model can be swapped.

### Is an app on top of a model too easy to copy?

The model is not the product. Your data, the workflow around it and how well it fits one kind of user are.

## Related

- [Build an AI product with a developer](https://erdibuilds.app/build/ai-product): Plan a product built around AI models: typical building blocks, a milestone plan with testing, what to write in the brief and how to judge a developer.
- [How to build a SaaS MVP](https://erdibuilds.app/build/how-to-build-saas-mvp): Build a SaaS MVP step by step: accounts, teams, billing, emails and launch, with the stack. Or have it built, with a Find My Stack estimate.
- [How to build a Slack bot](https://erdibuilds.app/build/how-to-build-slack-bot): Build a Slack bot step by step: the Slack app, scopes, events, slash commands and install for other teams. Or have it built, with an estimate.
- [Hire an OpenAI and LLM developer](https://erdibuilds.app/hire/openai): Add chat, writing or analysis features with AI models. What an LLM developer does, what to ask, how it is planned and how matching works.
- [Hire a Python developer for data and AI](https://erdibuilds.app/hire/python): Python powers servers, data work and AI features. See what a Python developer builds, what to ask them and how a project is planned.
