calculate_unit_cost
Divides your actual monthly cloud spend by business volumes you supply to calculate cost per customer, request, or order. See if spend is growing faster or slower than the business.
Instructions
FinOps unit economics on the user's actual bill (a local FOCUS 1.x CSV export; nothing is sent anywhere). Divides monthly recurring spend by business volumes the user supplies (customers, requests, orders) to give cost per unit by month, and whether spend is growing faster or slower than the business. Optionally scoped to one product or team by tag. Use for: 'cost per customer', 'are we scaling efficiently'. Ask the user for the monthly volumes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | Yes | Business volume per month, e.g. [{'month': '2026-10', 'units': 120000}]. | |
| tag_key | No | Scope cost to rows with this tag (with tag_value). | |
| file_path | Yes | Local path to a FOCUS export, .csv or .csv.gz. | |
| tag_value | No | ||
| unit_name | No | What a unit is, e.g. 'customer' or 'request'. | unit |