Skip to main content

Symptom Description

When calling the API, you receive the following error messages:
Or similar prompts:
  • “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

1

Check Account Balance

  1. Log in to Laozhang API Console
  2. Check dashboard balance display
  3. View detailed transaction history
2

Confirm Account Credit

  1. Check whether the account has available credit
  2. Confirm billing status with your account owner or support
  3. Wait for account credit update after verification
3

Verify Account Credit

  1. Refresh console page
  2. Check if balance has updated
  3. Retry API call

Emergency Alternatives

If urgent need to continue using:
  1. Switch to Lighter Model
  2. Reduce Request Parameters
  3. 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:

Balance Management Best Practices

Budget Allocation

Reasonably allocate budgets:

Cost Optimization

Reduce unnecessary expenses:
  1. Model Selection Optimization
  2. Enable Caching
  3. Batch Processing

Usage Tracking

Record and analyze usage:

Common Questions

Account credit update time:
  • Contract billing: Subject to support and console confirmation
  • Bank transfer: Usually reviewed within 1-3 business days after receipt is provided
  • Invoice or enterprise changes: Subject to account and compliance review
If delayed:
  1. Check payment status
  2. Confirm correct account information
  3. Contact customer support
Refund policy:
  • Balance can be refunded without violations
  • Refund processing time: 3-7 business days
  • May deduct processing fees (typically 3%-5%)
Refund process:
  1. Submit refund request in console
  2. Provide payment proof
  3. Wait for review
  4. Receive refund
Estimation methods:
  1. Token Count Estimation
    • English: ~1 word = 1.3 tokens
    • Chinese: ~1 character = 2 tokens
  2. Use Official Pricing Calculator Visit Pricing Page for calculation
  3. Reference Historical Usage View usage in console
Example calculation:
Prevention measures:
  1. Set Rate Limits
  2. Implement Request Validation
  3. Enable Budget Alerts Set daily/weekly/monthly budget alerts
  4. Code Review Regularly review API call code to prevent loops or repeated calls
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
Cost Reduction Recommendations:
  1. Use economical models (GPT-3.5 Turbo)
  2. Optimize prompt length
  3. Enable result caching
  4. 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: hi@laozhang.ai
  • Work Hours: Monday to Friday 9:00-18:00 (UTC+8)
  • Emergency Contact: For production environment issues, specify “Emergency” in email subject