# ai-on-mobile

Published articles for ai-on-mobile.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Distributing big AI models in mobile apps

DevFeed: [Distributing big AI models in mobile apps](<https://devfeed.tech/articles/distributing-big-ai-models-in-mobile-apps-22780.md>)

Original publisher: [Read original article](<https://medium.com/microsoft-mobile-engineering/distributing-big-ai-models-in-mobile-apps-ae674e501d3d?source=rss----87f10537e947---4>)

Author: SwiftKey

Published: 2025-12-04T15:31:35Z

Content type: tutorial

Language: en

Sources: [Android@Microsoft - Medium](<https://devfeed.tech/sources/android-microsoft-medium.md>)

Topics: [Mobile](<https://devfeed.tech/topics/mobile.md>), [Android](<https://devfeed.tech/topics/android.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>), [App](<https://devfeed.tech/topics/app.md>), [Generative AI](<https://devfeed.tech/topics/generative-ai.md>)

Tags: [ai-model-distribution](<https://devfeed.tech/tags/ai-model-distribution.md>), [ai-models](<https://devfeed.tech/tags/ai-models.md>), [ai-on-mobile](<https://devfeed.tech/tags/ai-on-mobile.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [app](<https://devfeed.tech/tags/app.md>), [app-size](<https://devfeed.tech/tags/app-size.md>), [apps](<https://devfeed.tech/tags/apps.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [mobile](<https://devfeed.tech/tags/mobile.md>)

### AI overview

This article explains how the Microsoft SwiftKey team approaches adding AI features to an Android mobile app while controlling download and installation size. It describes the app's size constraints, the components that can make an AI feature large, and the trade-offs teams consider when deciding how to distribute large models.

### Source excerpt

This is based on a talk given by Beatriz Viñal Murciano (LinkedIn) at droidcon SF (June 2024, video, slides) and Víctor Julián García Granado (LinkedIn) at droidcon Lisbon (September 2024, video) about how we use AI models in our app. The SwiftKey team is one of the many teams working on Android at Microsoft. We build the Microsoft SwiftKey AI Keyboard app for Android ("SwiftKey" from now on). SwiftKey is a keyboard app that lets you type by tapping on keys or sliding your finger over them, correcting and predicting what you type and learning from your typing. It supports over 700 languages (up to 6 of them at the same time) and it has an ever-increasing number of other features such as emoji, GIFs, clipboard and integration of new generative AI products like Copilot and Designer. As we evolve the product, we've made an effort to keep the app size small. SwiftKey's download size is currently around 20MB and its install size right after installation is around 55MB, although it increases over time. Size matters to our users and partners, who prefer apps that are as small as possible. It matters to us too, because apart from our wish to respect users' data and storage, if the app is bigger users are more likely to uninstall it and partnering with device manufactures is more difficult. We discussed app size at length in App size reduction at Microsoft SwiftKey. We've noticed that an increasing number of the latest feature proposals include some form of AI, i.e. they require some sort of probabilistic model that takes some data as input, does some processing, and returns some data as output. This AI is represented by a green box called "AI feature" in the diagrams to simplify. The box can include one or more models, the engine that processes the models and other related data they need to work as well, which can get quite big (usually due to the model(s) size) and may need to be handled carefully to avoid unnecessarily increasing the app size. How big does an AI feature n