Great question!
Other than Level 1 Tier 3 buildings (like a Subterranean Factory) which gives a max ally plunder bonus ending in 500 gold, every other building in the game gives a max plunder bonus ending in 000. So if you don't have an odd number of Level 1 Tier 3 buildings (T3 L1) your max allies bonus will end in 000.
The way most people say it is "if your plunder bonus doesn't end in 000 you're not at max". I have to overdo it. Lol.
And also, it's not just about how much $ you have in allies, it's based on a comparison of your total power (including ally stat bonuses) vs your defender's total power. If he's stronger than you, you're going to get max ally bonus with less $ in allies required, and if he's weaker than you, you would have to have more $ I'm allies to get max ally bonus. It takes a crazy amount of $ in allies to get max ally plunder bonus from people much smaller than you.