BlogsTemporalCost Transparency and Billing API

Cost Transparency and Billing API

Cost Transparency and Billing API

3
posts
2026

Temporal Cloud now offers enhanced cost transparency through a new Billing API and the Billable Action Count metric. The Billing API provides namespace- and tag-level cost attribution with hourly granularity, accessible via the Cloud Ops API, CSV downloads, and integrations with Datadog and Vantage. The Billable Action Count metric offers granular usage information for namespaces and workflow types, available via the OpenMetrics endpoint, aiding in optimization, alerting, forecasting, and attribution. This post details practical ways to use the Billable Action Count metric for cost analysis, debugging, and alerting, including PromQL queries for identifying high-cost Workflow Types and Action Types, estimating total Actions over time, and setting up adaptive alerts for Action volume spikes.

2026

Dogfooding the Billable Actions metric: How granular observability improved our metering validation

6/25/2026

This post details the internal dogfooding of the Billable Actions metric, demonstrating how granular observability improved metering validation. It highlights the transition from aggregate usage views to per-Workflow Type and per-Action Type breakdowns via the OpenMetrics endpoint. The post explains how this granularity aids in debugging discrepancies between raw action counts and the metering pipeline by allowing direct comparison of per-type metrics. It also outlines the benefits for customers, including improved usage visibility, optimization opportunities, and validation capabilities.

Getting the most out of the Billable Action Count metric

6/25/2026

This post introduces and details the practical application of the `temporal_cloud_v1_billable_action_count` metric. It provides specific PromQL queries for analyzing cost drivers by Workflow Type and Action Type, estimating total Actions over time, and setting up adaptive alerts for Action volume spikes. It also explains how this metric can be used for debugging workflow execution paths by identifying rare bugs and deployment regressions that add extra Actions.

Improved cost transparency with usage-based billing

6/25/2026

This post introduces the Temporal Cloud Billing API and the Billable Action Count metric. The Billing API allows for namespace- and tag-level cost attribution with hourly granularity, accessible through the Cloud Ops API, CSV downloads, and integrations with Datadog Cloud Cost Management and Vantage. The Billable Action Count metric provides usage information for namespaces and workflow types down to one-minute granularity via the OpenMetrics endpoint. The post also details the internal implementation of the Billing API using Temporal Workflows for report generation, including queueing and rate-limiting mechanisms.