The pair are coming off contract this month.
Galliani said: "The Number 9 jersey could remain with Pippo Inzaghi. We speak every day. We are negotiating with Mathieu Flamini and he agreed to lower his wages, but still needs to get to a figure that satisfies us.
"At this moment the players must force how much they love the Milan jersey."