Skip to content
Worix
BrowsePublish
Log inSign Up

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

CommandDescription
/pingPing current active model
/ping kimiSwitch to kimi, ping, return
/ping minimaxSwitch to minimax, ping, return
/ping deepseekSwitch to deepseek, ping, return
/ping allCompare 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:

  1. Save current model context
  2. Switch to target model
  3. Execute ping
  4. Measure latency
  5. Restore original model
  6. 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