The funding is part of the $107m the Government set aside for housing the homeless during the Covid-19 lockdown.
"Finding safe accommodation for our most vulnerable people through the Covid-19 pandemic has been a key priority for the Government," Housing Minister Megan Woods said in late April.
"People living rough or in accommodation where social distancing was not possible were especially vulnerable to Covid-19."
Woods' announcement came after the money had been spent, given the lockdown ended April 27.
The OIA, released by the Ministry of Housing and Urban Development (HUD) said that the people placed in the motels during lockdown were also being supported by other wrap-around and mental health services.
"This includes regular checks on their wellbeing, ensuring they're able to access food and welfare and connecting them with other essential services, such as healthcare."
It added that work is under way to provide more permanent housing for those put up in motels during lockdown.
The motels were initially contracted for three months, but HUD said there was some variation when it came that length of time people stayed.
More than a third of the total number of those put up in motels were in Auckland.
There were 112 people temporarily housed in Wellington, at a cost of $1.2m.
Some 80 people were put up on the East Coast and 75 in Canterbury.
The more than $100m in funding for this project was one of the first of the Government's pre-Covid-19 Budget announcements.