Ping Model
Measure and display AI model response latency. Use when the user types /ping or /ping followed by a model name to test round-trip time. Captures precise timi...
87 downloads
Free
Reviewed
latency
model
ping
timing
Ping Model
Measure AI model response latency with consistent formatting.
Quick Start
Simple Ping (current model)
bash command:"node {baseDir}/ping-model.js"
Ping Specific Model
bash command:"node {baseDir}/ping-model.js --model minimax"
Compare Multiple Models
bash command:"node {baseDir}/ping-model.js --compare kimi,minimax,deepseek"
Command Reference
| Command | Description |
|---|---|
/ping | Ping current active model |
/ping kimi | Switch to kimi, ping, return |
/ping minimax | Switch to minimax, ping, return |
/ping deepseek | Switch to deepseek, ping, return |
/ping all | Compare all available models |
Output Format
Required format - ALWAYS use this exact structure:
๐งช PING {model-name}
๐ค Sent: {HH:MM:SS.mmm}
๐ฅ Received: {HH:MM:SS.mmm}
โฑ๏ธ Latency: {formatted-duration}
๐ฏ Pong!
Latency Formatting Rules
- < 1 second: Display as
XXXms(e.g.,847ms) - โฅ 1 second, < 60 seconds: Display as
X.XXs(e.g.,1.23s) - โฅ 60 seconds: Display as
X.XXmin(e.g.,2.5min)
Examples
Fast response (< 1s):
๐งช PING kimi
๐ค Sent: 09:34:15.123
๐ฅ Received: 09:34:15.247
โฑ๏ธ Latency: 124ms
๐ฏ Pong!
Medium response (1-60s):
๐งช PING minimax
๐ค Sent: 09:34:15.123
๐ฅ Received: 09:34:16.456
โฑ๏ธ Latency: 1.33s
๐ฏ Pong!
Slow response (> 60s):
๐งช PING gemini
๐ค Sent: 09:34:15.123
๐ฅ Received: 09:35:25.456
โฑ๏ธ Latency: 1.17min
๐ฏ Pong!
Cross-Model Testing
When testing a non-active model:
- Save current model context
- Switch to target model
- Execute ping
- Measure latency
- Restore original model
- Display result
Critical: Always return to the original model after testing.
Comparison Mode
bash command:"node {baseDir}/ping-model.js --compare kimi,minimax,deepseek,gpt"
Output format:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐งช MODEL COMPARISON
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฅ kimi 124ms
๐ฅ minimax 1.33s
๐ฅ deepseek 2.45s
4๏ธโฃ openai 5.67s
๐ Fastest: kimi (124ms)
Implementation
The ping latency is measured as the time between:
- T1: Message received by the agent
- T2: Response ready to send
This captures the model's internal processing time, not network latency.
Download
ZIP package โ ready to use
Skill Info
- Creator
- dofbi
- Downloads
- 87
- Published
- Mar 15, 2026
- Updated
- Mar 16, 2026