Skip to main content

Third-party integrations

Infracost can be used in the following third-party systems. You should only consider using them if you cannot use our CI/CD integrations as these integrations are very minimal, do not post pull request comments nor do they work with other Infracost Cloud features such as FinOps policies, Tagging policies or Guardrails.

Creating an integration

Please follow these steps when creating a third-party integration with Infracost:

  1. User-specific API keys: ask your users to sign up for their own free Infracost API key and enter that into your product's settings page. This approach is used by our partners, including HashiCorp, as it enables users to use custom price books and other user-specific Infracost features. Your docs should mention something like:
  2. Use Terraform directory method: we recommend you run Infracost against a Terraform directory (as opposed to a Terraform plan JSON file) as that is faster and does not require you to set cloud credentials or secrets.
  3. CLI JSON format: Infracost's CLI has a JSON format that you should use, e.g. get total cost estimate. We do not have language-specific clients so your application needs to run the Infracost CLI. You can also use this API if you have a Terraform plan JSON file already.
  4. Email us: Our email is, contact us if you need help or advice on the best ways to integrate, or would like to be featured in this page!