Before You Start
Account Usage NoticeAccount registration is for API technical integration testing and enterprise system integration. The test credits ($0.5) provided to new accounts are only for:- API connectivity verification
- Development debugging and technical testing
- Pre-integration functionality verification
- Access 200+ AI models through a single unified API
- Use existing OpenAI SDK with minimal code changes
- Integrate with flexible payment options
Step 1: Create Account and Add Credits
Create Account
1 Sign Up Visit LaoZhang API to create your accountNew accounts receive $0.5 test credits for API connectivity verification 2 Verify Email- Enter your email address
- Create a secure password (8+ characters)
- Verify your email via the confirmation link
- Account balance with test credits
- Usage statistics and history
- API key management
Add Credits
- Online Payment
- Cryptocurrency (USDT)
- Enterprise
- Navigate to billing page
- Select your preferred amount
- Complete payment
- Credits available instantly
- TRC20 (TRON)
- Solana
- Other major chains
- Volume discounts
- Invoice support
- Contract options
- Dedicated support
- Test credits for connectivity verification
- Instant credit delivery after payment
- Enterprise inquiries: support@laozhang.ai
Step 2: Get Your API Key
Generate Your API Key
- Use Default Key (Quickest)
- Create Custom Key
- Navigate to Token Management
- Locate your Default Token
- Click Copy to clipboard
- Click Create New Token button
- Name your key (e.g.,
production-api,development-test) - Optionally set spending limits for budget control
- Click Generate
- API keys are shown only once - save securely immediately
- Never commit keys to version control (use
.gitignore) - Store keys in environment variables
- Rotate keys periodically for enhanced security
Step 3: Make Your First API Call
Test Your Integration
- Online Playground (Recommended)
- cURL Command
- Select a model (e.g.,
gpt-4o-mini) - Enter a test prompt: “Hello, introduce yourself”
- Click Send
Integration Configuration
Remember These Three Things
Complete Examples in Different Languages
- Python (Most Common)
- Node.js / TypeScript
- Curl / Command Line
Next Steps
Congratulations! You’ve successfully integrated LaoZhang API. Next you can:View API Documentation
Learn about complete API interface documentationExplore Model List
View all supported AI modelsIntegrate into Apps
Integrate LaoZhang API into various toolsView Usage Statistics
Monitor usage in consoleCommon Questions Quick Reference
How to tell if integration is successful? Three signs:- API call returns normal results (no errors)
- Response time under 1 second
- Can see call records in console
- First choice:
claude-sonnet-4-20250514 - Alternative:
deepseek-coder-v3
- First choice:
gpt-4o - Alternative:
claude-3.5-sonnet
- First choice:
gpt-4.1-mini - Alternative:
gemini-2.5-flash
- First choice:
deepseek-v3 - Alternative:
qwen-max
- Go to Token Management
- Revoke the compromised key immediately
- Generate a new API key
- Update the key in all your applications
- Always use environment variables
- Never hardcode keys in source code
- Set spending limits per key
- Rotate keys every 90 days
- Add credits to your account via the billing page
- Switch to more cost-effective models (e.g.,
gpt-4o-mini,gemini-flash) - Optimize your usage with
max_tokenslimits
- Monitor usage in the console dashboard
- Set budget alerts
- Use streaming for better user experience
- Credit/debit cards
- Cryptocurrency (USDT on TRC20, Solana)
- Wire transfer for enterprise accounts