Piramyd

Guide · Claude Code · npx piramyd

How to run Claude Code on Piramyd (flat rate, no per-token billing)

By Mhiro Ash — founder, Piramyd Protocol Inc.

Hook

Claude Code is excellent. Anthropic's direct API billing is not — especially once you start burning tokens on long agent loops, refactors, and multi-file sessions.

I'm Mhiro Ash, founder of Piramyd Protocol Inc. This post is a straight setup guide: how to point Claude Code at Piramyd with npx piramyd, keep your existing CLAUDE.md / hooks / memory, and pay a flat monthly rate instead of per-token invoices.

No invented savings claims. No landing-page theater. Just the path that works.

What you get

On Piramyd you run Claude Code the same way you already do — with a different base URL and a flat plan.

PlanPriceModelsRPM
Solo$30/moSolo tier5 RPM
Growth$50/moSolo + Growth tiers5 RPM
Scale$90/moFull catalog (all tiers)15 RPM

All plans: unlimited tokens, no per-token billing. Requests are subject to your plan's RPM limit.

Trial: 3 days. $1 today for your trial. Then $30/month unless you cancel before renewal.

  • claude-piramyd sources ~/.claude-piramyd/.env (mode 0600)
  • sets ANTHROPIC_BASE_URL → https://api.piramyd.cloud/v1
  • execs claude
  • Your CLAUDE.md, hooks, and memory stay intact

Onboarding entrypoint: npx piramyd.

Prereqs

  1. Node.js with npx available (current LTS is fine).
  2. Claude Code CLI already installed and working (the launcher execs claude).
  3. A card for the 3-day trial at piramyd.cloud if you want live API access.
  4. Comfort editing env files under ~/.claude-piramyd/ (permissions should stay 0600).

Setup

1. Onboard

$ npx piramyd

Follow the prompts. This wires you to Piramyd and sets up the local env the launcher will source.

2. Confirm the env file

~/.claude-piramyd/.env

Permissions should be 0600 (owner read/write only).

3. Launch through Piramyd

$ claude-piramyd

The launcher sources the env, sets ANTHROPIC_BASE_URL to https://api.piramyd.cloud/v1, and execs claude. You're not migrating a project — you're swapping the API endpoint and billing model.

4. Pick a plan

  • Solo — $30/mo, Solo models, 5 RPM
  • Growth — $49/mo, Solo + Growth models, 5 RPM
  • Scale — $90/mo, full catalog, 15 RPM

Verify

  1. Confirm the process talks to api.piramyd.cloud.
  2. Claude still feels like Claude — same CLI, project files, hooks.
  3. RPM: Growth 5 / Scale 15. Extra RPM: $10 each.
  4. ls -l ~/.claude-piramyd/.env shows 0600.

Prove economics (optional)

For a local look at what Claude Code has been costing on Anthropic direct, use agent-receipts:

$ npx agent-receipts

It reads local ~/.claude/projects history. Nothing is uploaded.

One documented historical scan (not a universal claim): that local scan estimated $167.43 on Anthropic direct vs $30 Solo on Piramyd — about 5.6×. One machine, one history — not a guarantee for every workflow.

Repo: github.com/belmirongola/agent-receipts

Same vs changes

Same

  • Claude Code CLI
  • CLAUDE.md, hooks, memory / project context
  • How you write and ship day to day

Changes

  • Billing: flat monthly plan instead of per-token invoices
  • Endpoint: ANTHROPIC_BASE_URL → https://api.piramyd.cloud/v1
  • Launcher: claude-piramyd + ~/.claude-piramyd/.env
  • RPM caps: Growth 5 / Scale 15

FAQ

Do I lose CLAUDE.md, hooks, or memory?

No. The launcher execs claude after setting the base URL.

Is there per-token billing on Piramyd?

No. Flat plans: Solo $30, Growth $50, Scale $90 — unlimited tokens within the plan's model list and RPM.

What's the trial?

$1 today for your trial. Then $30/month unless you cancel before renewal.

How many models / what's my RPM?

Each plan unlocks its model tier with unlimited tokens; requests are subject to the plan's RPM limit. Growth: Solo + Growth models at 5 RPM. Scale: full catalog at 15 RPM. Extra RPM is $10 each, one-time.

How do I start?

npx piramyd, then launch with claude-piramyd.

Who wrote this?

Mhiro Ash, founder of Piramyd Protocol Inc. Disclosure up front: I build this.

CTA

  1. Run npx piramyd
  2. Launch with claude-piramyd
  3. Keep Claude Code; drop per-token billing

Live product: piramyd.cloud

Stop rationing your agents.
Let them finish the job.

The agents you already use, every frontier model, and a bill that doesn’t move when they work harder.

Start trial

Card required. $0 today. $49/month after 24 hours unless you cancel.

For AI agents

Give this link to any agent: it describes the whole API.