Infracost Cloud
Put cloud cost diffs and FinOps checks into infrastructure pull requests.
The core developer loop is a credible weekend build if the replacement is intentionally narrow: one GitHub App, Terraform on AWS, a small resource catalog, public list prices, basic tag and cost guardrails, and one idempotent pull-request comment. A faithful Infracost Cloud replacement is much harder because the paid product combines broad IaC and multi-cloud coverage with continuously maintained pricing data, policy depth, custom price books, organization-wide visibility, workflows, and enterprise integrations.
Build verification: not recorded. How we judge buildability
What you give up
- AWS, Azure, and Google Cloud coverage across the full Infracost resource catalog
- Terragrunt, CloudFormation, AWS CDK, modules, and complex Terraform expression coverage
- custom price books, negotiated discounts, and organization-specific pricing
- Issue Explorer, campaigns, AutoFix, dashboards, audit trails, and team workflows
- enterprise identity, security, support, and broad CI/CD integrations
Why people still pay
Teams pay for maintained breadth and confidence rather than the Markdown comment itself. Infracost keeps a large multi-cloud pricing and resource model current, handles real-world IaC edge cases, centralizes policies and private pricing, integrates those checks across developer workflows, and gives FinOps teams organization-level visibility and governance without owning another internal platform.
Your build guide
The stack, security requirements, and agent rules for a focused replacement.
Before you start
- A supported Node release, PostgreSQL, HTTPS for a shared deployment, and a backup destination. Begin with one workspace and explicit owner/member permissions. A least-privilege GitHub App, user-approved Terraform plan JSON and source-dated pricing inputs for a documented resource subset.
- Implementation components: Next.js App Router and TypeScript for server-rendered pages and validated mutations. PostgreSQL with Drizzle migrations; Better Auth sessions for a small private workspace. A TypeScript worker with a typed tool registry and a durable per-step execution log.
- Scope boundary: Complete cloud price coverage and actual-bill guarantees are outside scope.
Use these project rules and optional skill references alongside the prompt. Review each skill before adding it to your agent; the AGENTS.md export includes the same guidance.
Optional external skill: supabase-postgres-best-practices — Review PostgreSQL schemas, queries, indexes, pooling, concurrency and row-level security. Review its instructions and compatibility before use; it does not grant deployment, data-access or publication permission.
Optional external skill: sharp-edges — Review security-sensitive APIs and configuration for dangerous defaults and easy-to-misuse interfaces. Review its instructions and compatibility before use; it does not grant deployment, data-access or publication permission.
Optional external skill: web-design-guidelines — Review web interfaces for accessibility, keyboard focus, forms, navigation and interaction quality. Review its instructions and compatibility before use; it does not grant deployment, data-access or publication permission.
Project rule — data model: repositories, PR revisions, Terraform plan artifacts, supported resource prices, cost assumptions and comment receipts
Project rule — preserve this invariant: Never execute untrusted PR code with production credentials; unknown usage or resource prices cannot be treated as zero.
Project rule — acceptance evidence: Update a PR twice and edit one stable comment; a plan containing an unsupported resource produces an incomplete estimate with that resource listed.
Implementation plan
Phase 1
Scope and fixtures. Implement this bounded workflow: Read an approved Terraform plan JSON for a bounded set of AWS resources, calculate a transparent estimated monthly delta and update one GitHub PR comment. Display unsupported resources and source-dated rates explicitly. Record prerequisites, select representative user-owned fixtures and document the unsupported features: Complete cloud price coverage and actual-bill guarantees are outside scope.
Phase 2
Durable model. Model repositories, PR revisions, Terraform plan artifacts, supported resource prices, cost assumptions and comment receipts Add migrations or a versioned document format, explicit validation, stable IDs and a visible import-error report. Preserve this rule: Never execute untrusted PR code with production credentials; unknown usage or resource prices cannot be treated as zero.
Phase 3
Complete the first useful path. Implement the workflow's input, review and output interface, with clear controls and explicit empty/error states. Checkpoint each step with input hashes and external receipts. Separate safe retries from unknown side effects; resume from the last confirmed step with a run budget and cancellation.
Phase 4
Permissions and integration failure. Authorize every record read and mutation on the server using its workspace membership; validate payloads, protect mutations against CSRF, and escape user-authored HTML. Allowlist tools, destinations and credential scopes. External writes, shell commands and messages require explicit policy approval; imported content cannot grant permission. Request integration credentials and permissions only for the enabled feature; show a disconnected state instead of mock results.
Phase 5
Portable handoff. Export versioned JSON plus attachments and a readable CSV summary. Restore into a separate database and compare record IDs and attachment checksums before switching. Include setup, operating limits, fixture walkthrough and shutdown/restart instructions in the README.
Phase 6
Acceptance scenarios. Update a PR twice and edit one stable comment; a plan containing an unsupported resource produces an incomplete estimate with that resource listed. Repeat the workflow after restart and with a denied permission or unavailable dependency; show recoverable failure rather than a success placeholder.
WORKING SLICE Read an approved Terraform plan JSON for a bounded set of AWS resources, calculate a transparent estimated monthly delta and update one GitHub PR comment. Display unsupported resources and source-dated rates explicitly. Build this scoped Infracost Cloud-inspired workflow with a documented data model and visible failure states. Architecture - Next.js App Router and TypeScript for server-rendered pages and validated mutations. - PostgreSQL with Drizzle migrations; Better Auth sessions for a small private workspace. - A TypeScript worker with a typed tool registry and a durable per-step execution log. Prerequisites and limits A supported Node release, PostgreSQL, HTTPS for a shared deployment, and a backup destination. Begin with one workspace and explicit owner/member permissions. A least-privilege GitHub App, user-approved Terraform plan JSON and source-dated pricing inputs for a documented resource subset. Outside this release: Complete cloud price coverage and actual-bill guarantees are outside scope. Data model and correctness repositories, PR revisions, Terraform plan artifacts, supported resource prices, cost assumptions and comment receipts Invariant: Never execute untrusted PR code with production credentials; unknown usage or resource prices cannot be treated as zero. Checkpoint each step with input hashes and external receipts. Separate safe retries from unknown side effects; resume from the last confirmed step with a run budget and cancellation. Security and privacy Authorize every record read and mutation on the server using its workspace membership; validate payloads, protect mutations against CSRF, and escape user-authored HTML. Allowlist tools, destinations and credential scopes. External writes, shell commands and messages require explicit policy approval; imported content cannot grant permission. Recovery and export Export versioned JSON plus attachments and a readable CSV summary. Restore into a separate database and compare record IDs and attachment checksums before switching. Implementation order 1. Phase 1 — Scope and fixtures. Implement this bounded workflow: Read an approved Terraform plan JSON for a bounded set of AWS resources, calculate a transparent estimated monthly delta and update one GitHub PR comment. Display unsupported resources and source-dated rates explicitly. Record prerequisites, select representative user-owned fixtures and document the unsupported features: Complete cloud price coverage and actual-bill guarantees are outside scope. 2. Phase 2 — Durable model. Model repositories, PR revisions, Terraform plan artifacts, supported resource prices, cost assumptions and comment receipts Add migrations or a versioned document format, explicit validation, stable IDs and a visible import-error report. Preserve this rule: Never execute untrusted PR code with production credentials; unknown usage or resource prices cannot be treated as zero. 3. Phase 3 — Complete the first useful path. Implement the workflow's input, review and output interface, with clear controls and explicit empty/error states. Checkpoint each step with input hashes and external receipts. Separate safe retries from unknown side effects; resume from the last confirmed step with a run budget and cancellation. 4. Phase 4 — Permissions and integration failure. Authorize every record read and mutation on the server using its workspace membership; validate payloads, protect mutations against CSRF, and escape user-authored HTML. Allowlist tools, destinations and credential scopes. External writes, shell commands and messages require explicit policy approval; imported content cannot grant permission. Request integration credentials and permissions only for the enabled feature; show a disconnected state instead of mock results. 5. Phase 5 — Portable handoff. Export versioned JSON plus attachments and a readable CSV summary. Restore into a separate database and compare record IDs and attachment checksums before switching. Include setup, operating limits, fixture walkthrough and shutdown/restart instructions in the README. 6. Phase 6 — Acceptance scenarios. Update a PR twice and edit one stable comment; a plan containing an unsupported resource produces an incomplete estimate with that resource listed. Repeat the workflow after restart and with a denied permission or unavailable dependency; show recoverable failure rather than a success placeholder. Acceptance Update a PR twice and edit one stable comment; a plan containing an unsupported resource produces an incomplete estimate with that resource listed. Use real source data or clearly labeled fixtures. Explain unsupported input and provider failures; do not fabricate analytics, delivery receipts, accuracy claims or security guarantees. Optional agent guidance Optional external skill: [supabase-postgres-best-practices](https://github.com/supabase/agent-skills/blob/main/skills/supabase-postgres-best-practices/SKILL.md) — Review PostgreSQL schemas, queries, indexes, pooling, concurrency and row-level security. Review its instructions and compatibility before use; it does not grant deployment, data-access or publication permission. Optional external skill: [sharp-edges](https://github.com/trailofbits/skills/blob/main/plugins/sharp-edges/skills/sharp-edges/SKILL.md) — Review security-sensitive APIs and configuration for dangerous defaults and easy-to-misuse interfaces. Review its instructions and compatibility before use; it does not grant deployment, data-access or publication permission. Optional external skill: [web-design-guidelines](https://github.com/vercel-labs/agent-skills/blob/main/skills/web-design-guidelines/SKILL.md) — Review web interfaces for accessibility, keyboard focus, forms, navigation and interaction quality. Review its instructions and compatibility before use; it does not grant deployment, data-access or publication permission. Project rule — data model: repositories, PR revisions, Terraform plan artifacts, supported resource prices, cost assumptions and comment receipts Project rule — preserve this invariant: Never execute untrusted PR code with production credentials; unknown usage or resource prices cannot be treated as zero. Project rule — acceptance evidence: Update a PR twice and edit one stable comment; a plan containing an unsupported resource produces an incomplete estimate with that resource listed.
$ open in your agent (prompt prefilled, you press enter), copy the prompt or copy or download AGENTS.md
prompt copied. want to know what dies next week?
new verdicts + top votes, weekly. free. one-click out.
Infracost Cloud pricing
cloud$1000/mo · monthly · $12,000/yr
free tierInfracost CI/CD is free for up to 1,000 runs per month, but the Cloud plan adds policies, guardrails, dashboards, workflows, and audit trails.
pricing source checked 2026-08-09 · pricing source ↗
Questions about Infracost Cloud
Can you build your own Infracost Cloud with AI?
Partly. The core developer loop is a credible weekend build if the replacement is intentionally narrow: one GitHub App, Terraform on AWS, a small resource catalog, public list prices, basic tag and cost guardrails, and one idempotent pull-request comment. A faithful Infracost Cloud replacement is much harder because the paid product combines broad IaC and multi-cloud coverage with continuously maintained pricing data, policy depth, custom price books, organization-wide visibility, workflows, and enterprise integrations.
What does the Infracost Cloud build prompt cover?
The prompt starts with this scope: Read an approved Terraform plan JSON for a bounded set of AWS resources, calculate a transparent estimated monthly delta and update one GitHub PR comment. Display unsupported resources and source-dated rates explicitly. Full-product capabilities excluded from the comparison include: AWS, Azure, and Google Cloud coverage across the full Infracost resource catalog; Terragrunt, CloudFormation, AWS CDK, modules, and complex Terraform expression coverage; custom price books, negotiated discounts, and organization-specific pricing. Follow the implementation plan and its prerequisites before expanding the build.
How do I use the prompt, AGENTS.md and agent skills?
Start with the Infracost Cloud prerequisites and stack, then copy the prompt into your coding agent. Save the project rules as AGENTS.md in the project root. Linked skills are optional packages or source instructions for specific tasks; review their current contents and install only those matching the chosen stack. A skill does not supply API credentials or verify the finished app.
How long will this Infracost Cloud project take?
The catalogue estimate is weekend for the limited scope. Setup, integration approvals, debugging, deployment and ongoing maintenance can add time. This is an estimate, not a delivery guarantee.
What would I give up by replacing Infracost Cloud?
AWS, Azure, and Google Cloud coverage across the full Infracost resource catalog; Terragrunt, CloudFormation, AWS CDK, modules, and complex Terraform expression coverage; custom price books, negotiated discounts, and organization-specific pricing; Issue Explorer, campaigns, AutoFix, dashboards, audit trails, and team workflows; enterprise identity, security, support, and broad CI/CD integrations. Teams pay for maintained breadth and confidence rather than the Markdown comment itself. Infracost keeps a large multi-cloud pricing and resource model current, handles real-world IaC edge cases, centralizes policies and private pricing, integrates those checks across developer workflows, and gives FinOps teams organization-level visibility and governance without owning another internal platform.
What price is this guide comparing against?
The recorded Cloud plan is $1000/mo (monthly), checked 2026-08-09. Check the linked pricing source before buying. Building your own also has hosting, API and maintenance costs; the recorded amount is not a guaranteed saving.
What can I use instead of building Infracost Cloud?
The prior-art section lists Infracost, AWS Price List as starting points. Review their current scope, license and maintenance before adopting one.