💳
Billing & Quota
UM unified billing, IF/MF pass-through, clear tiers
All service quota/deduction/tiers managed by UM. free keeps branding, white_label removes branding ¥999/year, enterprise custom. No interruption on exceed, monthly settlement.
example.json
// 查询当前配额
GET /api/v1/quota
Authorization: Bearer <access_token>
// 响应
{
"code": 1,
"data": {
"tier": "white_label",
"quota": {
"calls_remaining": 48392,
"calls_limit": 50000,
"reset_at": "2026-08-01T00:00:00Z"
},
"usage_this_month": {
"um": 8234,
"modelflow": 23410,
"payment": 142,
"storage": 98
}
}
}
// 计费档位
// free: 60 req/min, 1k req/day, 保留版权
// white_label: 600 req/min, 50k req/mo, 去版权
// enterprise: 协商, 无限, SLA 99.9%Core Features
6 core features, each works standalone
Clear 3 tiers
free / white_label / enterprise, individuals to enterprise
UM unified billing
All service calls deducted by UM, IF/MF pass-through
No interruption
Exceed charged at ¥0.02/call, no service break
Real-time quota
/api/v1/quota returns remaining/limit/reset
Usage detail
/api/v1/usage stats by service/day
Tier upgrade/downgrade
Upgrade anytime immediate; downgrade next cycle
API Endpoints
Via /api/* call the following endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/quota | Query quota |
| GET | /api/v1/usage | Query usage detail |
| POST | /api/v1/billing/upgrade | Upgrade tier |