Test your connection speed to every major AI provider from the terminal.
Measure TTFB (Time to First Byte) latency to 13+ AI providers including OpenAI, Anthropic, Google Gemini, Grok, Mistral, and more — all from a single command.
npx myaispeedNo API keys needed. No configuration. Just run it.
For repeated use, install globally:
npm install -g myaispeedThen run:
myaispeedmyaispeed [options]
Options:
--json Output results as JSON
--help, -h Show help message
--version Show version number
npx myaispeed ⚡ MyAISpeed | AI Latency Test
────────────────────────────────────────────────────────
1. OpenAI 82ms ████████
2. Groq 95ms █████████
3. Anthropic 112ms ███████████
4. Google Gemini 134ms █████████████
5. Mistral 148ms ██████████████
6. Cohere 167ms ████████████████
7. Perplexity 189ms ██████████████████
8. Together AI 203ms ████████████████████
9. DeepSeek 245ms ████████████████████████
10. Grok 267ms ██████████████████████████
11. AI21 Labs 298ms █████████████████████████████
12. Fireworks AI 312ms ██████████████████████████████
13. Replicate 345ms ██████████████████████████████████
Tested 13 providers | myaispeed.com
npx myaispeed --json[
{
"provider": "OpenAI",
"slug": "openai",
"latency": 82,
"success": true
},
{
"provider": "Anthropic",
"slug": "anthropic",
"latency": 112,
"success": true
}
]MyAISpeed measures the Time to First Byte (TTFB) — the round-trip latency from your machine to each AI provider's API endpoint. This tells you:
- Which AI providers are fastest from your location
- How your network conditions affect AI API performance
- Whether a provider is experiencing latency issues
Results vary by geography, ISP, and network conditions. Run the test multiple times for a more accurate picture.
Tests connection speed to all major AI providers including:
- OpenAI
- Anthropic (Claude)
- Google Gemini
- Grok (xAI)
- Mistral
- Groq
- Cohere
- Perplexity
- Together AI
- DeepSeek
- AI21 Labs
- Fireworks AI
- Replicate
The provider list is fetched dynamically, so new providers are added automatically.
- Node.js 18.0.0 or later (uses native
fetch) - Internet connection
Run the same test in your browser at myaispeed.com.
Build your own integrations with the MyAISpeed API. Documentation available at myaispeed.com/developers.
MIT — see LICENSE for details.
Copyright (c) 2026 Reflect Memory, Inc.