Documentation Index
Fetch the complete documentation index at: https://docs.laozhang.ai/llms.txt
Use this file to discover all available pages before exploring further.
Symptom Description
When calling the API, you receive the following error messages:- “Account balance is insufficient”
- “Please confirm account credit”
- “Balance insufficient, unable to complete request”
Cause Analysis
1. Balance Depleted
Account balance has been completely used up and needs account credit confirmation.2. Insufficient Balance
Account has remaining balance, but insufficient for current request:- Request token count is too large
- Selected model is expensive
- Single request exceeds budget
3. Frozen Balance
Part of balance is frozen and unavailable:- Pending transactions
- Risk control freezing
- System reservation
4. Billing Method Mismatch
Using wrong billing method token:- Pay-per-use token calling usage-based billing models
- Usage-based billing token calling pay-per-use models
Solutions
Immediate Solutions
Check Account Balance
- Log in to Laozhang API Console
- Check dashboard balance display
- View detailed transaction history
Confirm Account Credit
- Check whether the account has available credit
- Confirm billing status with your account owner or support
- Wait for account credit update after verification
Emergency Alternatives
If urgent need to continue using:-
Switch to Lighter Model
-
Reduce Request Parameters
-
Use Backup Account
- Switch to alternative API key
- Switch to different service provider
Preventive Measures
1. Set Low Balance Alert
In console set alert threshold:- Recommended setting: 20% of usual daily usage
- Alert methods: Email, SMS, webhook
- Check frequency: Daily automatic check
2. Set Budget Alerts
Configure budget alert rules:3. Budget Management
Set usage budget:- Daily limit: Prevent unusual high usage in single day
- Monthly limit: Control overall cost
- Model-specific limit: Limit expensive model usage
4. Monitor Usage
Regularly check usage:5. Choose Appropriate Billing Method
Choose based on usage pattern:| Usage Pattern | Recommended Method | Reason |
|---|---|---|
| Stable, high-frequency | Usage-based billing | Lower unit price |
| Occasional use | Pay-per-use | No waste |
| Image/Video generation | Pay-per-use | Clear pricing |
| Chat applications | Usage-based billing | More economical |
Balance Management Best Practices
Budget Allocation
Reasonably allocate budgets:Cost Optimization
Reduce unnecessary expenses:-
Model Selection Optimization
-
Enable Caching
-
Batch Processing
Usage Tracking
Record and analyze usage:Common Questions
How long does account credit take to update?
How long does account credit take to update?
Account credit update time:
- Card or processor payment: Subject to processor and console confirmation
- Bank transfer: 1-3 business days
- Cryptocurrency: Wait for blockchain confirmation, about 10-30 minutes
- Check payment status
- Confirm correct account information
- Contact customer support
Can I get a refund for unused balance?
Can I get a refund for unused balance?
Refund policy:
- Balance can be refunded without violations
- Refund processing time: 3-7 business days
- May deduct processing fees (typically 3%-5%)
- Submit refund request in console
- Provide payment proof
- Wait for review
- Receive refund
How to estimate usage costs?
How to estimate usage costs?
Estimation methods:
-
Token Count Estimation
- English: ~1 word = 1.3 tokens
- Chinese: ~1 character = 2 tokens
- Use Official Pricing Calculator Visit Pricing Page for calculation
- Reference Historical Usage View usage in console
How to prevent accidental high usage?
How to prevent accidental high usage?
Prevention measures:
-
Set Rate Limits
-
Implement Request Validation
- Enable Budget Alerts Set daily/weekly/monthly budget alerts
- Code Review Regularly review API call code to prevent loops or repeated calls
Can I use free tier?
Can I use free tier?
Free Tier Policy:Laozhang API currently does not offer a free tier. To control cost:
- Use lower-cost models for testing
- Set token limits and spending alerts
- Contact support for enterprise pricing if usage is large
- Use economical models (GPT-3.5 Turbo)
- Optimize prompt length
- Enable result caching
- Batch process requests
Emergency Contact
If you cannot resolve the issue through above methods, please contact us through:- Online Support: Click chat icon in console
- Email Support: support@laozhang.ai
- Work Hours: Monday to Friday 9:00-18:00 (UTC+8)
- Emergency Contact: For production environment issues, specify “Emergency” in email subject
Related Resources
- Pricing Description - View detailed pricing
- Token Management - Learn how to manage API tokens
- Usage Logs - View API usage history
- [Account Credit Guide](https://api.laozhang.ai/docs/account credit) - Detailed account credit guide