system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars] How expensive is it to build a standard Battle Droid, and how much does it cost to buy one? What about clones? Did Palpatine pay for his armies or did he acquire them for free somehow?

In reference to the Droids/Clones that make up the bulk of their respective armies, so a B1 Battle Droid and whatever is standard for a clone, including the cost to outfit them with armor/weapons.
gpt
The money to make both armies actually came from the same place. The Clone Army was originally funded by Damask Holdings, a sect of InterGalactic Banking Clan under the control of Darth Plagueis. The Droid Army was also funded by the Banking Clan, with some financial support from the Trade Federation as well.