cawoolf / PhrasalFR

A language learning app that allows you to quiz yourself on custom phrases.
Apache License 2.0
0 stars 0 forks source link

Research API Limits for ML Kit, and shipping ML Kit with App #4

Open cawoolf opened 1 year ago

cawoolf commented 1 year ago

Is MLKit free for production? How can you bundle MLKit into the APK for the app so the User doesn't have to download it?

cawoolf commented 1 year ago

Per ChatGPT

If your Android app is using a currency conversion API that requires an API key, then each user who downloads your app will be using the same API key unless you implement a mechanism to generate a unique API key for each user. This means that any API requests made by users of your app will be associated with your original API key.

Regarding billing, it depends on the terms and conditions of the API provider. Some providers charge based on the number of requests made, while others charge based on the number of unique users or installations of the app. You should carefully review the terms and conditions of the API provider to determine whether you will be billed for requests made by users of your app.

In any case, it is generally a good idea to implement a mechanism to track the number of API requests made by your app's users so that you can monitor usage and avoid unexpected charges. You may also want to consider implementing a mechanism to limit the number of requests made by each user to avoid exceeding the API provider's usage limits.

cawoolf commented 1 year ago

Related to #2

cawoolf commented 1 year ago

Ask Manjit about how API pricing works for apps in production?

Is all User activity billed to your personal API Key?

Monetize this where if the User wants the premium TTS API voice, they have to pay