Assay Docs
Billing

Credits System

How Assay credits work and how to manage your balance

Credits System

Assay uses a credit-based system for billing. Credits represent prepaid API usage that you can spend on code reviews.

How Credits Work

  • 1 credit = $0.01 of underlying AI API cost
  • Credits are deducted when reviews complete
  • Unused credits never expire
  • Credits are reserved when a review starts

Credit Flow

  1. Review Requested - Credits estimated and reserved
  2. Review Processing - Reserved credits held
  3. Review Completed - Actual cost deducted, excess returned
  4. Review Failed - All reserved credits returned

Checking Your Balance

View your credit balance on:

  • The main dashboard (top card)
  • The Billing page (detailed breakdown)

Your balance shows:

  • Available - Credits ready to use
  • Reserved - Held for in-progress reviews
  • Total - Available + Reserved

Purchasing Credits

  1. Go to Billing in the sidebar
  2. Click Buy Credits
  3. Select a credit pack
  4. Complete checkout via Stripe

Larger packs include volume discounts (see Pricing).

Auto Top-Up

Never run out of credits with auto top-up:

  1. Go to Billing > Auto Top-Up
  2. Set your threshold (e.g., 100 credits)
  3. Choose the pack to purchase when low
  4. Set a monthly spending limit

When your balance drops below the threshold, Assay automatically purchases more credits (respecting your monthly limit).

Credit Usage by Tier

Typical credit consumption:

TierTypical CreditsRange
Quick Scan~1410-30
Code Review~5030-100
Deep Analysis~200100-400

Actual usage depends on:

  • PR diff size
  • Repository complexity
  • Number of files analyzed
  • Specialists enabled (Deep Analysis)

Free Trial

New users receive trial credits to explore Assay. Trial details:

  • Trial credits shown separately
  • Expiration date displayed
  • Regular credits used after trial depletes

BYOK Alternative

With Bring Your Own Key (BYOK), you use your own Anthropic API key and bypass the credit system entirely.

On this page