Skip to content
Back to skills

Llm Speedtest

ASecurity

Ping major LLM providers in parallel and compare real API latency. Run with /ping

  • 33 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
ai-agentsgoapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill llm-speedtest --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Llm Speedtest?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Llm Speedtest
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-llm-speedtest/badge)](https://www.skillsdirectory.com/skills/dvcrn-llm-speedtest)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: llm-speedtest
description: "Ping major LLM providers in parallel and compare real API latency. Run with /ping"
---

# LLM Speedtest

Ping major LLM providers in parallel and compare real API latency (TTFT).

## When to Use

- User types `/ping` or asks about model latency/speed
- Comparing provider response times
- Checking if a specific provider is slow or down

## How It Works

Runs `scripts/ping.sh` which:

1. Retrieves API keys from `pass shared/` (users may need to adapt key sourcing for their setup)
2. Fires parallel `curl` requests to each provider with a minimal prompt ("hi", `max_tokens=1`)
3. Measures total round-trip time per provider
4. Sorts results by latency and displays with color badges

## Output Format

Results are sorted fastest-to-slowest with color badges:

- 🟢 **< 2s** — Fast
- 🟡 **2–5s** — Normal
- 🔴 **5–30s** — Slow
- ⚫ **30s** — Timeout

Example:
```
⚡ Model Latency — 14:32

🟢 `Gemini       412ms`
🟢 `GPT-4o       623ms`
🟢 `Sonnet       891ms`
🟡 `Grok        2104ms`
🟡 `MiniMax     3210ms`
🟡 `Opus        4102ms`

_real API latency (TTFT)_
```

## Models Tested

| Provider | Model |
|----------|-------|
| Anthropic | Claude Sonnet 4 |
| Anthropic | Claude Opus 4 |
| OpenAI | GPT-4o-mini |
| Google | Gemini 2.5 Flash |
| MiniMax | MiniMax-M1 |
| xAI | Grok 3 Mini Fast |

## Cost

~$0.0001 per run (1 token per model, cheapest tiers).

## Note

This skill uses `pass shared/` for API key retrieval. If you don't use `pass`, you'll need to adapt `scripts/ping.sh` to source keys from environment variables or another secret manager.

Files in this skill

  • SKILL.md1.6 KB
  • scripts/ping.sh3.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.