Run GPU jobs and serve OpenAI-compatible model endpoints from one command — with spend caps, live logs, automatic teardown, and receipts.
badgr wraps GPU provisioning, execution, and teardown behind two commands — run for one-off jobs, serve for persistent endpoints — with cost safety built in from the start.
badgr run . --cmd "python train.py" --max-cost 5 for one-off jobs; badgr serve <model> --max-cost 10 for a persistent OpenAI-compatible endpoint.
Every job streams logs and auto-stops once --max-cost is reached. badgr down <id> stops billing immediately at any time.
badgr receipts returns cost, route, retry, and teardown history for every run and serve action.
npm install -g badgr-cliRequires Node.js 18+ and a Badgr account (sign up at aibadgr.com).
Authenticate once, then run a project folder on a GPU with a hard cost cap:
badgr login
badgr run . --cmd "python train.py" --max-cost 5badgr loginSave your API key to ~/.badgr/config.jsonbadgr connect <provider>Store a provider credential (anthropic, openai) for badgr launchbadgr doctorDiagnose a GPU workload failure — read-only, no login neededbadgr run <command>Run a one-off GPU job (any container command)badgr launch cline|claude|codex|playwright "<task>"Run a coding/testing agent on a CPU VM — image + command auto-selectedbadgr task "<desc>" -- <command>Label + launch — thin wrapper over badgr launch . -- <command>badgr serve <model>Start a persistent OpenAI-compatible endpointbadgr statusShow what's running and what's billingbadgr logs <id>Fetch log output from a deploymentbadgr pull <id>Pull a code-editing agent's patch as a local git diff/branchbadgr artifacts <id>Download non-patch outputs (test reports, screenshots, traces)badgr down <id>Terminate a deployment — stops billing immediatelybadgr receipts [n]Cost, route, and retry receipts (default 10)badgr batch run <workload.yml>Run a generic containerized batch job with artifact capturebadgr sbatch <job.slurm>Run an existing Slurm batch script (cpus/mem/gres/array/time translated)badgr testRun an end-to-end test (provision → run → teardown)npm install -g badgr-cli — no account needed to get started.