Accounts
Manage Claude proxy accounts
Total
{{ accounts.length }}
Healthy
{{ accounts.filter(a=>a.health==='healthy').length }}
Today Requests
{{ fmtNum(accounts.reduce((s,a)=>s+a.today_requests,0)) }}
Today Tokens
{{ fmtTokens(accounts.reduce((s,a)=>s+a.today_tokens,0)) }}
Today Cost
US${{ accounts.reduce((s,a)=>s+(a.today_cost_usd||0),0).toFixed(2) }}
| Account | Concurrency | Health | Today | Usage Windows | Last Used | Actions |
|---|---|---|---|---|---|---|
|
{{ acc.name }}
{{ typeBadgeText(acc.type) }}
Priority {{ acc.priority }}
|
|
{{ healthLabel(acc.health) }} |
{{ fmtNum(acc.today_requests) }} req
{{ fmtTokens(acc.today_tokens) }} tokens
US${{ acc.today_cost_usd.toFixed(2) }}
|
5h
7d
5h
7d
|
{{ acc.last_used ? relTime(acc.last_used) : '--' }} |
|
|
No accounts yet Click "Add Account" to get started |
||||||
API Keys
Manage client authentication keys
| Name | Key | Status | Concurrency | Today Req | Today Tokens | Daily ($) | Weekly ($) | Monthly ($) | Actions |
|---|---|---|---|---|---|---|---|---|---|
|
|
{{ k.key }} | {{ k.enabled?'Active':'Disabled' }} | {{ k.current_concurrency }}/{{ k.max_concurrency||'--' }} | {{ fmtNum(k.today_requests) }} | {{ fmtTokens(k.today_tokens) }} | {{ k.today_usage>=0?fmtCost(k.today_usage):'?' }}/{{ fmtCost(k.daily_limit) }} ∞ | {{ k.week_usage>=0?fmtCost(k.week_usage):'?' }}/{{ fmtCost(k.weekly_limit) }} ∞ | {{ k.month_usage>=0?fmtCost(k.month_usage):'?' }}/{{ fmtCost(k.monthly_limit) }} ∞ |
|
|
No API keys yet Add a key to allow client access |
|||||||||
Usage
Request and token consumption statistics
Total Requests
{{ fmtNum(usageSummary.reduce((s,e)=>s+e.request_count,0)) }}
Input Tokens
{{ fmtTokens(usageSummary.reduce((s,e)=>s+e.input_tokens,0)) }}
Output Tokens
{{ fmtTokens(usageSummary.reduce((s,e)=>s+e.output_tokens,0)) }}
Est. Cost
US${{ usageSummary.reduce((s,e)=>s+e.cost_usd,0).toFixed(2) }}
Summary by Account / User
| Account | User | Requests | Input | Output | Cache R | Cache W | Total | Cost | Avg Latency |
|---|---|---|---|---|---|---|---|---|---|
| {{ s.account_name }} | {{ s.api_key_name }} | {{ fmtNum(s.request_count) }} | {{ fmtTokens(s.input_tokens) }} | {{ fmtTokens(s.output_tokens) }} | {{ fmtTokens(s.cache_read_tokens) }} | {{ fmtTokens(s.cache_create_tokens) }} | {{ fmtTokens(s.total_tokens) }} | US${{ s.cost_usd.toFixed(2) }} | {{ fmtDur(s.avg_duration_ms) }} |
| Total | {{ fmtNum(usageSummary.reduce((s,e)=>s+e.request_count,0)) }} | {{ fmtTokens(usageSummary.reduce((s,e)=>s+e.input_tokens,0)) }} | {{ fmtTokens(usageSummary.reduce((s,e)=>s+e.output_tokens,0)) }} | {{ fmtTokens(usageSummary.reduce((s,e)=>s+e.cache_read_tokens,0)) }} | {{ fmtTokens(usageSummary.reduce((s,e)=>s+e.cache_create_tokens,0)) }} | {{ fmtTokens(usageSummary.reduce((s,e)=>s+e.total_tokens,0)) }} | US${{ usageSummary.reduce((s,e)=>s+e.cost_usd,0).toFixed(2) }} | ||
| No usage data in this time range | |||||||||
Recent Requests
| Time | User | Account | Model | In | Out | Stream | Duration | Status |
|---|---|---|---|---|---|---|---|---|
| {{ fmtTime(e.created_at) }} | {{ e.api_key_name }} | {{ e.account_name }} |
{{ shortModel(e.model) }}
{{ shortModel(e.actual_model) }}
|
{{ fmtNum(e.input_tokens) }} | {{ fmtNum(e.output_tokens) }} | {{ e.stream?'YES':'NO' }} | {{ fmtDur(e.duration_ms) }} | {{ e.status_code||200 }} |
| No recent requests | ||||||||
Mirror Pool
Mint Codex RT from chatgpt-mirror accounts and import into ccapi
Minter reachable
Mirror pool disabled in config
Minter unreachable
mirror_pool 在 config.yaml 中未启用. 设置
mirror_pool.enabled=true, endpoint, token 后重启或 SIGHUP 服务.
minter 服务不可达: {{ mirrorStatus.error || 'unknown' }}. 检查 SSH 隧道和 minter_server 是否在镜像 VPS 上运行.
Total
{{ mirrorAccounts.length }}
Plus
{{ mirrorAccounts.filter(a=>a.isPlus).length }}
Team
{{ mirrorAccounts.filter(a=>a.isTeam).length }}
Status = 1
{{ mirrorAccounts.filter(a=>a.status===1).length }}
In ccapi
{{ mirrorAccounts.filter(a=>ccapiHasMirror(a)).length }}
{{ filteredMirrorAccounts.length }} / {{ mirrorAccounts.length }} shown
| ID | Plan | Status | IQ | In ccapi | Updated | Action | |
|---|---|---|---|---|---|---|---|
| {{ m.id }} | {{ m.email }} | Plus Team Free | OK {{ m.status }} | 降智 正常 {{ m.iqStatus }} | 已添加 -- | {{ relTimeIso(m.updateTime) }} | |
| {{ mirrorLoading?'Loading...':'No accounts' }} | |||||||
{{ lastMintResult.ok?'Mint succeeded':'Mint failed' }}: {{ lastMintResult.email }}
ccapi account:
{{ lastMintResult.ccapi_account_name }}{{ lastMintResult.error }}