Cost to build a public flat has risen by 5.4 per cent to nearly HK$1 million at a time when Hong Kong faces a massive deficit.