I charge 20% up front. Doesn't matter if it's a $40,000 contract or a $4,000 contract. Freelancers are easy to screw over because most of us can't afford to take people to court. It would usually cost me way more money in legal fees than the contract is even worth.
There are people out there that, I think, love screwing over freelancers. They get joy out of it.