Let's assume one hash is exactly equivalent to one attempt at brute force and the keys are 256 bits. 5GH/s * ($5B / $22K) is about 10^17 GH/s. There are 2^256 possibilities, which is about 10^77. So to try them all you need about 10^60 seconds. Granted that is the worst case for the cracker, but the average case is also going to take quite a while.