According to Plutarch's book "Parralel Lives", the tale of the incident of the amount his ransom should be is a true story. He didn't want the pirate leader to think he couldn't afford the ransom, so he increased it from 20 talents of gold, which at the time was a massive amount of money, to the enormously ridiculous amount of 50 talents of gold without any hesitation.