KM AI SPEED TEST · OPEN TERMINAL TOOL · V0.10.1
KM AI Speed Test: a speed test for your AI agents.
Measure streaming tokens per second, time to first token, stream jitter, large-prompt overhead and tool-loop latency from your terminal — built for Omarchy Linux, Linux, macOS and Windows.
Free and open source. MIT licence Source code on GitHub ↗
Install and run locally
Install, then test every agent CLI you have (Omarchy, Linux, macOS)
curl -fsSL https://krutrimmulyankan.in/speedtest/install.sh | shRun it any time: speedtest tests every agent, speedtest claude tests one
speedtestWindows: install from PowerShell (does not start a test)
irm https://krutrimmulyankan.in/speedtest/install.ps1 | iexWatch it run
The real flow on one machine, with waiting time shortened: paste one line, it installs, finds your agent CLIs, counts down, tests each one on its own speedometer and ranks them. The figures are real results from that machine; yours will differ.
Interactive speedometer preview
Preview how the live terminal gauge tracks streaming throughput across model tiers. Real measurements run locally in your terminal against your own agents or API keys.
78.2
TOKENS / SEC (DECODE)
Select a profile and click Preview live gauge.
Check it before you run it
- No telemetry, no account, no background process. During a test the only thing that leaves your machine is a fixed test prompt, sent by each agent CLI to its own vendor exactly as when you use it normally.
- Read the installer before running it: download install.sh, open it, then run it with --no-run to install without starting a test.
- Check the download against the build on GitHub. Every release is built by GitHub Actions from the public source and signed there: gh attestation verify speedtest-ai.cjs --repo piyushbodaa/speedtest-ai
- Agents run in an empty temporary folder, never in your project, and are not started with permission prompts turned off unless you ask for it.
How WiFi speedtest metrics map to AI
- Ping (time to first token)
- Time from starting the CLI, or sending the HTTP request, to the first visible token. CLI start-up time is shown separately.
- Download (tokens per second)
- Tokens per second after the first token, counted with one local tokenizer for every CLI so results are comparable, alongside end-to-end throughput, peak rate and stream jitter.
- Upload (large prompt)
- Sends a unique synthetic log with an embedded verification code, so prompt caching cannot hide the cost, and reports the extra wait compared with a tiny prompt.
- Agent Tool Loop
- Runs an isolated temporary sandbox probe asking your coding agent harness to read a file and return its exact verification token.
Supported targets & Omarchy Linux
- Tested agent CLIs: Claude Code (claude), OpenAI Codex CLI (codex), Antigravity CLI (agy), Grok CLI (grok) and Muse Code (muse). Experimental support for others it finds, such as Gemini CLI, Qwen Code, OpenCode, Cursor Agent, Amp, Copilot CLI and Goose, or any custom CLI via --cmd.
- Local and cloud APIs: Ollama, LM Studio, OpenAI (or any --base-url), Anthropic, Google Gemini and OpenRouter, plus zero-cost demo mode.
- Omarchy Linux native: installs into ~/.local/bin (already on Omarchy PATH), never runs or auto-installs inactive mise shims, and draws flicker-free gauges in Ghostty, Alacritty, Kitty and Foot. Every test sends real prompts, so it uses your model quota.
- Desktop-ready JSONL stream: pass --jsonl to emit newline-delimited gauge events (run:start, phase:start, gauge:tick, phase:complete, run:complete, run:error) for GUI apps.
- Menu bar and tray: run speedtest menubar install for a menu-bar item on macOS (through the free SwiftBar app) or a tray icon on Windows. Each lists your agent CLIs with their last result and starts a test for one or all of them. Omarchy has its own plugin in the Omarchy plugin marketplace.
- Faster and shareable: speedtest --parallel tests every agent at the same time, so the whole run takes about as long as the slowest one. After a run the leaderboard is saved as an image, and speedtest share copies it to your clipboard to post. The image holds agent names, models and figures, nothing about your machine.