Skip to content
duncanplattPublic

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

AI Status

Real-time status and latency monitoring for major LLM providers — OpenAI, Anthropic, and Google.

Combines official status page data with independent API probes to give you the full picture.

Deploy with Vercel

How It Works

  • Official status: Fetches each provider's public status page API (Statuspage.io for OpenAI/Anthropic, Google Cloud Status for Google)
  • Active probes: Sends a tiny request ("ok", minimal tokens) to multiple models per provider to independently verify availability and measure latency
  • Split caching: Status pages refresh every 60s (free, fast). API probes refresh every 5 minutes (costs tokens). Both use Next.js ISR — probes only run when someone is looking
  • Progressive loading: Status page data renders instantly; probe results stream in as they complete
  • Adaptive polling: Client polls every 30s normally, 10s when stale data is detected. Polling pauses entirely when the tab is not visible
  • Smart grouping: OpenAI's 25+ services are grouped into ChatGPT, API, Sora, and FedRAMP — only troubled services are expanded

Providers

Provider Status Source Models Probed
OpenAI status.openai.com GPT 6.2 Astra, GPT 6.2 Sol, GPT 6.1 Terra, GPT 6 Luna
Anthropic status.anthropic.com Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5
Google status.cloud.google.com Gemini 4 Argon, Gemini 4 Hydrogen

Setup

git clone https://github.com/duncanplatt/AIStatus.git
cd AIStatus
npm install
cp .env.example .env.local
# Edit .env.local with your API keys (all optional)
npm run dev

Environment Variables

All optional — the dashboard shows official status data without any keys. Add keys to enable active probing.

Variable Description
OPENAI_API_KEY Enables probes for OpenAI models
ANTHROPIC_API_KEY Enables probes for Anthropic models
GOOGLE_API_KEY Enables probes for Google models

Adding a Provider

  1. Add status and probe functions in src/lib/providers.ts following the existing pattern
  2. Register the cached fetchers in src/lib/get-status.ts
  3. Add an icon to public/icons/

Each provider has two functions: fetchXxxStatus() (fast, status page only) and fetchXxxProbes() (slow, API calls). They're cached independently.

Tech Stack

  • Next.js (App Router, TypeScript, ISR)
  • Tailwind CSS
  • Vercel (hosting, edge caching)

License

MIT

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages