This is checked on one phone, a Moto g play 2024, on its processor. Phones with a supported graphics chip: not checked. Nothing here promises a speed.
How it works
Chat runs in the web page inside the app. The page cannot call native code directly, so the app and the page talk over a private channel that opens when the page loads. The page sends a prompt, and the engine in the app streams the reply back. The channel works with no network. The page checks that the other end is the Allternit app. If the page is open in a plain browser without the app, it falls back to browser models.Download a model
- Downloads use the system download manager and show its notification with progress. They continue when the app is closed. Any network works, Wi-Fi or mobile data, so check the size on mobile data.
- The app checks free space first. If there is not enough, it says so and does not start: it needs about twice the model size plus some headroom.
- Each model’s manifest has a signature. The app checks the signature (minisign) and then each file’s hash before it keeps the model. A file that fails is deleted.
Memory budget
The app reads the memory Android reports each time. The budget is the smaller of:- the free memory, minus Android’s low-memory threshold, and
- 45 percent of the phone’s total memory.
Processor and graphics
The engine runs on the processor on every phone. It uses the graphics chip through OpenCL only on Qualcomm phones with Adreno 7xx graphics or newer (Snapdragon 8 Gen 1 and up, and 7+ Gen 3). On older phones the OpenCL kernels crash the engine, and a crash cannot be retried on the processor, so those phones always get the processor. A phone the app does not recognise also gets the processor. Measured on a Moto g play 2024 (processor only), in airplane mode: 13.3 tokens per second.While a model runs
- A notification reads “Model name and build is running on this phone”, with Stop. It keeps the model loaded when you switch apps.
- The model unloads after 5 minutes idle, when you press Stop, or when Android asks apps to free memory.
- Phones get warm and use battery quickly while a model generates.