- A fictional seven-item build worksheet totals $10,000–$26,400 at an assumed $100 per hour.
- At list prices checked November 26, 2026, an example user making 60 model calls a month costs $1.02 on gpt-6.2-sol or Claude Sonnet 5.5, and $0.38 on Gemini 3.8 Flash until Google's January 1, 2027 rate increase.
- Google's pricing page schedules Gemini 4 Argon prices to double on December 1, 2026.
- This guide's unit-economics check keeps a heavy (90th-percentile) user's AI cost under 10% of their plan price.
How much does it cost to add AI to an app?
Adding AI to an existing app pairs a one-time engineering build with an ongoing usage bill: $10,000–$26,400 for the build in this guide's fictional worksheet at an assumed $100 per hour, plus $0.38–$1.02 per active user per month at list prices checked November 26, 2026. Even a modest integration can generate a steep monthly API bill, so price both halves before committing.
The SiteCost calculator does not model AI features, as the SaaS development cost guide notes. Supporting UI screens around the feature belong in a web app development cost estimate.
Which build items decide the one-time cost?
Seven engineering items drive the upfront build cost: provider integration, context and retrieval, prompt and output handling, usage quotas and spend caps, logging and monitoring, a fallback path, and an evaluation set. The worksheet below is fictional—its hour ranges are planning assumptions that exclude your domain experts' time writing expected answers, and $100 per hour is a round placeholder rate rather than market data.
| Build item | What it covers | Fictional hours | At $100 per hour |
|---|---|---|---|
| Provider integration | Server-side calls behind your existing login | 16–32 | $1,600–$3,200 |
| Context and retrieval | Scoping data to records each user may see | 24–80 | $2,400–$8,000 |
| Prompt and output handling | Instructions, structured answers, validation | 16–40 | $1,600–$4,000 |
| Usage quotas and spend caps | Per-user and per-account limits, alerts | 8–24 | $800–$2,400 |
| Logging and monitoring | Usage, cost, and errors per call | 12–24 | $1,200–$2,400 |
| Fallback | Timeouts, refusals, and an AI-off mode | 8–24 | $800–$2,400 |
| Evaluation set | Real tasks with expected answers | 16–40 | $1,600–$4,000 |
| Total | Fictional example, USD excluding tax | 100–264 | $10,000–$26,400 |
How do you calculate AI running cost per active user?
Monthly AI cost per active user = sessions per user × model calls per session × (input tokens × input price + output tokens × output price) ÷ 1,000,000. Model providers bill by the token—a small chunk of text, often part of a word—where input tokens are what your app sends and output tokens are what the model generates back. Pull sessions per user from your product analytics, then measure actual token counts on a working prototype.
The benchmark user below runs 20 sessions a month, 3 model calls per session (60 calls), and 6,000 input plus 500 output tokens per call, held constant across models. Rates are standard paid-tier list prices checked November 26, 2026 on each provider's official pricing page. OpenAI recommends gpt-6.2-sol for balancing intelligence and cost, Anthropic positions Claude Sonnet 5.5 as its best mix of speed and intelligence, and Google prices Gemini 3.8 Flash below its Gemini 4 Argon reasoning model. (For comparison, OpenAI's API pricing page on the same date also listed `chat-latest` under a ChatGPT category at $5.00 input and $30.00 output per million tokens—$2.70 a month for the same example user.)
| Model (provider) | Price period | Input per 1M tokens | Output per 1M tokens | Cost per active user per month |
|---|---|---|---|---|
| gpt-6.2-sol (OpenAI) | No change listed | $2.00 | $10.00 | $1.02 |
| Claude Sonnet 5.5 (Anthropic) | No change listed | $2.00 | $10.00 | $1.02 |
| Gemini 4 Argon (Google) | Through November 30, 2026 | $2.00 | $10.00 | $1.02 |
| Gemini 4 Argon (Google) | From December 1, 2026 | $4.00 | $20.00 | $2.04 |
| Gemini 3.8 Flash (Google) | Through December 31, 2026 | $0.75 | $3.75 | $0.38 |
| Gemini 3.8 Flash (Google) | From January 1, 2027 | $1.50 | $7.50 | $0.77 |
Identical list prices do not guarantee identical invoices, because each provider's tokenizer splits the same text into different token counts. Anthropic notes that Claude 4.7 and later models produce roughly 30% more tokens for the same text than earlier Claude releases. Google bills thinking tokens—the model's hidden reasoning steps—as output tokens, and built-in tools add separate charges, such as OpenAI file search at $2.50 per 1,000 calls in the Responses API.
Will AI API prices change after launch?
Yes—published AI API prices can shift after you ship. Checked November 26, 2026, Google's Gemini API pricing page schedules Gemini 4 Argon rates to double on December 1, 2026 and Gemini 3.8 Flash rates to double on January 1, 2027. Model your unit economics against the scheduled prices above and log the date of every rate check.
Prompt caching, documented on all three pricing pages, discounts repeated prompt text: $0.10 per million cached tokens on gpt-6.2-sol and Claude Sonnet 5.5, and $0.075 on Gemini 3.8 Flash, plus cache write or storage fees. Batch processing halves token rates on these models for asynchronous background jobs, though it does not suit live interactive chat.
Does the AI cost fit your plan price?
AI usage fits your pricing tier when a 90th-percentile user's monthly AI cost remains below 10% of the plan price—a practical planning rule for this guide rather than a universal industry benchmark. A 90th-percentile user consumes more than 9 in 10 of your active users; pull that figure from your own usage telemetry.
In a fictional scenario, a $49 monthly plan absorbs the $1.02 average user at 2.1% of revenue. A 90th-percentile user running five times that volume costs $5.10, or 10.4%, failing the threshold. Three levers restore margin: enforce a monthly usage cap, switch to a cheaper model that still passes your evaluation set, or package AI as a paid add-on.
Should you build, use a provider feature or pilot first?
The right delivery path depends on how easily you can verify output quality and how costly a wrong answer is to the user. Validate every candidate against your own evaluation set before scaling.
| AI feature | Verdict | Red flag in a quote |
|---|---|---|
| Summaries of content the user already sees | Build into your app | A search database (vector database) for content that needs no search |
| Classification, tagging, or field extraction | Build into your app | No labeled past records in the acceptance plan |
| Answers from your app's records or documents | Pilot first | No test of cross-customer data access |
| Transcription, translation, or image generation | Use provider feature | Custom model training before trying the API |
| AI replies in your existing help desk | Use provider feature | No comparison with the help desk's own AI add-on |
| Agents that change data or send messages | Pilot first | No human approval step or action log |
Neaptide maintains SiteCost and benefits when readers hire it (how SiteCost discloses this). Neaptide publishes no fixed AI price list; its AI implementation page, checked November 26, 2026, outlines a free one-hour consultation, a 1–2 week process assessment, and a 1–2 month pilot scoped to one real workflow. Its guide to cost per accepted result factors human review time alongside API usage.
What should you test before launch?
Three acceptance tests must pass in staging before an AI feature goes to all users: an evaluation set, refusal and fallback behavior, and spend caps. An evaluation set is a fixed suite of real tasks paired with expected outputs, scored pre-launch and after every prompt or model change.
- Evaluation set: score tasks drawn from real support tickets or logs against a pass rate agreed in writing pre-build. This guide uses 50 tasks as a starting baseline—a planning choice, not a formal benchmark.
- Refusal and fallback: simulate a provider timeout, API error, and model refusal; the core workflow must still finish cleanly in AI-off mode.
- Spend caps: push a test account over a low quota in staging; calls must halt automatically and trigger an alert to the account owner.
What should you check before you sign?
A signable AI proposal prices both the upfront build and the ongoing usage bill, names every model with a dated rate, and writes acceptance criteria into the contract. Run these six checks to compare quotes on the same scope.
- Running cost is modeled per active user per month, naming each model and the exact date its list prices were checked.
- All seven build items appear as priced lines or explicit written exclusions; a blank cell is unpriced, not free.
- Scheduled rate hikes—such as Gemini 4 Argon on December 1, 2026—are modeled at both the current and future prices.
- All three acceptance tests above are contractual deliverables with target thresholds and a live staging run you observe.
- The API provider account and keys sit under your company's name on a paid tier; Google notes that free-tier Gemini 3.8 Flash inputs may be used to improve its products.
- A 90th-percentile user stays below 10% of the plan price, or the scope includes a hard monthly quota.