The United States is still the richest country in the world with a GDP of $21.34 trillion. China, on the other hand, has a GDP of $14.22 trillion.