Building an AI app is mostly an up-front effort; keeping it running is a monthly bill. Before you pick a model and services or invite people in, it pays to know roughly what that bill will be at a few levels of use, and which parts rise as more people show up.
Running costs come in two kinds. The first grows with every use: the AI model charges for the text it reads and writes, and some add-on tools charge per call. The second is closer to fixed: plans for hosting, a database and sometimes a specialized search store, plus the hours someone spends watching and maintaining the app. To estimate the total, price one typical request, multiply by expected monthly volume, then add the fixed plans and your time. In this guide’s hypothetical example, a small question-and-answer app’s model bill at list prices checked on November 22, 2026 ranges from about 30 cents to $600 a month, depending on the model and on whether it handles 1,000 or 100,000 questions [1, 2]. Free plans can bring the fixed part close to zero for a test, and paid starter plans for hosting and a database in the examples below begin around $9 to $25 a month each [3, 4, 5].
It’s written for readers who know chat assistants well, are planning or prototyping a first app, and want numbers before they commit. It isn’t a quote, and nothing here promises what your app will cost: every price is a vendor’s list price on the date shown, in US dollars, and prices change. Vendors are named as examples, not recommendations, and BuildAIQ hasn’t tested these products. If you haven’t mapped out the app yet, start with building an AI app from idea to working prototype.
TL;DR
- The bill has a usage-driven part (model tokens, per-call tools) and a mostly fixed part (hosting, database and vector storage plans, your time).
- Model usage is priced per million tokens, with input and output priced separately; output often costs several times more, and hidden reasoning and resent conversation history count too [1, 6, 7].
- Model choice can change the model bill many times over for the same workload, and a lower per-token price doesn’t guarantee a lower total [1, 6].
- Free tiers carry conditions such as usage caps, pauses after inactivity or use of your content, and paid plans can carry minimum charges [2, 8, 5, 9].
- Alerts only warn; hard spending limits stop usage, though not instantly, so set them below what you can afford [10, 11].
The Parts of a Running-Cost Estimate
A few terms first. The front end is what people see and tap in the app; the back end is the machinery behind it that stores data and sends requests to the AI model. Hosting is the rented service that keeps the app online. An AI model reads text and writes a reply; the business operating that model, and billing you for its use, is the AI provider. Many apps also let the model answer from their own documents. That usually involves embeddings, which OpenAI describes as lists of numbers whose distance measures how related two pieces of text are [12]. A vector database stores those lists so the app can quickly find passages that match a question, in Pinecone’s description [13]. An ordinary database can do the same job with an add-on, such as pgvector, an extension for Postgres, the general-purpose database system that both Supabase and Neon offer [14, 15].
| Cost part | What it pays for | How it’s typically billed | Grows with use? |
|---|---|---|---|
| AI model usage | Text the model reads and writes | Per million tokens, input and output priced separately [1, 2] | Yes |
| Embeddings | Turning documents and questions into searchable number lists | Per input token [12] | Yes, slowly |
| Vector storage | Holding and searching embeddings | A free plan, a flat fee, or a monthly minimum plus usage [9] | Partly |
| Hosting | Keeping the app online | Free plan with caps, or a monthly plan with included usage credit [3, 4] | Partly |
| Database and file storage | Users, content, logs | Free plan, or a monthly plan plus usage above the included amounts [5, 15] | Partly |
| Tools the model calls | Web search, file search and similar | Per call or per stored gigabyte [1, 2] | Yes |
| Monitoring and your time | Watching usage, fixing problems, checking outputs | Your hours, plus any monitoring service | Often |
The last row never appears on an invoice. The UK government’s AI Playbook, written for public-sector teams, says AI systems need ongoing investment to stay maintained and keep performing steadily, and its advice on buying AI lists considering ongoing support and maintenance and giving budget guidance that accounts for hidden costs [16]. It wasn’t written for a small app, but the point carries over: someone has to read usage reports, answer users and adjust the app when a provider changes something.
How AI Model Usage Is Priced
Both model providers checked for this guide, OpenAI and Google, bill by the token, the unit a model uses to break up text [1, 2]. OpenAI says a token can be a single character, part of a word, a whole word or punctuation, and that token counts aren’t the same as word counts [6]. Each provider publishes its own rough conversion. OpenAI estimates about four characters, or three-quarters of a word, per token in English, and notes that other languages divide differently [6]. Google says a Gemini token is about four characters and 100 tokens is roughly 60 to 80 English words [17].
Prices are quoted per million tokens, with three numbers that matter most [1, 2]:
- Input tokens: everything you send the model, including your standing instructions, any document passages you attach and the user’s question [6].
- Output tokens: what the model writes back [6].
- Cached input: input the provider has stored from an earlier request and reuses, charged at a lower rate where available; storing it can cost extra, as the caching advice below explains [1, 6, 18].
Two kinds of usage catch first-time builders out. First, some models think before they answer, and that hidden work is billed. OpenAI says reasoning tokens count as output tokens even though they don’t appear in the answer, and Google labels its output prices as including thinking tokens [6, 2]. Second, chat apps resend the conversation. OpenAI says that when requests are chained into a conversation, all the earlier input tokens are billed again as input [7]. Google’s token-counting documentation shows a follow-up turn’s usage including tokens from both turns [17]. So the tenth message in a long chat costs more than the first, even if the user’s question is short. If your app will have a chat window, designing a chat feature for an app covers the design choices that shape how much history it keeps.
The gap between models is large. As of November 22, 2026, OpenAI’s pricing page listed gpt-6-luna at $0.10 per million input tokens and $0.50 per million output tokens, and gpt-6.2-sol at $2.00 and $10.00, both at its Standard rates for prompts up to 272,000 tokens [1]. On the same date, Google listed Gemini 3.5 Flash-Lite at $0.30 input and $2.50 output on its paid tier, and Gemini 3.8 Flash at $0.75 and $3.75 through December 31, 2026, rising to $1.50 and $7.50 from January 1, 2027 [2]. These are examples from two providers, not a ranking.
Per-token prices alone don’t settle which option costs less. OpenAI’s own guidance says a lower price per million tokens doesn’t necessarily produce a lower total, because models split the same text into different numbers of tokens and write different amounts of output or reasoning; it advises testing representative tasks [6]. That is vendor guidance, and the arithmetic bears it out: a model at half the price per token costs more if it needs more than twice as many input tokens and more than twice as many output tokens.
How requests, keys and billing accounts work under the hood belongs to BuildAIQ’s planned APIs and developer foundations guides. For the bigger picture of why a single AI answer costs anything at all, BuildAIQ’s published explainer on what an AI answer costs goes into tokens and computing.
Plans, Free Tiers and Minimums for Everything Else
Outside the model, the services below sell plans: a free tier with limits, then monthly plans with some usage included and charges above it. The figures below are vendors’ list prices as of November 22, 2026, in US dollars, shown as examples of how plans are structured [3, 4, 5, 15, 9].
Hosting. Vercel lists a Hobby plan at $0 a month and a Pro plan at $20 a month with $20 of included usage credit [3]. Its seat table lists each Pro developer seat at $20 a month without saying whether the first seat is covered by the plan price, so check how many seats you’d pay for [3]. Viewer seats are unlimited, and prices exclude taxes [3]. Hobby accounts are held to usage caps and can’t buy more usage [3]. When a Hobby limit is exceeded, Vercel says you usually have to wait 30 days before using that feature again [8]. Netlify lists a free plan, a Personal plan at $9 a month for one member and Pro from $20 a month for unlimited members at its starting 3,000-credit tier, with higher-credit Pro tiers up to 20,000 credits; one pool of credits covers deploys, computing, bandwidth and requests [4]. Its price cells also point you to your dashboard for pricing, so check the figure that applies to your account [4].
Database. Supabase’s Free plan costs $0 but pauses projects after a week of inactivity, allows two active projects and includes a 500 MB database [5]. Its Pro plan starts at $25 a month and includes $10 a month in compute credits [5]. Neon lists a free plan and a usage-based Launch plan at $0.106 per compute-unit hour and $0.35 per gigabyte-month of storage; Neon’s own estimate of typical spend on that plan is $15 a month for an intermittent load with 1 GB of data [15]. A free database that pauses is fine for a prototype you demo now and then, but not for an app strangers expect to open at any hour.
Vector storage. Pinecone lists a free Starter plan, a Builder plan at $20 a month flat, and a Standard plan with a $50 monthly minimum charge, after which you pay as you go [9]. If your app already uses a Postgres database, an extension like pgvector can keep embeddings there instead of in a separate service [14].
Tools the model uses. Some features carry their own fees on top of tokens. OpenAI lists web search at $10.00 per 1,000 calls plus the retrieved search content at model token rates, and file search storage at $0.10 per gigabyte per day after the first free gigabyte [1]. Google lists grounding with Google Search for Gemini 3 and newer models at 5,000 free requests a month, then $14 per 1,000 requests [2].
Free model tiers. Google’s Gemini API has a free tier, but its pricing page says content on the free tier is used to improve Google’s products, while paid-tier content isn’t [2]. If real people will type into your app, read protecting user information in an AI app before relying on any free tier.
If you’re building on a no-code platform rather than assembling these services yourself, the cost structure is different; BuildAIQ’s guide to what it costs to build with no-code AI tools covers seats, credits and platform limits.
A Simple Method for Your Own Estimate
The steps below are BuildAIQ’s editorial method, not a provider’s.
- Describe one typical request. What does the app send the model (instructions, document passages, the question) and what comes back? Note whether it’s a single question or part of a conversation.
- Measure its size in tokens. Run realistic examples in testing and read the token counts your provider reports. Until you can measure, use the provider’s own rule of thumb, never a guess about words [6, 17]. Testing with real users gives you realistic questions to measure.
- Pick three usage levels. For example, a quiet test month, a modest launch and a busy month.
- Multiply. Monthly input tokens times the input price per million, plus monthly output tokens times the output price, for each model you’re considering. Write down the date and tier of each price.
- Add the fixed plans. Hosting, database, vector storage and any minimum charges, at the plan you’d actually need at each usage level.
- Add per-call tools and your time. Searches, file storage, monitoring, and the hours you’ll spend each month.
- Add a margin and a cap. Your estimate will be wrong in ways you can’t see yet, so leave headroom and decide the most you’re willing to spend before anything stops.
- Recheck before you commit and before each renewal. Prices, models and plans change.
Worked Example: A Small Q&A App at Three Usage Levels (Hypothetical)
Everything about this app is invented to show the arithmetic; only the list prices are real, taken from vendors’ pages on November 22, 2026 [1, 2, 3, 4, 5, 15, 9]. It isn’t a measurement, a quote or a judgment about which vendor is better.
Imagine a small app that answers questions about one organization’s own help pages. Each question sends the model standing instructions, a few relevant passages from those pages and the user’s question.
Assumptions:
- About 1,500 input tokens and 300 output tokens per question. By OpenAI’s English rule of thumb, that’s roughly 6,000 characters in and a 225-word answer [6].
- Each question stands alone: no conversation history, no retries.
- The models don’t spend extra tokens on hidden reasoning.
- Usage levels of 1,000, 10,000 and 100,000 questions a month, which is 1.5 million, 15 million and 150 million input tokens, and 0.3 million, 3 million and 30 million output tokens (our arithmetic on the assumptions above) [6].
Model usage at Standard list prices (US dollars per month):
| Model (price per 1M input / output tokens) | 1,000 questions | 10,000 questions | 100,000 questions |
|---|---|---|---|
| gpt-6-luna ($0.10 / $0.50) [1] | $0.30 | $3.00 | $30.00 |
| gpt-6.2-sol ($2.00 / $10.00) [1] | $6.00 | $60.00 | $600.00 |
| Gemini 3.5 Flash-Lite, paid tier ($0.30 / $2.50) [2] | $1.20 | $12.00 | $120.00 |
| Gemini 3.8 Flash, paid tier, through Dec 31, 2026 ($0.75 / $3.75) [2] | $2.25 | $22.50 | $225.00 |
| Gemini 3.8 Flash, paid tier, from Jan 1, 2027 ($1.50 / $7.50) [2] | $4.50 | $45.00 | $450.00 |
To check one cell: at 10,000 questions on Gemini 3.5 Flash-Lite, 15 million input tokens at $0.30 per million is $4.50 and 3 million output tokens at $2.50 per million is $7.50, which adds up to $12.00 [2].
Embeddings. OpenAI bills embeddings per input token and listed text-embedding-3-small at $0.02 per million tokens [1, 12]. If each question needs about 50 tokens of embedding to find matching passages (another assumption), 100,000 questions is 5 million tokens, or about $0.10; embedding the help pages themselves is a one-off cost of the same small order [1].
Fixed plans (US dollars per month, before taxes and usage above included amounts):
| Setup | Hosting | Database (with vector add-on) | Monthly total |
|---|---|---|---|
| Free tiers for a prototype | Vercel Hobby or Netlify Free: $0 [3, 4] | Supabase Free: $0, pauses after a week idle [5] | $0, with caps and pauses |
| Paid starter plans | Netlify Personal $9 or Vercel Pro $20 [4, 3] | Supabase Pro from $25, or Neon Launch usage-based [5, 15] | Roughly $34–$45 with Supabase Pro, or less with Neon’s usage-based billing, plus any usage charges |
| Separate vector database | Add to either row above | Pinecone Builder $20 flat, or Standard $50 minimum [9] | Add $20–$50 |
Neon’s Launch plan is billed by use, so it has no fixed figure; Neon’s own typical-spend estimate is $15 a month for a light load, which with $9 or $20 hosting would put that row nearer $24–$35 [15, 4, 3]. Vercel’s figure assumes one developer seat at $20 [3].
What the example leaves out:
- Conversation history. If questions were follow-ups in a chat, earlier turns would be billed again as input [7].
- Reasoning tokens, which are billed as output [6, 2].
- Retries and checks. Extra model calls you add to catch bad answers, which handling unreliable AI outputs discusses.
- Tool fees such as web search [1, 2].
- Price uplifts. OpenAI’s 10% uplift for regional data-residency processing on models released since March 5, 2026 [1].
- Prompt caching and batch pricing. Batch rates are lower, but caching cuts both ways. On OpenAI’s GPT-5.6 and later models it is on by default for prompts of at least 1,024 tokens (the example’s are 1,500), and cache writes cost more than ordinary input, as explained under ways to cut spend below [18]. If no question reused another’s cached opening, the OpenAI rows would rise: at 1,000 questions, about $0.34 instead of $0.30 for gpt-6-luna and $6.75 instead of $6.00 for gpt-6.2-sol, at OpenAI’s listed 30-minute write rates [1, 18]. Frequent reuse would push them below the table instead.
- Taxes, which Vercel says its prices exclude [3].
- Your time.
Even with those gaps, at 1,000 questions a month, a paid hosting and database plan would cost more than any model in the table [1, 2, 4, 5]. At 100,000 questions, the choice of model makes the biggest difference, from $30 to $600 a month in this example [1, 2].
What Makes the Bill Grow
Usage costs scale with how people use the app, not just how many use it.
- Volume. More questions mean proportionally more tokens, which is why the table above scales in a straight line.
- Longer conversations, answers and inputs. Resent chat history, hidden reasoning, longer replies and extra attached passages all add tokens to every request; output is priced higher than input on every model in the example [1, 6, 7, 2].
- Tools. Each web search or grounding request can add a per-call fee on top of tokens [1, 2].
- Abuse. The OWASP Top 10 for LLM Applications 2026, a community security guide that OWASP calls its latest edition, lists Unbounded Consumption as a risk (LLM06:2026). It describes “denial of wallet” attacks that exploit pay-per-use AI services to run up costs, along with long-context and reasoning-loop abuse that inflates the cost of each request [19]. Protecting user information in an AI app covers the wider security picture.
- Price changes and model retirements. Prices can rise as well as fall, as Gemini 3.8 Flash’s scheduled increase shows [2]. Google’s pricing page also says that from December 1, 2026, requests to the deprecated gemini-2.5-flash model are routed to Gemini 3.5 Flash-Lite and billed at that model’s rates, so a bill can change without the builder touching anything [2].
Ways to Cap and Reduce Spend
Set a hard limit, not just an alert. OpenAI separates spend alerts, which notify you while requests keep going, from hard spend limits, which make further requests fail. It says enforcement isn’t instantaneous, so recorded spend can slightly exceed the limit [10]. Google Cloud’s spend caps pause an eligible service, including the Gemini API, for the rest of the budget period once estimated spend passes the cap. Alerts go out at 50%, 80% and 100%, but Google says enforcement isn’t instant and overages are billed as normal [11]. Vercel says new Pro teams get a default $200 on-demand budget with notifications, and can choose to pause all projects automatically at 100% [3]. OWASP’s 2026 guidance makes the same distinction: it recommends spending caps that halt usage rather than alert thresholds that fast-moving workloads can outrun [19]. For where limit settings live across tools and providers, and what happens when a limit is hit, BuildAIQ’s guide to setting spending, time and usage limits for an AI agent goes deeper.
Limit each user, not just the total. OWASP recommends rate limits and per-user quotas so that no single source can make unlimited requests [19].
Send fewer and smaller requests. OpenAI’s cost guidance lists reducing the number of requests, trimming input tokens, keeping outputs short and choosing a smaller model, where accuracy holds up [20]. In practice, that means:
- trimming standing instructions;
- attaching only the most relevant passages;
- capping answer length;
- keeping only the recent part of a conversation.
Check each change against your test questions; a setup that costs less but answers badly isn’t a saving.
Reuse what repeats, and check what reuse costs. Caching stores the opening section of a prompt so later requests that start identically can be billed at a reduced rate, but it isn’t a pure discount. OpenAI says its caching is on by default for supported models and can cut reused input by up to 95% [18]. On its GPT-5.6 and later models, though, a cache write costs 1.25 times the normal input rate for the default 30-minute lifetime, or 2.5 times for an optional 12-hour lifetime in its Responses API. By OpenAI’s own arithmetic at the 0.1-times read rate that applies to most of these models, writing a prefix once and reusing it once costs 1.35 times its normal input cost instead of 2 times; on GPT-6.2 Sol, which OpenAI lists at a 0.05-times read rate, the same case works out to 1.30 times [18]. A quiet app whose cache expires between questions can therefore pay more, not less. Google lists context caching for Gemini 3.5 Flash-Lite at $0.03 per million tokens plus a storage charge of $1.00 per million tokens per hour, so held content costs money while it waits [2]. Keeping fixed instructions at the start and unchanged makes reuse more likely.
Batch work that can wait. OpenAI’s Batch API offers 50% lower costs for groups of requests completed within 24 hours, and Google lists Gemini 3.5 Flash-Lite’s paid-tier Batch prices at $0.15 input and $1.25 output, half its Standard rates [21, 2]. This suits overnight jobs, not a user waiting for an answer.
Ask whether every step needs a model. A lookup, a form or a fixed rule runs up no token charges at all. When an app doesn't need AI at all helps you spot those steps.
What We Know, What We Don’t, and Where Experts Disagree
What We Know
Providers publish their per-token prices, tiers and units, and those figures, checked on November 22, 2026, make the model part of an estimate straightforward arithmetic once you know your token counts [1, 2]. Hosting, database and vector services publish plan prices, included amounts and some limits, such as free-tier pauses and usage caps [3, 8, 5, 9].
What We Don’t Know
Your own token counts are the biggest unknown; the example’s figures are assumptions, and our research turned up no independent measurement of typical token use in small apps. We also found no study measuring the hours it takes to run a small AI app, so treat time as your own estimate. Future prices are unknown beyond the scheduled changes that providers have announced [2].
What Experts Disagree About
Our searches turned up no named experts on opposite sides of how to estimate these costs.
Practical Takeaways
- Write down one typical request and measure its tokens in testing before trusting any estimate.
- Estimate at three usage levels, and compare at least two models from at least two providers at their dated list prices.
- Add fixed plans, minimum charges, tool fees, taxes and your own hours, and note which free-tier conditions you can live with.
- Budget for conversation history and hidden reasoning if your app chats or uses a reasoning model.
- Set hard limits below what you can afford, plus per-user quotas, before the app is public.
- Put a recheck date on your estimate; some of the prices and models above are scheduled to change within weeks of this guide’s checks [2].
Once your estimate and caps are in place, the next step is the pre-launch review in what to check before publishing an AI app.
Sources
- Pricing | OpenAI API. OpenAI, accessed 2026-11-22.
- Gemini Developer API pricing – Gemini API. Google, accessed 2026-11-22.
- Vercel Pricing: Hobby, Pro, and Enterprise plans. Vercel, accessed 2026-11-22.
- Pricing and Plans | Netlify. Netlify, accessed 2026-11-22.
- Pricing & Fees | Supabase. Supabase, accessed 2026-11-22.
- Understanding and counting tokens. OpenAI Help Center, accessed 2026-11-22.
- Conversation state. OpenAI, accessed 2026-11-22.
- Vercel Hobby Plan. Vercel, 2026-11-12, accessed 2026-11-22.
- Pricing | Pinecone. Pinecone, accessed 2026-11-22.
- Spend limits. OpenAI, accessed 2026-11-22.
- Manage spend cap budgets | Cloud Billing | Google Cloud Documentation. Google Cloud, 2026-11-10, accessed 2026-11-22.
- Vector embeddings. OpenAI, accessed 2026-11-22.
- What is a Vector Database & How Does it Work? Use Cases + Examples. Pinecone, accessed 2026-11-22.
- pgvector: Embeddings and vector similarity. Supabase, accessed 2026-11-22.
- Neon Pricing: Free Plan With 100 Projects, Typical Spend $15/Month. Neon, accessed 2026-11-22.
- Artificial Intelligence Playbook for the UK Government (HTML). UK Government (Government Digital Service), 2025-02-10, accessed 2026-11-22.
- Understand and count tokens – Gemini API. Google, accessed 2026-11-22.
- Prompt caching. OpenAI, accessed 2026-11-22.
- OWASP GenAI LLM Top 10 2026. OWASP Gen AI Security Project, 2026-08-03, accessed 2026-11-22.
- Cost optimization. OpenAI, accessed 2026-11-22.
- Batch API. OpenAI, accessed 2026-11-22.
