2^1014 is about the right order of magnitude.
You expect the probability a randomly chosen number near 2^1024 is prime is something like 1/1000.
The Rabin-Miller test is usefull, and can tell you a given number is prime with whatever probability you like (the closer you take this probability to 1 the more sure you are it's prime, and also the longer the algorithm takes).
Once your number has passed Rabin-Miller, you can send it into the Elliptic Curve Primality Proving algorithm (ECPP) which can certify that your number is prime (or determine it's composite). This takes longer than a probabilistic test, but if you want guaranteed security, it's the way to go.
You should be able to find many versions of both these algorithms (and many others) online.