Cost and credit usage for Snowflake App Runtime

This topic describes how Snowflake bills compute used by Snowflake App Runtime and where to track that usage.

How App Runtime compute is billed

Snowflake App Runtime uses a dedicated service type:

Service typeDescription
SNOWFLAKE_APP_RUNTIMECompute used to build and host Snowflake App Runtime services.

All App Runtime apps in an account share Snowflake-managed compute. Credit usage is billed at the account level under the SNOWFLAKE_APP_RUNTIME service type, separate from your warehouses and other compute. Per-app cost attribution isn’t available.

Find App Runtime usage in metering views

App Runtime credits appear in the same metering views that report other Snowflake compute usage:

For cross-account roll-ups, use organization-level metering views such as USAGE_IN_CURRENCY_DAILY.

The following query returns hourly App Runtime credit usage for the last 30 days:

SELECT
    start_time,
    end_time,
    credits_used_compute
FROM snowflake.account_usage.metering_history
WHERE service_type = 'SNOWFLAKE_APP_RUNTIME'
  AND start_time >= DATEADD('day', -30, CURRENT_TIMESTAMP())
ORDER BY start_time DESC;

Inspect App Runtime credit usage

For a focused view of App Runtime credit usage, query SNOWFLAKE_APP_RUNTIME_COMPUTE_HISTORY. The view returns hourly account-level credit usage for App Runtime over the last 365 days.

SELECT
    start_time,
    end_time,
    credits_used
FROM snowflake.account_usage.snowflake_app_runtime_compute_history
WHERE start_time >= DATEADD('day', -7, CURRENT_TIMESTAMP())
ORDER BY start_time DESC;

Reduce App Runtime cost

App Runtime bills compute only while apps are running. To reduce cost:

See also