Security-related costs, with more than 12,000 police officers expected to be deployed, will account for almost half the expense, said the officials, who declined to be named as they are not authorised to speak publicly about the visit.