Building a sea-port is very variable. It can cost as little as USD 16 million per 300 metres berth up to USD 7 billion for a full commercial port.
If you want to know more, please go here. This data was sourced from the book Transportation and the Belt and Road Initiative, in which more data as well as the original primary sources of the data are available.