Is there a spec on how iMessage in the Cloud allocates use on devices?

I read that iMessage doesn’t do "space saving" like iCloud Photos.

I have 75GB of messages in iCloud, I see 25GB on my 500GB Mac and 11GB on my 64GB iPhone.

How is this use determined, how do I know what’s available on each device?