Skip to main content
Back to Vibe Coder Toolkit
Core

Provider Scan

All your services in one view

npx promptreports-cli providers

Discovers 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.

Prerequisites

  • .env.local with at least one provider API key
  • Network access to provider APIs

Flags & Options

FlagDescriptionDefault
--days NLookback period for cost data7
--jsonJSON output
--quietSuppress output

Examples

Scan everything

npx promptreports-cli providers

Queries every provider you have keys for.

30-day costs

npx promptreports-cli providers --days 30

Monthly burn across all providers.

JSON for dashboards

npx promptreports-cli providers --json

Pipe 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
Free to try

Install the whole toolkit.

One command unlocks all 23 tools.