MemAvailable field in /proc/meminfo appeared in Linux kernel around 2015 and is recommended way to query free RAM. The way we currently estimate it consistently reports more free RAM available.
The old way of estimating free RAM should still work if MemAvailable field is not there.