How much energy would it take to pull carbon dioxide out of the air?

How much energy would it take to pull carbon dioxide out of the air?