See this page for what is request cost. Make somthing that could simulate the run of a fucntion(s), without actually sending the request, to calculate the request cost in total or for each request.
Please share your thoughts on how it can be implemented and questions in this issue.