Credits
AutoCI uses a credit-based system to track and bill for AI-powered analysis requests.
How Credits Work
Basic Principles
- Every request costs at least 1 credit - All API calls have a minimum charge
- Output-based scaling - Credits increase with AI response length
- 250 output tokens = 1 credit - Simple, predictable conversion rate
- Input tokens are free - Only AI responses consume credits
Credit Consumption by Feature
Feature | Base Cost | Scaling |
---|---|---|
Failure Analysis | 1+ credits | Based on analysis detail |
Workflow Optimization | 1+ credits | Based on complexity and suggestions |
Code Generation | 1+ credits | Based on generated content length |
Examples
# Small failure analysis (500 output tokens)
autoci failure-cause --pr 123
# Cost: 2 credits (500 ÷ 250 = 2)
# Complex optimization (1000 output tokens)
autoci optimize --category all
# Cost: 4 credits (1000 ÷ 250 = 4)
# Brief generate session (100 output tokens)
autoci generate "simple workflow"
# Cost: 1 credit (minimum)
Plan Limits
Free Plan
- 20 credits per month included
- Perfect for occasional debugging and small optimizations
- No overage - hard limit at 20 credits
Personal Plan
- 1,000 credits per month included
- Covers regular development workflow optimization
- Overage rate: $0.003725 per additional credit
Team Plan
- 5,000 credits per month included
- Supports multiple developers and frequent analysis
- Overage rate: $0.003725 per additional credit
Additional Credits
Need more credits? You can purchase additional credits at any time:
- Pay-as-you-go: $0.003725 per credit
- No commitment - Only pay for what you use beyond your plan
- Instant activation - Credits available immediately after purchase
- Flexible billing - Add credits to any paid plan
Credit Packages
Package | Credits | Price | Savings |
---|---|---|---|
Starter Pack | 500 credits | $1.86 | - |
Developer Pack | 2,000 credits | $7.45 | - |
Team Pack | 10,000 credits | $37.25 | - |
All additional credits are charged at the standard rate of $0.003725 per credit
Usage Monitoring
Track your credit consumption:
- Usage dashboard - View current month usage and remaining credits
- Usage history - See detailed breakdown by session
- Real-time tracking - Credits are deducted immediately after analysis
Best Practices
Optimize Credit Usage
- Use
--dry-run
to preview optimizations before applying (free) - Target specific categories instead of
--category all
- Focus on high-impact failures rather than minor warnings
Monitor Consumption
- Check usage regularly on the
/usage
dashboard - Review history to understand your usage patterns
- Upgrade plans before hitting limits to avoid interruption
Billing
Credits are consumed as used and billed monthly:
- Free Plan: No billing, hard limit at 20 credits
- Paid Plans: Included credits + overage charges at $0.003725 per credit
- Additional purchases: Buy credit packages anytime at the same rate
Fair Usage
AutoCI’s credit system ensures:
- Predictable costs - No surprise charges from complex prompts
- Usage-based fairness - Pay for what you actually use
- Transparent tracking - Complete visibility into credit consumption