Security & architecture

Local by architecture.

No inference server. No chat database in the cloud. Here is how PocketAI keeps the entire model pipeline on your phone.

1. Native ARM execution

PocketAI ships compiled 64-bit llama.cpp binaries optimized for ARM NEON. Inference runs inside the app's sandbox, managed by the Android Linux kernel. No third-party code is fetched or evaluated at runtime.

2. Verified model downloads

Every weight file is downloaded over HTTPS and checked before it can be loaded.

3. Memory safety

On-device inference lives or dies by available RAM. PocketAI checks memory before allocating weights and caps context length before Android's out-of-memory killer steps in.

RAM ≈ weights + KV cache + ~300 MB app overhead

4. Subscription checks

PocketAI Pro is fulfilled through Dodo Payments. When you check or restore Pro in the app, the app verifies your subscription status through our API. Dodo Payments is the source of truth for whether a subscription is active. If a subscription is canceled, Pro features remain available through the end of the paid period and then return to the free tier.

5. What leaves your phone

Your prompts and chat history never leave the device. The only outbound requests are model downloads you start, subscription status checks when you verify Pro, and the Dodo Payments checkout flow.