Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

⚡ MyAISpeed CLI

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.

Quick Start

npx myaispeed

No API keys needed. No configuration. Just run it.

Installation

For repeated use, install globally:

npm install -g myaispeed

Then run:

myaispeed

Usage

myaispeed [options]
Options:
--json Output results as JSON
--help, -h Show help message
--version Show version number

Visual Output

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

JSON Output

npx myaispeed --json
[
{
"provider": "OpenAI",
"slug": "openai",
"latency": 82,
"success": true
},
{
"provider": "Anthropic",
"slug": "anthropic",
"latency": 112,
"success": true
}
]

What It Measures

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.

Providers

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.

Requirements

  • Node.js 18.0.0 or later (uses native fetch)
  • Internet connection

Web Version

Run the same test in your browser at myaispeed.com.

API & Developers

Build your own integrations with the MyAISpeed API. Documentation available at myaispeed.com/developers.

License

MIT — see LICENSE for details.

Copyright (c) 2026 Reflect Memory, Inc.