The limit is "fuzzy". Around 2.5-3MB depending on the content. Seems to apply to all models. (`JSON.

The limit is "fuzzy". Around 2.5-3MB depending on the content. Seems to apply to all models. (JSON.stringify(inputs).length needs to be less than 9.5 MB, to be precise. I.e. the input to AI.run is stringified at one point internally and must not exceed ~10 million bytes or you'll get "request to large". cc @Kristian)
Was this page helpful?