Calculate unit economics
Calculate unit-cost metrics (e.g., cost per GB of storage) to expose cost density and target optimizations that lower overall spend.
- Source
- FOCUS MCP snapshot
- FOCUS editions
- v1.2, v1.3, v1.4
- Queries
- 1
- Mode
- Read-only
- Library snapshot (UTC)
- 2026-10-08
Calculate Unit Economics
Runs on sample- Source
- FOCUS 1.0 sample
- Result rows
- 30
- Status
- Runs on sample
- Execution
- Precomputed
- Result snapshot (UTC)
- 2026-10-11
Daily transfer cost per GB
30 rows. Scroll inside the table to see more.
Inspect Postgres SQL and original FOCUS SQL
Postgres SQL, as run
select (charge_period_start at time zone 'UTC')::date as charge_period_date,
round(sum(billed_cost) / nullif(sum(consumed_quantity), 0), 6) as cost_per_gb
from focus.cost_and_usage
where charge_description like '%transfer%'
and consumed_unit = 'GB'
group by (charge_period_start at time zone 'UTC')::date
order by charge_period_date asc
limit 500Original FOCUS SQL
SELECT
CAST(ChargePeriodStart AS DATE) AS ChargePeriodDate,
SUM(BilledCost) / NULLIF(SUM(CAST(ConsumedQuantity AS DECIMAL(10, 2))), 0) AS CostPerGB
FROM focus_data_table
WHERE
ChargeDescription LIKE '%transfer%'
AND ConsumedUnit = 'GB'
GROUP BY
CAST(ChargePeriodStart AS DATE)
ORDER BY
ChargePeriodDate ASC;Columns used
Column names from the source use case.