Futurista Soft Book a call (opens in a new tab)
Founder guide

How to add AI features to your existing app

Last reviewed 2 December 2026

Written by Futurista Soft · Reviewed by Bikram Saini and Amol Chhabra

Most AI features in apps are a request to a model run by OpenAI, Anthropic or Google, or a smaller model on the phone itself. Connecting the model is the easy part. Your users’ data, the API key and the store rules are where the work is.

Short answer

Choose one task the AI should take off your users’ hands, then decide whether it runs on a cloud model from OpenAI, Anthropic or Google or on the phone. Send cloud requests from your server, never with the API key in the app. Ask before personal data goes to a third-party AI, add reporting if it generates content, and set a usage budget.

Rather talk it through with someone? Tell us your AI idea →

Start with one feature

“Add AI” isn’t a feature. Pick one task your users do often that a model can take off their hands, and judge it on three questions: what time does it save them, what data does it need, and what happens when it gets something wrong? The features founders ask us for most:

Where the AI runs

OptionGood forTrade-off
A cloud model API from OpenAI, Anthropic or Google (Gemini)Chat, writing, reasoning over documentsData leaves the phone, each request is billed, and the call has to go through your server
On the phone: Apple’s Foundation Models framework, Google’s ML Kit and Gemini NanoSummaries, text extraction, scanning, working offlineOnly on supported devices, and smaller models
Search over your own data with vector search, for example pgvector in SupabaseSmart search and answers grounded in your contentYour data needs preparing and keeping up to date

Keep the API key on your server

Every cloud provider says the same thing. OpenAI: “Never deploy your key in client-side environments like browsers or mobile apps”, and it warns a leaked key can lead to unexpected charges (OpenAI (opens in a new tab)). Google: “Never expose keys client-side in production”, and use a backend proxy instead (Gemini (opens in a new tab)). Anthropic: never include the key directly in your code (Anthropic (opens in a new tab)).

In practice the app calls your server, and your server calls the model. That’s also where you check who the user is, limit how often they can ask, and stop one account running up the bill. In apps built with Lovable or Bolt, anything in a VITE_ variable reaches every visitor’s browser, so the key belongs in a backend function. Our security checklist shows how to check.

What happens to your users’ data

Then update your privacy policy to name the AI provider, and check that your App Store privacy details and Google Play Data safety form still match what the app sends.

What Apple and Google require

What it costs to run

Cloud models are billed by usage, not by month. OpenAI, Anthropic and Google all publish prices per million tokens, with input (what you send) and output (what the model writes) priced separately. So the bill grows with the number of users, how often they ask and how much text each request carries. Long chat histories and whole documents sent with every request add up fastest.

For the rest of your running costs, see app maintenance costs.

Plan for wrong answers

Models are sometimes confidently wrong. Show where an answer came from when you can, let people edit what the AI filled in before it’s saved, and keep a person in charge of anything with consequences, such as money, health or legal decisions. Test the feature with your real data and real users before you switch it on for everyone.

Questions founders ask

Which AI model should we use?

The one that does your single task well at a cost you can carry. OpenAI, Anthropic and Google all bill per token, and by default none of them train on API data, except Gemini’s free tier, which you shouldn’t use for personal data. For simple text tasks on iPhone, Apple’s on-device models may be enough.

Do we have to tell users the app uses AI?

If personal data goes to a third-party AI, yes: Apple’s Guideline 5.1.2(i) requires you to disclose it and get explicit permission first. If the AI generates content, Apple’s Guideline 1.2 and Google Play’s AI-Generated Content policy also expect ways to report it.

Will adding AI get our app rejected?

Not on its own. Rejections come from what’s around it: no permission before sending personal data to an AI provider, no way to report what the AI generates, or a feature the reviewer can’t try.

Can we add AI to an app built with Lovable or Bolt?

Yes. The same rules apply: keep the API key in a backend function, never in a VITE_ variable, and limit how often each user can call it.

Read next