The longest ranging commercial airplane yet to go into production is the A340-8000 - the -200 derivative with -300E weights - of which 1 has been produced and I believe operated by the Sultan of Brunei. Initially Air Canada ordered 2, but cancelled them. It has a range of just under 8,000nm.
Apart from this airplane the next longest ranging (full passengers + baggage) is the 298t B777-200ER with a range of 7,780nm. Then comes some lighter B777-200ER variants, and then the A340-300E, with a range of 7,200nm. After this you have the B747-400.
However, if you want to carry loads of freight (and most airlines do) you still cannot beat the range/payload capacity of the B747-400. Whereas the A340 and B777 have roughly a 50t payload capacity, the B747-400 has a 60-65t capacity.
More bang for your buck, so to speak.