This question might be a bit off topic but I think it has some value.
Suppose that one runs a cluster of microservices within some kind of orchestration environment (e.g. Kubernetes). Is there any way of calculating the running costs of the actual services as these are consumed by clients?
I am not talking about the actual running instances (e.g. AWS instances) but rather the services themselves.
Is there any model that helps calculating these costs which could be, potentially used for pricing?
As @Matthew L Daniel suggest you should check kubecost.
It is very easy to setup thanks to helm chart, and supports a few cloud providers.