Cache estimation for command

I was trying to execute a Cypher or a apoc processure. What kind of statement can I use to estimate the cache size that the command might use? (Let's say I am using a browser)

I see gds has such functions but fail to find the same for apoc, or regular Cypher.

There is no estimation per se,
you can prefix your statement with EXPLAIN to see the estimated query plan
or with PROFILE to run the query with profiling enabled which shows you the memory usage for each and total operators