Overview
LemonData uses pay-as-you-go pricing. You only pay for what you use, with no subscriptions or minimum commitments.How Billing Works
- Add credits to your account
- Use the API - costs are deducted per request
- Monitor usage in your dashboard
- Top up when your balance is low
Pricing Models
Per-Token Pricing
Most text generation models are priced per million tokens:| Model | Input (per 1M tokens) | Output (per 1M tokens) |
|---|---|---|
| GPT-4o | $2.50 | $10.00 |
| GPT-4o-mini | $0.15 | $0.60 |
| Claude 3.5 Sonnet | $3.00 | $15.00 |
| Gemini 2.0 Flash | $0.10 | $0.40 |
| DeepSeek V3 | $0.14 | $0.28 |
Prices shown are discounted platform prices.
Per-Request Pricing
Image, video, and audio models are priced per request:| Model | Price per Request |
|---|---|
| DALL-E 3 (1024x1024) | $0.04 |
| Midjourney | $0.05 |
| Sora Video (5s) | $0.20 |
| Whisper (per minute) | $0.006 |
| TTS-1 | $0.015 |
Token Counting
Tokens are the basic units of text processing:- ~4 characters = 1 token (English)
- ~1-2 characters = 1 token (Chinese)
- 1 image = varies by size and detail
Estimating Tokens
Usage Tracking
Dashboard
Monitor your usage in the Dashboard:- Real-time balance
- Usage history by model
- Cost breakdown
- API key usage
API Response
Each response includes usage information:Cost Optimization
Use appropriate models
Use appropriate models
Use smaller models (GPT-4o-mini, Gemini Flash) for simple tasks.
Implement caching
Implement caching
Cache responses for repeated identical requests.
Optimize prompts
Optimize prompts
Keep prompts concise while maintaining clarity.
Set max_tokens
Set max_tokens
Limit response length when full responses aren’t needed.
Use streaming for long responses
Use streaming for long responses
Streaming doesn’t cost extra but improves perceived performance.
Low Balance Alerts
Configure alerts when your balance drops:- Go to Dashboard → Settings → Notifications
- Set your threshold amount
- Receive email notifications
Adding Credits
Payment Methods
- Alipay (支付宝)
- WeChat Pay (微信支付)
- Stripe (Visa, Mastercard)
Steps
- Log in to Dashboard
- Click Add Credits
- Select amount and payment method
- Complete payment
API Key Limits
You can set spending limits on individual API keys:- Go to Dashboard → API Keys
- Click on a key to edit
- Set Usage Limit
402 Payment Required.
Invoices
For business accounts, invoices are available:- Go to Dashboard → Billing
- View transaction history
- Download invoices as PDF