A professional benchmarking utility to measure and compare token generation speed, latency, and throughput across multiple LLM API providers.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install api-benchmark
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 api-benchmark using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The API Token Speed Benchmark is a specialized performance monitoring tool designed to evaluate the efficiency of Large Language Model (LLM) endpoints. As a key component in the ecosystem of Openclaw Skills, it provides developers with precise metrics on Time To First Token (TTFT), tokens-per-second (TPS), and total request duration. By supporting multiple API formats like Anthropic and OpenAI, it allows for objective comparisons between different infrastructure providers.
This skill is essential for developers who need to optimize their AI agents and ensure that the models used within their Openclaw Skills implementations meet strict performance requirements. Whether you are testing local inference engines or global cloud providers, this tool provides the data needed to minimize latency and maximize throughput in production environments.
To get started, ensure you have Python 3 and the requests library installed. You must also have a configured openclaw.json file in your home directory.
# Install dependencies
pip install requests
# List available benchmark targets defined in your config
python3 main.py --targets
# Run a preflight check to verify connectivity
python3 main.py check --all
The API Token Speed Benchmark organizes its findings into structured metrics that can be output as JSON or formatted tables. The schema focuses on latency and throughput data.
| Metric | Description |
|---|---|
| TTFT | Time To First Token (seconds) - measures initial response latency. |
| TPS | Tokens Per Second - measures the generation speed once started. |
| Total Time | The complete duration from request initiation to final token delivery. |
| Token Count | The number of input and output tokens, sourced from the API or estimated based on character counts. |
Loading
A specialized AI agent skill designed to translate Indonesian song lyrics into authentic, singable, and human-sounding English for international music production.

A powerful AI integration for Fitbit that provides deep insights into your physical activity, sleep patterns, and heart rate data.

A decentralized protocol for P2P agent coordination and USDT settlement on the Base L2 network.

A powerful data integration for searching and analyzing YouTuber statistics, performance metrics, and audience demographics.

A standardized framework for AI agents to track and guide humans through complex, multi-day real-world processes.

ClawShell provides a robust security layer for Openclaw Skills by intercepting shell commands and requiring manual human approval for high-risk operations.








































