Provider Scan
All your services in one view
npx promptreports-cli providersDiscovers 22+ configured services from your .env.local and queries each API in parallel. One command, your entire stack.
providers reads your .env.local, detects which providers you have keys for (OpenAI, Anthropic, OpenRouter, Vercel, Stripe, Sentry, PostHog, Railway, Supabase, GitHub, Cursor, Copilot, Helicone, LangSmith, Portkey, Datadog, Braintrust, Grafana, New Relic, and more), and queries each one in parallel with retry logic. Groups costs by category (AI, Payment, Infrastructure, Observability) and reports total burn rate with monthly projection.
On this page
Prerequisites
- .env.local with at least one provider API key
- Network access to provider APIs
Flags & Options
| Flag | Description | Default |
|---|---|---|
| --days N | Lookback period for cost data | 7 |
| --json | JSON output | — |
| --quiet | Suppress output | — |
Examples
Scan everything
npx promptreports-cli providersQueries every provider you have keys for.
30-day costs
npx promptreports-cli providers --days 30Monthly burn across all providers.
JSON for dashboards
npx promptreports-cli providers --jsonPipe into your own aggregator.
Output
Grouped tables by category with provider, cost, usage, and status. Bottom section shows total burn rate + monthly projection.
AI
Provider Cost Usage Status
OpenRouter $12.45 2.5M tokens active
Anthropic $18.20 890K tokens active
OpenAI $3.80 340K tokens active
Payment
Provider Cost Usage Status
Stripe $4.50 127 txns active
Infrastructure
Provider Cost Usage Status
Vercel $6.00 94 builds active
Supabase $25.00 DB hosting active
─────────────────────────────────────────────────────
TOTAL BURN RATE: $69.95 / 7 days
$299.78 / month (projected)What it reads and writes
Reads
- .env.local
Writes
Nothing (read-only)
API calls
- Multiple per provider — OpenRouter /usage, Stripe /charges, Vercel /deployments, Sentry /issues, etc.
- All parallel via Promise.allSettled with 10s timeout per provider
Free vs Pro usage
Free tier
- Monitor your full stack spend from one terminal
- Catch runaway costs before the invoice
- Compare AI costs vs infra costs vs payment fees
Pro tier
Upgrade- Auto-scan on cron and push to team dashboard
- Cross-tool intelligence (Helicone cache misses + OpenRouter spend = fix recommendation)
- Budget alerts when projected monthly > threshold
- Anomaly detection — flag when a provider spikes 3x vs 14-day average
Pro tips
- Run providers before any big feature to set a cost baseline
- Pair with git-intel to correlate commits to cost spikes
- Missing providers are OK — providers skips unset keys silently