TestKase
TestKase
|Docs
Organization & AccountBilling & Subscriptions

AI Credits

Manage your AI credit balance, purchase credit bundles, track monthly history, and control AI features for your organization.

Overview

TestKase AI features — including test case generation, the AI Agent, and AI-powered reports — consume credits from your organization's AI credit balance. Two pages cover this surface, each aimed at a different role:

PagePathAudienceWhat it does
AI Creditssidebar → AI Credits (/ai-privilege)Every org member; owner can editCurrent balance, this month's usage, AI quality settings, per-call credit usage history
AI Credits (Admin)Admin menu → AI Credits (/admin/ai-credits)Org admins & ownersEverything above plus Monthly History (granted / consumed / expired totals per billing cycle)

Both are driven by the same credit ledger.

How credits work

AI credits are an abstraction over raw AI tokens. Different AI models consume tokens at different rates, so credits provide a consistent unit for tracking and billing across all AI features.

  • Every new organization receives 100 AI credits by default.
  • Credits are consumed when any user in the organization uses an AI feature.
  • Credits reset on the 1st of each month — any unused monthly allowance does not roll over.
  • Credits purchased in a bundle are added to the balance and do not expire monthly.

AI Credits page layout

The org AI Credits page has three summary cards at the top:

  • Enable AI Features — on/off toggle. Only the organization owner can flip this.
  • Available Credits — remaining credits in the current period.
  • This Month Usage — total credits consumed this month.

Below the cards, two collapsible sections (collapsed by default — click to expand):

  1. AI Quality Settings — pick a quality level per feature. See AI Quality Settings.
  2. Credit Usage History — paginated table of every individual AI call (date, user, use case, credits).

Screenshot (TODO): AI Credits page with the three cards and the two collapsible sections

Monthly History (Admin only)

On the Admin → AI Credits page, an additional Monthly History section is available. It shows per-month totals:

ColumnWhat it shows
MonthMonth label (e.g., "Apr 2026").
GrantedCredits added in the month — plan allowance + any bundle purchases.
ConsumedCredits spent in the month.
ExpiredUnused monthly allowance that didn't carry over.
UtilizationProgress bar: consumed / granted — color-coded by burn rate.

This view is useful for reconciling AI spend against a billing period or tracking trends across months.

Screenshot (TODO): Admin AI Credits page with Monthly History table expanded

AI Quality Settings

Each AI feature has an independent quality level. Pick based on the trade-off between speed, credits, and output quality.

LevelLabel (UI)API valueRough costUse when
BasicBasiccheapLowestQuick iteration, bulk generation
BalancedBalancedmediumModerate (default)Everyday use
PremiumPremiumbestHighestComplex specs, critical flows

Applies independently to:

  • AI Agent — the sidebar chat (Ctrl+K).
  • Test Case Generation — the AI generate button in the test case editor.

Changes save on click and apply immediately to all users in the organization.

Start with Balanced for everyday use. Switch to Premium for test suites you want the AI to reason more carefully about, and to Basic for speed and volume.

Credit bundles

Purchase additional credits in one of four bundles:

BundlePriceCreditsRateSavings
Starter$101,000$1 = 100 credits
Professional$505,500$1 = 110 credits10% (Popular)
Enterprise$25028,000$1 = 112 credits12%
Ultimate$50058,000$1 = 116 credits15%

Beyond purchased bundles, extra credits are billed at $0.40 per credit.

Purchasing credits

Buying additional credits requires a Premium or Enterprise subscription. Free plan users must upgrade before purchasing bundles.

  1. Open AI Credits (sidebar).
  2. Click Buy Credits.
  3. Pick a bundle.
  4. Complete payment via Razorpay (UPI, cards, net banking, wallets, international).
  5. Credits are added to your balance immediately.

Enable or disable AI features

Use the Enable AI Features toggle (first card on the AI Credits page) to turn AI on or off for the entire org.

  • Off — AI Agent won't open, AI generation buttons are disabled, AI reports stop refreshing. Zero credits consumed.
  • On — AI features are available to all users according to their roles.

Existing AI-generated content (test cases, reports, conversations) is never deleted by flipping the toggle.

Only the organization owner can change this toggle.

Credit Usage History

Every individual AI call is logged:

ColumnDescription
DateWhen the call happened, shown in your local timezone.
User NameWho made the call.
Use caseWhich feature used the credit (AI Agent, Test Case Generation, etc.).
CreditsHow many credits the call consumed.

Use this to audit unusual spikes — e.g., investigate a user whose activity doesn't match their credit spend.