different Mastodon instances can have different character limits
I just found this one https://hear-me.social/about
On this server, the maximum number of characters in a post is 12,000. The Mastodon default is 500, but I bumped it higher. Also, note that a URL in a Mastodon post always counts as 23 characters, regardless of its true length. URL shorteners are not required for Mastodon posts.