Gwei is a unit of account that refers to 0.000000001 ether. It is also equivalent to 1000 wei, the smallest unit of account in Ethereum. It is used to calculate the price of a unit of gas.