Overview
AI Credits are the currency that powers Supatest’s AI features. Each AI-powered action consumes credits from your monthly allocation. Understanding credit usage helps you optimize your testing strategy and budget.
Credit Costs
Different AI features consume different amounts of credits:| Feature | Credits per Use | Description |
|---|---|---|
| AI Action | 1 credit | Execute complex browser interactions with AI |
| AI Extract | 1 credit | Extract data using natural language |
| Visual Assertion | 1 credit | AI-powered visual verification |
| Auto-Healing | 1 credit | Automatic test repair when locators break |
| AI Chat (Global) | 2 credits | Create tests via conversation |
| AI Chat (Test Case) | 2 credits | Modify tests via conversation |
| Generate AI Logs | 1 credit | AI-generated failure explanations |
| Enhance Test Steps | 1 credit | AI suggestions for step improvement |
| Import Test Generation | 1 credit | Generate tests from imports |

Managing Credits
Viewing Credit Balance
Access your credit information from Settings > AI Credits:- Current balance: Credits remaining this period
- Usage history: Breakdown by feature and date
- Reset date: When credits refresh
Optimizing Credit Usage
Use AI Strategically
Reserve AI features for scenarios where they provide the most value: Good use of AI credits:- Complex, multi-step interactions (AI Action)
- Dynamic content extraction (AI Extract)
- Visual verification of layouts (Visual Assertion)
- Automatic recovery from UI changes (Auto-Healing)
- Simple clicks on stable elements
- Form fills with known selectors
- Basic text verification
- Navigation to fixed URLs
Balance AI and Traditional Steps
Mix step types based on element stability:Reduce Unnecessary AI Usage
- Use Extract Value over AI Extract when selectors are stable
- Fix locators manually instead of relying solely on auto-healing
- Write specific assertions instead of broad visual assertions
- Batch AI Chat requests to reduce message count
Monitoring Usage
Usage Dashboard
The AI Credits page shows:- Daily usage graph: Credits consumed per day
- Feature breakdown: Which features consume most credits
- Trend analysis: Usage patterns over time
Usage Alerts
Set up alerts to monitor consumption:- Go to Settings > AI Credits
- Enable usage notifications
- Set threshold percentage (e.g., 80% consumed)
- Receive email when threshold is reached
High Usage Scenarios
Test Suites with Many AI Steps
If a test suite consumes many credits:- Audit AI step usage across tests
- Replace AI steps with traditional steps where possible
- Consolidate multiple AI Actions into single prompts
- Consider if auto-healing can be disabled for stable tests
AI Chat Heavy Usage
If AI Chat consumes significant credits:- Write detailed prompts to reduce back-and-forth
- Use recorded tests as a base, then modify with AI
- Create test templates to reduce generation needs
Auto-Healing Consumption
If auto-healing uses many credits:- Fix frequently healing locators permanently
- Use more stable selector strategies
- Add data-testid attributes to your application
- Review and accept healing suggestions promptly
Credit Exhaustion
When credits are exhausted:- AI features disabled: AI Action, AI Extract, Visual Assertion, AI Chat become unavailable
- Auto-healing disabled: Tests fail instead of auto-healing
- Traditional steps continue: All non-AI steps work normally
- Credits reset: Wait for monthly reset or upgrade plan
Emergency Options
If you run out of credits mid-cycle:- Upgrade plan: Increase your allocation immediately
- Purchase add-on: Buy additional credits for the current cycle
- Wait for reset: Credits refresh at billing cycle start
Best Practices
Plan Your AI Usage
- Identify AI-critical tests: Mark tests that require AI features
- Reserve credits: Keep buffer for auto-healing and debugging
- Schedule AI-heavy tests: Run them when credits are fresh
Track ROI
Measure the value of AI credits:- Time saved by AI vs manual test creation
- Reduced maintenance from auto-healing
- Faster debugging with AI logs
Team Coordination
For team plans:- Set guidelines for AI feature usage
- Review high-consumption tests together
- Share credit-saving tips across team
Related
- AI Features Overview - All AI capabilities
- AI Action - AI-powered browser interactions
- AI Extract - AI-powered data extraction
- Auto-Healing - Automatic test repair

