A high-precision utility for estimating and monitoring LLM token consumption across multiple model providers to optimize API costs.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install token-estimator
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install token-estimator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Token Estimator is a professional-grade developer tool designed to provide transparency and cost control for AI-driven applications. As part of the Openclaw Skills ecosystem, it allows developers to accurately predict token usage for both input prompts and expected outputs before executing expensive API calls.
The skill supports a wide range of industry-standard tokenizers, including tiktoken and transformers, ensuring that whether you are using OpenAI, Google Gemini, or Alibaba Qwen, your estimates remain within a tight 3.5% error margin. It bridges the gap between raw text and API costs, enabling a probe-and-act workflow that reduces entropy in AI deployments.
To install the skill and its required Python dependencies for Openclaw Skills, run the following commands:
# Install via ClAWHub
clawhub install token-estimator
# Install required Python libraries
pip3 install tiktoken transformers dashscope
Token Estimator organizes its analytics and metadata using the following structure for clarity and precision:
| Attribute | Description | Data Type |
|---|---|---|
model_name |
The detected or specified LLM identifier | String |
input_tokens |
Calculated tokens for the prompt and context | Integer |
output_range |
Predicted range for model response tokens | String (Range) |
precision |
The estimated error margin based on the tokenizer used | Percentage |
usage_stats |
Periodical tracking (5h, Day, Week, Month) | Object |
Loading
A streamlined onboarding skill that installs five essential tools to help users master OpenClaw in just three minutes.

An intelligent routing system that automatically selects the optimal 4D compression mode for text based on content type and structure.

A comprehensive A-share market reporting tool for real-time stock tracking, automated market briefs, and scheduled trading updates.

Mixpost is a self-hosted social media management tool that allows you to schedule and orchestrate content across all major social platforms.

An intelligent routing and 4D vector compression tool designed to optimize token usage by 60-80% while preserving 97% semantic meaning.

Warrior System is a high-efficiency orchestration layer that synchronizes Neo, Gemini, and Grok models with advanced 4D data compression.








































