How to clear the resources and whats the cost?

Hi,

I wanted to know how much I will be charged if I create and run the agents.

On same note whats the best way to ensure I delete every resource created while creating the agents so that I don’t incur any cost when I am not using them.

Is it possible/recommended to create the agents using infra as code using Terraform ?
That way we can create, version, amend, and delete when done experimenting. Not sure how feasible it is though.

Thanks