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
- Review Requested - Credits estimated and reserved
- Review Processing - Reserved credits held
- Review Completed - Actual cost deducted, excess returned
- 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
- Go to Billing in the sidebar
- Click Buy Credits
- Select a credit pack
- Complete checkout via Stripe
Larger packs include volume discounts (see Pricing).
Auto Top-Up
Never run out of credits with auto top-up:
- Go to Billing > Auto Top-Up
- Set your threshold (e.g., 100 credits)
- Choose the pack to purchase when low
- 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:
| Tier | Typical Credits | Range |
|---|---|---|
| Quick Scan | ~14 | 10-30 |
| Code Review | ~50 | 30-100 |
| Deep Analysis | ~200 | 100-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.