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/moFull catalog10 RPM
Growth$50/moFull catalog25 RPM
Scale$90/moFull catalog50 RPM

All plans: unlimited tokens, no per-token billing.

Trial: 3 days, card required, cancel before day 4 if you don't want to continue.

  • 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, full catalog, 10 RPM
  • Growth — $50/mo, full catalog, 25 RPM
  • Scale — $90/mo, full catalog, 50 RPM

Verify

  1. Confirm the process talks to api.piramyd.cloud.
  2. Claude still feels like Claude — same CLI, project files, hooks.
  3. RPM: Solo 10 / Growth 25 / Scale 50.
  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: Solo 10 / Growth 25 / Scale 50

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?

3 days. Card required. Cancel before day 4 if you don't want to continue.

How many models / what's my RPM?

Every plan includes the full model catalog. Solo: 10 RPM. Growth: 25 RPM. Scale: 50 RPM.

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 3-day trial

3-day trial on Solo · Card required · Cancel before day 4 and pay nothing

For AI agents

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