model-stats

Installation
SKILL.md

Model Stats

查询 tiny-llm-proxy 网关上的模型调用统计信息,支持按模型、时间窗口、协议维度聚合。

Quick Reference

任务 命令
查询今日用量概览 bun ${CLAUDE_SKILL_DIR}/scripts/query-stats.ts
按模型聚合 bun ${CLAUDE_SKILL_DIR}/scripts/query-stats.ts --group-by model
按日期聚合 bun ${CLAUDE_SKILL_DIR}/scripts/query-stats.ts --group-by day
按协议聚合 bun ${CLAUDE_SKILL_DIR}/scripts/query-stats.ts --group-by protocol
指定时间范围 bun ${CLAUDE_SKILL_DIR}/scripts/query-stats.ts --start 2025-05-01 --end 2025-05-03
过滤特定 Key bun ${CLAUDE_SKILL_DIR}/scripts/query-stats.ts --key-name pi
过滤特定模型 bun ${CLAUDE_SKILL_DIR}/scripts/query-stats.ts --model gpt-4o
过滤特定协议 bun ${CLAUDE_SKILL_DIR}/scripts/query-stats.ts --protocol openai
JSON 格式输出 bun ${CLAUDE_SKILL_DIR}/scripts/query-stats.ts --json

参数说明

Installs
1
First Seen
May 6, 2026
model-stats — nmvr2600/tiny-llm-proxy