ESLint for Cloud Costs — Real-time cloud cost intelligence inside your editor + interactive dashboard.
Modern cloud applications suffer from a fundamental problem:
Developers write code today, but understand its cost weeks later.
This delay leads to:
- Unexpected cloud bills
- Poor cost optimization
- Lack of accountability
CloudGauge solves this by bringing cost awareness directly into the development phase.
“Shift cloud cost awareness from billing time → coding time.”
CloudGauge provides:
- Real-time cost estimation in VS Code
- Optimization suggestions
- PR-level cost impact tracking
- Interactive dashboard for insights
- Tamper-proof cost logs using Web3
- No visibility of cost while coding
- Feedback loop delayed (billing cycle)
- Expensive APIs used unknowingly
- No cost accountability in PRs
- Reports can be manipulated
“ESLint for Cloud Costs”
CloudGauge:
- Analyzes your code as you write
- Estimates cloud cost instantly
- Suggests optimizations
- Tracks cost changes across PRs
- Ensures trust with blockchain-backed verification
- Detects API & cloud usage
- Shows instant monthly cost projection
- Works inside developer workflow
- Suggests cost-saving strategies:
- Model switching (GPT-4 → GPT-3.5)
- Caching
- Request batching
- Compares:
- Base branch vs new branch
- Shows cost impact of every change
- Prevents expensive merges
The dashboard provides:
- Cost breakdown visualization
- Service-wise cost insights
- Historical analysis
- Report summaries
👉 Helps teams understand and track cost trends over time
- Generates SHA-256 hash of cost reports
- Stores hash on Sepolia blockchain
- Ensures reports cannot be modified
👉 Adds trust + auditability
VS Code Extension
↓
Backend (TypeScript)
↓
AST Analysis Engine
↓
Cost Estimation Engine
↓
Database (Prisma)
↓
Frontend Dashboard (Vercel)
↓
Hash Generation (SHA-256)
↓
Blockchain (Sepolia)
- React (Vercel Deployment)
- Dashboard UI for cost visualization
- TypeScript
- Node.js
- AST Parsing (Babel / TS Compiler API)
- Prisma ORM
- PostgreSQL
- Solidity (Smart Contract)
- Ethers.js
- Sepolia Testnet
- Parses source code using AST
- Detects API/cloud usage patterns
- Maps detected services → pricing models
- Estimates monthly cost based on usage assumptions
- Identifies expensive patterns
- Suggests alternatives with cost impact
- Computes:
- Before cost
- After cost
- Outputs difference
- Displays:
- Cost trends
- Service-level breakdown
- Report summaries
Cost Report → SHA-256 Hash → Stored On-Chain
- Only hash stored on blockchain
- Full data stored in DB
- Open code in VS Code
- Detect API usage
- Show cost estimate
- Apply optimization → cost drops
- Show PR cost diff
- View report in dashboard
- Verify report integrity via blockchain
// Before
use GPT-4 → $1000/month
// After optimization
use GPT-3.5 → $200/month
// Add caching
→ $50/monthWe use Web3 only for verification, not computation.
- Prevent report tampering
- Provide audit trail
- Enable trust in cost data
“We don’t just show developers that their code is expensive —
we show them how to make it cheaper instantly.”
- CI/CD integration (PR gating)
- Multi-cloud support (AWS, GCP, Azure)
- AI-driven optimization engine
- Cost heatmaps inside editor
- Enterprise cost governance tools
Contributions are welcome!
- Fork the repository
- Create a feature branch
- Submit a pull request
MIT License