Get started
Infracost shifts cloud costs left—into your engineering workflow. Get cost estimates for Terraform, CloudFormation, and AWS CDK before deployment, catch FinOps issues aligned with Well-Architected Frameworks, and auto-fix problems with a single merge. Supports AWS, Azure, and Google Cloud.
This space moves fast! If you run into any issues, join our community Slack and we'll help you quickly 😄
1. Use AI Agent Skills
Choose your AI agent for specific installation instructions:
Claude Code
GitHub Copilot
OpenAI Codex
Cursor
Gemini CLI
Give your AI coding agent real-time access to cloud pricing and your organization's FinOps policies. Instead of generating infrastructure that needs a separate review cycle, an agent equipped with Infracost skills can scan existing IaC for cost and tagging violations, optimize resources to fit a budget, and generate compliant infrastructure on the first attempt.
Install the skill in your agent, then use natural prompts to get cost estimates, fix tagging violations, and generate compliant IaC:
Give me a full cost breakdown of this project and highlight the most expensive resources.
Scan this project and fix all tagging violations.
Create a 3-tier web app on AWS using ECS and Postgres that costs less than $400/month and is compliant with all of my organization's FinOps policies.
2. Use an IDE Extension
Choose your editor for specific installation instructions:
VS Code
Cursor
Windsurf
JetBrains
Antigravity
VSCodium
Eclipse Theia
See inline cloud cost estimates, FinOps policy violations, and tagging issues directly in your editor as you write Terraform or CloudFormation — before anything reaches a pull request.
Once installed, log in to Infracost from the extension sidebar. The language server will start scanning your workspace, and cost estimates will appear as code lenses above each resource block. Click any code lens to see the full cost breakdown, policy violations, and tagging issues for that resource.
3. Add to your CI/CD
Use our integrations to add Infracost to pull requests, it only takes 15 minutes! This provides your team with a safety net as people can understand cloud costs and FinOps best practices upfront, and discuss them as part of your workflow. See our demo video to learn more.
