I’m the developer of Anvil, an iPhone assistant that runs its models on the device, and I wanted to share what it took to get a chat model and an image model living in the same app on a phone. Version 4.1 went out to testers today.
Chat: Gemma 4 E2B through LiteRT LM. Questions about photos and documents go through the same model, and that is also how it reads and translates signs and menus with no signal. The screenshot is airplane mode on, reading a Japanese train sign.
Images: an SDXL model converted to Core ML, running on the Neural Engine at 1024x1024, as many as you want, even in airplane mode.
Memory: the two models are never loaded at the same time. The app unloads one before loading the other, which is the main reason it fits in an iPhone’s memory budget. It’s also why it requires an iPhone 15 Pro or newer.
Downloads: the models are downloaded inside the app over WiFi after install, not bundled, so the TestFlight build stays small.
What stays local: chat, voice, notes, tasks, photo questions and image generation. Web search and iCloud backup are optional and are the only parts that go online. No account.
If anyone wants to try it, there’s a public TestFlight and beta testers get Anvil Pro free: Join the Anvil – Offline AI Assistant beta - TestFlight - Apple (iPhone 15 Pro or newer).
I’d really like to hear from anyone who has squeezed other diffusion models onto iOS, especially which Core ML compression choices kept quality up.
