llm-token-usage-forecaster

Forecasts token demand for an LLM's inputs, outputs, caching, inference, and tool calls for capacity and quota planning. Applicable to scenarios such as traffic growth, model migration, budget forecasting, rate-limit planning, batch workloads, or context optimization.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "llm-token-usage-forecaster" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-bde50b17880a3203361d174dd192b0ef5f3a5d66af8324d0862f07849d18e561. Verify the upstream source and version against https://skillhub.cn/skills/user_b26bd65e/llm-token-usage-forecaster-b26bd65e before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Forecasts token demand for an LLM's inputs, outputs, caching, inference, and tool calls for capacity and quota planning. Applicable to scenarios such as traffic growth, model migration, budget forecasting, rate-limit planning, batch workloads, or context optimization.

0 Downloads

Introduction source: third_party · user_b26bd65e · 1.0.1 Reference

SkillPi interpretation

Tasks
Forecast LLM input, output, cached, reasoning, and tool-call token demand for capacity and quota planning. Use for traffic growth, model migrations, budget forecasts, rate-limit planning, batch workloads, or context optimization.
Inputs and outputs
Return assumptions, workload table, monthly totals, peak TPM/RPM, quota headroom, uncertainty range, and the largest sensitivity drivers. Flag missing telemetry instead of fabricating precision.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: llm-token-usage-forecaster
description: Forecast LLM input, output, cached, reasoning, and tool-call token demand for capacity and quota planning. Use for traffic growth, model migrations, budget forecasts, rate-limit planning, batch workloads, or context optimization.
slug: llm-token-usage-forecaster-b26bd65e
displayName: LLM Token 用量预测器
version: 1.0.1
summary: 按流量、Token 分布、重试、工具调用和增长情景预测吞吐、配额与峰值容量。
license: MIT

LLM Token Usage Forecaster

Forecast distributions and peaks, not only monthly averages.

Workflow

  1. Gather requests by workload, P50/P95/P99 input/output tokens, concurrency, retry rate, and tool/model subcalls.
  2. Separate uncached, cache-read, cache-write, reasoning, media, and generated tokens when billed or limited differently.
  3. Project daily/monthly totals and tokens per minute for low/base/high growth.
  4. Model peak windows and burst factors independently from total volume.
  5. Apply retry and fallback amplification, including duplicate partial generations.
  6. Compare forecast peaks to provider quotas with headroom and failover capacity.
  7. Recalibrate from measured usage and report forecast error.

Output

Return assumptions, workload table, monthly totals, peak TPM/RPM, quota headroom, uncertainty range, and the largest sensitivity drivers. Flag missing telemetry instead of fabricating precision.

Current listing version

1.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供 LLM Token 用量预测功能,适用于容量规划、预算预测、速率限制规划等实际业务场景
  • 具有明确的实用价值和广泛受众,属于明确场景的通用工具
Trigger Precision95/100

Highlights

  • description 清晰描述了核心功能和适用场景,触发词完整且边界清晰
Structure and Standards75/100

Areas to improve

  • 缺少端到端使用示例 Reported severity: Minor

    文档包含清晰的 Workflow 和 Output 说明,但缺少具体的使用示例来展示如何应用该预测器

    Recommendation: 建议添加一个或多个端到端的使用示例,展示从输入数据到获得预测结果的完整流程

Highlights

  • 包含清晰的 Workflow(7 个步骤)和 Output 说明,frontmatter 完整,文档结构良好
Execution Reliability70/100

Areas to improve

  • 未详细说明具体实现机制和异常处理流程 Reported severity: Minor

    作为预测类 Skill,其可靠性依赖于输入数据质量和模型假设,文档中提到了对不确定性的处理,但未详细说明具体实现机制和异常处理流程

    Recommendation: 建议补充说明预测模型的具体实现机制、输入数据要求、异常处理策略以及如何应对数据缺失或异常情况

Highlights

  • 文档中提到了 'Flag missing telemetry' 和 'report forecast error',体现了对不确定性的处理
Evidence Verifiability (mean of the first four)81/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.