A powhiri at Government House cost $4,500 while the remaining sum was made up of salary and travel costs for two media co-ordinators staff and sundry expenses.
The powhiri at Government House was the only event open to media and there were no opportunities for the wider public to see Obama.
Obama's visit included two days playing golf with former PM Sir John Key in Northland, an invite-only dinner and speaking event, a powhiri and courtesy meeting with Ardern, and a meeting with a group of Maori women leaders.
The sum does not include costs of police time on security. Obama had diplomatic protection squad security as well as regular police around his hotel and motorcade.
Obama's visit was arranged by the US-New Zealand Council and appearance fees and other costs covered by sponsors Westpac, Air New Zealand and Mastercard. The companies had treated Obama to nights at luxury golf courses up North, flown in chef Peter Gordon to prepare the dinner and offered fine New Zealand wines.
Ahead of the meeting, Key had said even one tweet from Obama about a New Zealand golf course would make the visit worth it in tourism exposure – but that tweet never came.
Former US Secretary of State Hillary Clinton also visited New Zealand in May, but was not treated to the same level of help beyond some security detail. Her speaking event was open to anybody who bought a ticket as well as the media.