AC Milan vice-president
The Rossoneri has had a poor start to the season and lies only 11th in Serie A after seven games, already more than 10 points off the pace.
The pressure on Allegri will increase if his side slips to a fifth league defeat at third-placed Lazio on Saturday (Sunday AEDT), but Galliani claims the coach will remain in charge whatever happens.
"Allegri's last game for the club won't be against Lazio in
"The club will continue with the coach that has put the most points on the table in Italian football for the past two-and-a-half years.
"Inter (Milan) ended last season with 22 points less than Milan and no one mentions that. The same is true for Juventus two seasons ago."
Inter Milan president Massimo Moratti admits he has a difficult decision to reach as he considers whether Andrea Stramaccioni should remain as the club's head coach.