Netcraft

// How production AI apps are built

What does a production-ready AI app need?

A production-ready AI app needs ten things beyond working screens: accounts and roles, payments confirmed by Stripe webhooks, access rules on every table, automatic checks on AI output, cost limits per user and overall, background jobs that survive failures, error alerts, pages search engines can read, tested backups, and code, domain and data in the owner's name.

Want it done for you? AI MVP Development: from €2,500, fixed quote in 24h →

Gabriel Cazaciuc

By , Founder & lead developer, Netcraft Digital

Last updated

Key facts

Review rounds on an AI worksheet
Up to 3; the last one on Claude Opus 5.5
Source: FișaEdu, our product, Nov 2026
Site sections generated at once
8, each as a durable workflow
Source: Netcraft Studio, our product, Nov 2026
AI product searches per gift list
8 per day, behind a bot check
Source: Joylist, our product, Nov 2026
Invoices per Stripe payment
Exactly one, guarded by a Postgres lock
Source: Our Stripe → Keez invoicing, Nov 2026

What makes an AI app different from a normal web app in production?

Two things: the AI can be wrong while looking right, and every use costs money. A normal web app either works or throws an error. An AI feature returns a confident answer that may be false, and each request spends tokens that someone has to pay for.

We run three AI products of our own in production: FișaEdu (AI worksheets for Romanian schools), Netcraft Studio (an AI website builder) and Joylist (a gift registry with an AI shopping assistant). This checklist is what all three needed before real users could rely on them. Most items are ordinary production work. Four of them (output checks, cost limits, durable jobs and the MCP question) exist only because the app uses AI.

What is on the checklist?

AreaWhat “done” meansHow we do it in our products
Accounts and rolesEach user sees only their data; roles checked on the serverPer-site roles in Netcraft Studio: a viewer can only read
PaymentsAccess granted only after a verified Stripe webhookEach Stripe event recorded once in Postgres; duplicates ignored
Data accessRules on every table and API route, not in the browserAccess rules per collection in Payload CMS
AI output checksWrong answers caught before users see themSecond-model review, a blind solver, nightly re-checks
Cost limitsPer user, per day and global caps; bot check on costly callsJoylist: 8 searches per list per day, Cloudflare Turnstile
Durable jobsA failed step is retried alone; the user is refunded if the job failsVercel Workflow steps; credits held until the job ends
MonitoringFailures reach you before users complainAlerts on failed AI generation and on payment incidents
SEOPublic pages rendered on the server, with a sitemapFișaEdu: a sitemap with over 1,000 URLs and structured data
BackupsA restore you have actually triedManaged Postgres; hosting and backups are part of our care plan
OwnershipCode, hosting, database and domain in the owner's accountsStudio domains are registered in the customer's name
The ten areas and what “done” means

How should accounts and data access work?

Every permission check runs on the server, on every request. Hiding a button in the interface is not a permission. In Netcraft Studio, every action on a site goes through one function that checks the user's role on that site: reading needs “view”, anything else needs “edit”. The same check applies when the request comes from Claude or ChatGPT through the MCP connector, so an AI assistant can never do more than the person who approved it.

If your app was started in Lovable or Bolt on Supabase, the equivalent is row-level security on every table. That is the most common gap we find in AI-built apps.

How do payments stay correct?

Access is granted when your server receives a signed webhook from Stripe, never because the browser landed on a success page. Each event is recorded once, so a retried webhook cannot grant a plan twice. Renewals that fail get a grace period that matches Stripe's retry schedule. For FișaEdu and this site, a daily job also issues exactly one legal invoice for every payment.

Details, including failed renewals and EU invoicing: Stripe subscriptions and automatic invoicing for an MVP.

How do you stop the AI from showing wrong content?

You check the output with something other than the model that wrote it. On FișaEdu, a worksheet goes through a review, and the multiple-choice items are solved a second time by Claude Opus 5.5 without seeing the answer key. If it picks a different answer, the exercise is rewritten. Every night, a scheduled job re-checks published worksheets in up to three rounds.

The full method, layer by layer: How to stop an AI app from showing wrong content.

How do you keep AI costs under control?

Pick the model per task, limit how often each user can trigger a paid call, and record the cost of every call. On FișaEdu, Claude Sonnet 5.5 writes and checks worksheets, the more expensive Opus 5.5 runs only in the last review round, and short hints run on a small, cheap model. On Joylist, a cheaper Gemini model reads shop pages and Claude Sonnet 5.5 only picks the products.

Routing, fallbacks, quotas and cost reports: Controlling AI costs in production.

What happens when a long AI job fails halfway?

With durable workflows, only the failed step runs again, and the rest of the work is kept. A Netcraft Studio site takes a few minutes to generate, with eight sections written in parallel. Each step's result is saved, so a model timeout on one section does not throw away the other seven. If the whole build fails, the credits the user paid are given back once.

How we structure these jobs: Long-running AI jobs that don't fail halfway.

What should the backend and admin panel be?

For most MVPs we use Payload CMS on Postgres inside the Next.js app. It gives the team an admin panel on day one, with access rules written in code. Our own CRM, offers, contracts and invoice ledger run on it. When a query is on a hot path, we write it directly in SQL next to Payload.

Why, and how it compares to Supabase and Firebase: Payload CMS as the backend of an MVP.

Should your app work inside Claude and ChatGPT?

Only if your users already work in an AI assistant and your product has actions worth doing from a chat. All three of our products have an MCP server. FișaEdu's and Joylist's are public and read-only. Netcraft Studio's lets a user build and edit a site from Claude, behind OAuth, with read and write scopes and a confirmation step before anything is deleted.

When it is worth it and how to do it safely: Make your product usable from Claude and ChatGPT.

What about monitoring, SEO, backups and ownership?

They are ordinary production work, and they are the items most often skipped. In our products, a failed AI generation sends an alert. In Netcraft Studio, a payment with a wrong amount, a refund, a dispute or a failed renewal raises a billing alert, and a failed renewal also emails the customer. The invoicing job reports every payment that still lacks data.

Public pages are rendered on the server so search engines and AI assistants can read them. FișaEdu keeps its worksheet catalog open without an account for that reason. Backups only count if someone has restored from one. The code, hosting, database and domain should be in your accounts from the first day, not the agency's.

How do you check a builder against this list?

Ask how they handled each item in an app that is live today, and ask to see it. A builder who has run AI products in production will answer with specifics: which model checks which output, what the daily cap is, what happens to the user's money when a job fails.

Questions to ask before you hire

  • Where is access checked: in the browser or on the server?
  • What grants a paid plan: the success page or the Stripe webhook?
  • What checks the AI output, and is it a different model from the writer?
  • What stops one user or a bot from spending your AI budget in a night?
  • If a generation fails after 3 minutes, what is kept and who is refunded?
  • Who gets an alert when payments or AI calls fail?
  • Whose name are the domain, GitHub repository and database in?

Our fixed prices for an MVP that covers this list are on the pricing page, and the scope of a launch is described on AI MVP development.

// FAQ

Frequently asked questions

Another question? Write to us; you get an answer from the developer within one working day.

What is the difference between an AI prototype and a production AI app?

A prototype proves the AI can do the task. A production app also handles accounts, payments, wrong output, cost limits, failures and backups, so real users can rely on it and pay for it.

Is a second AI model enough to verify output?

It catches many errors, not all. We combine it with schemas, a blind solver for questions with one right answer, human approval before publishing and nightly re-checks, and we still label content as AI-generated.

How do you stop AI costs from growing out of control?

Use the cheapest model that does each task well, cap paid calls per user, per day and globally, put a bot check in front of costly calls, and record the cost of every call by feature.

Do I need an MCP server at launch?

Usually not. It is worth adding when your users already work in Claude or ChatGPT and your product has actions that make sense from a chat.

What do I need to own at launch?

The domain, the code repository, the hosting account and the database, all in your name or your company's. Then you can change builders without rebuilding the product.

// How production AI apps are built

Every guide on this topic

// How production AI apps are built

How do you control AI costs in a production app?

Give each task the cheapest model that does it well and keep the expensive one for hard cases. Cap paid calls per user, per day and globally. Put a bot check in front of costly actions. Tie usage to the plan the user pays for. Refund failed jobs once. Tag every call to see what each feature costs.

Read the guide

// How production AI apps are built

How do you stop an AI app from showing wrong content?

You never show a model's output unchecked. Force it into a strict schema, have a second model review it (ideally from another model family), re-solve questions with one right answer without the key, let a human approve anything published under their name, and re-check stored content on a schedule. Each layer catches errors the others miss.

Read the guide

// How production AI apps are built

How do you run long AI jobs that don't fail halfway?

Split the job into durable steps whose results are saved, so a failed step is retried alone and the finished ones are kept. Mark errors a retry cannot fix as final. Run independent parts in parallel, within rate limits. Let optional steps fail without failing the job. Hold the user's credits until the end and return them once on failure.

Read the guide

// How production AI apps are built

How do you make your product usable from Claude and ChatGPT?

You add a remote MCP server: an endpoint on your app that exposes a few actions as tools Claude and ChatGPT can call. Public read-only data needs no login. Anything touching a user's account needs OAuth with read and write scopes, a confirmation step before deletes, rate limits, and the same permission checks as your app.

Read the guide

// How production AI apps are built

Should you use Payload CMS as the backend of your MVP?

For most MVPs with content, roles and an admin team, yes. Payload runs inside your Next.js app on your own Postgres database and gives you an admin panel, access rules in code and migrations on day one. Use plain SQL beside it for hot paths, and pick Supabase instead if you need realtime features or a browser-first app.

Read the guide

// How production AI apps are built

How do you set up Stripe subscriptions and invoicing for an MVP?

Use Stripe Checkout for payment, and grant access only when your server receives a signed webhook. Record each event once, so retries cannot grant twice. Read the current subscription from Stripe instead of trusting event order. Keep a grace period for failed renewals. Run a scheduled job that issues exactly one invoice per payment in your accounting software.

Read the guide

AI MVP Development, at a fixed price

A production MVP with accounts, payments, admin and AI, live in about 2 weeks. From €2,500, 10–14 days. Written scope and price within 24 hours.