← LLM router
Architecture
How LLM router (https://llm-router-dashboard.pages.dev) is built, where its data lives, and how it ships.
Platform: Cloudflare Pages (static)Snapshot: 2026-09-06Revision: 0d45fc0
Request path
- Live router monitor: spend, latency, pools and GPU. Static dashboard reading router metrics.
- Data arrives as JSON snapshots built on the laptop, never live secrets.
- Rebuild scripts regenerate the pages; the push (or direct upload) is the deploy.
Data and state
- Static HTML/JSON in the output directory — the whole site.
- Source data stays in the repository (data/, logs/); secrets stay out of version control.
Background work
- dashboard_pusher.py pushes metrics.
- Deploys via wrangler pages deploy dashboard-cloud.
Surfaces
Ship it
cd ai-llm/llm-router
npx wrangler pages deploy dashboard-cloud --project-name=llm-router-dashboard --branch=main
curl -s -o /dev/null -w '%{http_code}' "https://llm-router-dashboard.pages.dev/architecture.html?cb=$(date +%s)"