How to determine the Jira user tier from a Connect app?

Hello! We have a Jira Cloud application (using Connect), and we need to impose some usage limits for certain expensive resources. The limits should depend on the user tier of the instance: It’s not a linear relationship, but it’s reasonable to allocate 10k-user instances more resources than to 100-user instances.

But we don’t see any way of determining the user tier. The REST APIs we found only tell us if the app is licensed or not, and if Jira has a free or paid license. Are we missing anything?