AI — two engines, one feature
PPPHP can use AI in your generated app — summarising a record, suggesting next actions, drafting a note. There are two engines that can do that work, and you choose per task which one should. Both are set up in Misc → AI.
| Engine | What it is |
|---|---|
| Your AI provider | Anthropic, OpenAI, Gemini, DeepSeek, Groq, Mistral, OpenRouter, or any OpenAI-compatible endpoint. You bring the key. It works for everyone who uses your app, on any device, and you pay per use. |
| The browser's own model | Chrome and Edge now carry a model inside the browser. No key, nothing to pay, and the text never leaves the computer. It only works where the computer can run it. |
Choosing where each task runs
Each of the three capabilities — Summarise, Translate and Ask anything — gets its own setting:
| Setting | What happens |
|---|---|
| Use the device when it can, the provider when it cannot | The sensible default. People on a capable computer get a free, private, instant answer; everyone else gets the provider. Nobody has to know which one ran. |
| Device only | The text is never sent to a provider. If the computer cannot run the model, the task politely refuses instead. Choose this for anything you are not willing to send to a third party. |
| Off | Always use the provider, exactly as before. |
Before you switch the browser's model on
This is the one capability in the product that works better on a laptop than on a phone, so it is worth knowing what it needs before you rely on it:
- Chrome or Edge — not Firefox, not Safari.
- A desktop or laptop — Windows 10/11, macOS 13 or later, Linux, or a Chromebook Plus. Not Android, not iPhone.
- A multi-gigabyte download the first time it is used, on an unmetered connection.
- Roughly 22 GB free on the drive, and either a GPU with more than 4 GB of memory or 16 GB of RAM.
The AI settings page shows you, live, what the computer you are sitting at can do right now. That is a report about your machine — everyone else's browser decides for itself, which is exactly why the “use the provider when it cannot” setting exists.
What it costs the people using your app
Nothing, and nothing happens behind their back:
- The model is never downloaded just because a page loaded. It is offered the first time somebody deliberately asks for an AI result, and the progress is shown while it fetches.
- An answer says where it came from — on this device or the provider's name — so nobody has to wonder.
- Row-level security applies either way. The record handed to the browser's model is the same record the provider would have seen: the one that person is allowed to open, and no other.
Translation
The browser can also translate between languages with no round trip. Each language pair downloads separately the first time it is used, so the first translation into a new language is slow and every one after it is instant.