gcp-finops
Skill4 starsChanged 5 months agoMITView on GitHub
GCP cost engineering and financial operations. Analyze billing, optimize resources, manage budgets, reduce spending. Use when discussing GCP costs, budget optimization, pricing decisions, cost analysis, or spend management.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- kumaran-is/claude-code-onboardingtheir own version, first seen May 25, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- kumaran-is/claude-code-onboarding★ 35same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository101 other files it gives its agents.
- ai-video-understandingSkill
- apple-foundation-modelsSkill
- arch-dddSkill
- arch-decision-recordsSkill
- arch-diagramsSkill
- arch-eventsSkill
- arch-mvp-roadmapSkill
- arch-python-modernSkill
- aws-app-runnerSkill
- aws-cicd-patternsSkill
- aws-security-hardeningSkill
- azure-functions-python-v2Skill
- azure-identity-m2m-authSkill
- azure-service-bus-messagingSkill
- azure-workflow-execution-modelsSkill
- caddy-tls-proxySkill
- compliance-frameworksSkill
- design-system-workflowSkill
- dev-debugging-strategiesSkill
- dev-standardsSkill
- docker-python-poetrySkill
- docker-pythonSkill
- fastapi-patternsSkill
- ffmpeg-laravel-videoSkill
- formik-yup-react-nativeSkill
- frontend-accessibilitySkill
- frontend-angular-aiSkill
- frontend-angularSkill
- frontend-angular-toolingSkill
- frontend-design-systemsSkill
- frontend-material-chatSkill
- frontend-material-design-3Skill
- frontend-svelteSkill
- gcp-cicd-patternsSkill
- gcp-cloud-runSkill
- gcp-cloudsql-infrastructureSkill
- gcp-observabilitySkill
- gcp-security-hardeningSkill
- github-actions-cicdSkill
- healthkit-biofeedbackSkill
- infra-terraformSkill
- ios-app-qualitySkill
- ios-audio-hapticsSkill
- jest-nestjs-testingSkill
- langchain-azure-openai-patternsSkill
- laravel-auth-hardeningSkill
- laravel-ci-mysqlSkill
- laravel-mix-webpackSkill
- laravel-modern-patternsSkill
- laravel-pint-patternsSkill
- laravel-s3-storageSkill
- laravel-sail-dockerSkill
- mobile-app-deploymentSkill
- mobile-e2e-testingSkill
- mobile-offline-syncSkill
- mobile-push-notificationsSkill
- mobile-video-uploadSkill
- mongodb-asyncmongoclient-patternsSkill
- mongodb-atlas-patternsSkill
- nestjs-patternsSkill
- The first 60 shown.
The file
Files
GCP FinOps
Cost engineering and financial operations patterns for Google Cloud Platform.
Note: Pricing estimates are approximate and based on us-central1 region. Use the GCP Pricing Calculator for current rates.
Cost Optimization Framework
The FinOps Cycle
┌─────────────┐
│ INFORM │ ← Visibility into spending
│ (analyze) │
└──────┬──────┘
│
┌──────▼──────┐
│ OPTIMIZE │ ← Right-size, eliminate waste
│ (reduce) │
└──────┬──────┘
│
┌──────▼──────┐
│ OPERATE │ ← Maintain efficiency
│ (control) │
└─────────────┘Quick Cost Reference
Compute (Cloud Run)
| Config | Cost/hour | Monthly (24/7) | Use Case |
| 0.5 vCPU, 256MB | $0.0144 | $10.50 | Minimal API |
| 1 vCPU, 512MB | $0.0324 | $23.60 | Standard API |
| 2 vCPU, 1GB | $0.0648 | $47.20 | Heavy processing |
Key insight: Scale-to-zero saves 80-95% for variable workloads.
GPU Instances (Cloud Run with L4)
| Config | Cost/GPU-sec | GPU Cost/hour | GPU Monthly (24/7) | Use Case |
| 4 vCPU, 16GB + L4 (min) | $0.0001867 | ~$0.67 | ~$490 | Light GPU inference |
| 8 vCPU, 32GB + L4 (rec) | $0.0001867 | ~$0.67 | ~$490 | Production GPU inference |
Note: Table shows GPU cost only. vCPU/memory charges are additional (see Compute table above). Total cost for 8 vCPU/32GB + L4 is ~$0.67 GPU + ~$0.19 vCPU/mem = ~$0.86/hr.
Key constraints:
- Minimum instance spec: 4 vCPU / 16 GiB RAM (hard GCP requirement)
- Recommended: 8 vCPU / 32 GiB RAM for production workloads
- Cold start penalty: 20-40s (GPU initialization)
- Min-instances break-even: ~2,700 jobs/month justifies keeping 1 instance warm
- GPU billing is per-second ($0.0001867/GPU-sec), vCPU/memory billed separately
Caution: Agent-generated GPU cost estimates are frequently wrong (e.g., confusing $/hr with $/min — a 60x error). Cross-check against Cloud Run pricing before committing to a budget — unverified estimates have shipped with 60x errors that made the FinOps recommendation actively harmful.
Database (Cloud SQL)
| Tier | Monthly | RAM | Best For |
| db-f1-micro | $16 | 0.6GB | Dev only |
| db-g1-small | $28 | 1.7GB | Staging |
| db-standard-1 | $68 | 3.75GB | Small prod |
| db-standard-2 | $136 | 7.5GB | Medium prod |
Key insight: +35% for HA (REGIONAL).
Cache (Memorystore Redis)
Pricing model: $0.049/GB/hour (BASIC tier, us-east4)
| Size | BASIC | STANDARD_HA |
| 1GB | ~$35/mo | ~$70/mo |
| 2GB | ~$72/mo | ~$144/mo |
| 5GB | ~$180/mo | ~$360/mo |
Key insights:
- 2x cost for HA (STANDARD_HA), but includes automatic failover
- Pricing is hourly: $0.049/GB/hour x 730 hours/month = ~$35.77/GB/month
- Custom sizes available: 1GB minimum, 300GB maximum (BASIC tier)
- Region variations: us-east4 typically cheapest, check calculator for others
Cost calculation formula:
Monthly cost = Memory_GB x $0.049/hour x 730 hours/month x HA_multiplier
Where:
HA_multiplier = 1.0 (BASIC) or 2.0 (STANDARD_HA)
Example: 2GB STANDARD_HA
= 2 x $0.049 x 730 x 2.0
= $143.08/monthRight-Sizing Decision Matrix
| Current State | Recommendation | Savings |
| CPU <10% utilization | Downsize tier | 30-50% |
| Memory <30% used | Reduce RAM allocation | 20-40% |
| Scale-to-zero disabled | Enable for dev/staging | 80-95% |
| HA in staging | Disable HA | 26-35% |
| SSD in staging | Switch to HDD | 47% |
Budget Alert Thresholds
| Threshold | Action | Audience |
| 50% | Informational | Team |
| 75% | Review spending | Tech Lead |
| 90% | Reduce non-essential | Team Lead |
| 100% | Emergency review | Management |
See reference.md for detailed pricing research methods and optimization patterns.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

