Does "免费" mean "free" in terms of price? Does "免费" mean "free" when we are talking about price? Or is it like "freedom"?
"免费" is "free" in terms of price.

"免" means "exempt"; "费" means "costs" or "fees". "Exempt from costs" = "free".

"自由" is "free" as in freedom/liberty.