What's the difference between duration(running) and duration(retained) in temporal cloud?

I was going through temporal cloud pricing. duration(running) and duration(retained) seems ambiguous to me. Does anyone knows the difference between these two and how to evaluate these?

Hi @AnthonySoprano

running: refers to running workflows.

retained: refers to closed workflows (Cancelled, Completed, Continued-As-New, Failed, Terminated, Timed Out) and has to do with the retention period Clusters | Temporal Documentation

Let me know if it helps,

Antonio

Thanks Antonio, it helps