Offload cheap AI tasks (classification, entity/JSON extraction, transcription and speech, small-model chat) to ZeroGPU small/nano models, and see the cost you save by doing so.
Cut inference costs without dumbing down your agent.
Route summarize, classify, JSON extraction, and short chat to small/nano models via the zerogpu CLI, executed locally by your agent's Bash tools.
What is herogpu Router?
Herogpu Router is a smart task router for AI agents. It exposes task-specific skills (summarize, classify, extract JSON, and more) that shell out to the local zerogpu CLI, backed by small language models that run for a fraction of the cost of a frontier model. Herogpu was formerly called ZeroGPU; the zerogpu CLI, package and plugin names stay as they are.
Your agent keeps doing the heavy reasoning. The boring stuff gets routed to herogpu.
OpenClaw: install the zerogpu CLI plus zerogpu-router (see agents/openclaw/). Skills run locally through your agent's Bash tools.
Claude Code: install the zerogpu CLI plus the marketplace plugin and you get 29 auto-invoked skills plus a cost-savings readout (see agents/claude/).
Cheap by default: small models for trivial work, frontier model untouched for everything else.
Per-call savings: every routed task returns model, latency, and a real savings_usd figure.
CLI, no infra: everything runs through the local zerogpu CLI your agent already calls. No servers, MCP endpoints, or infra to stand up.
The plugin's skills provision the zerogpu CLI automatically on first use (via a node install spec), so there's no separate global install. You just need a package manager (npm by default) available.
2. Authenticate:
zerogpu login
You'll be prompted for your API key (zgpu-api-…).
4. Try it:
summarize this account note: Renewal call with Acme Corp went well overall. They
are happy with uptime but frustrated by slow support response times over the last
two months. Their VP hinted at evaluating a competitor if the SLA does not improve
before the December renewal. They also asked about volume pricing for a second
team of about 40 seats. Action items: loop in support leadership and send an
updated enterprise quote by Friday.
The agent runs the summarize skill, which executes zerogpu summarize locally via its Bash tool, and returns a concise, slightly mechanical summary plus a savings line, for example:
Positive Acme Corp renewal call: happy with uptime, frustrated by slow support
the last two months. VP may evaluate a competitor if the SLA does not improve
before the December renewal; also asked about volume pricing for ~40 more seats.
Next: loop in support leadership, send an updated enterprise quote by Friday.
💰 ZeroGPU savings so far: $1.87 (16,320 Claude tokens offloaded)