Skip to main content

Credit Consumption

Ines avatar
Written by Ines
Updated over a month ago

Overview

The Credit Consumption page is your billing dashboard that shows how many credits your organization uses for automated testing. Think of credits as the "currency" you spend when running tests - each test step costs a small amount, and this page helps you track and understand your usage patterns.


Prerequisites

  • You must be logged into your Thunder Code account.

  • You must have Admin role permissions in your organization.

Step-by-Step: How to check credit consumption

Open the Subscription & Billing Menu

In the sidebar navigation, locate and click on the Subscription & Billing option to access credit consumption.

Navigate to Credit consumption

Within the Subscription & Billing @section, click on Credit Consumption.


Summary Cards (Top Metrics)

Metric

Description

Calculation

Monthly Credits Used

Total credits used this month

SUM(credits) for current month

Average Credits/Test

Avg. credit cost of a test (last 30 runs)

AVG(credits) over last 30 test runs

% Change vs Last Month

Usage delta

((Current - Previous) / Previous) * 100


Event types

  • Queued Run

Queuing test cases will generate credit consumption with Queued Run event type.

  • Debug Run

    • Running a test case on debug mode will generate credit consumption with Debug Run event type

    • The consumed credits for each step are shown when hovering on the step duration


Usage Calculation Logic

  • 1 step = 0.01 credits

  • Total Credits for a Test = number_of_steps * 0.01

  • Average Credits/Test = (SUM of credits for last 30 test runs) / 30

  • Change vs Last Month =((current - previous) / previous) * 100

Did this answer your question?