@prismnetwork/claude-plugin
v0.1.4
Published
Claude Code and Codex plugin for Prism Network: rent NVIDIA GPUs by the second and buy single LLM generations, paid onchain per request.
Maintainers
Readme
Prism Network plugin
Rent real NVIDIA GPUs by the second and buy single LLM generations, from inside your agent. Prices are quoted per request, payment settles onchain, and every lease ends in a public receipt.
Works in Claude Code and OpenAI Codex from the same directory.
Install
Claude Code:
claude plugin marketplace add https://plugins.prismnetwork.tech/marketplace.json
claude plugin install prism-gpu@prismCodex:
codex plugin marketplace add https://plugins.prismnetwork.tech/prism-plugins.git
codex plugin add prism-gpu@prismLooking is free
Installed with no wallet, the plugin answers questions about live capacity and real prices and spends nothing:
prism_list_gpus— what is available now, with price per second and per hourprism_price_index— sourced and settled pricing per GPU modelprism_receipts— recent settled leases and their settlement transactionsprism_budget— the spending limits in force and what has been spent today
What can I rent right now, and what would an hour on an L40S cost?
Spending
Add a wallet and the same tools lease a machine and run your work on it:
prism_lease_and_run— lease a GPU, run one command, return the outputprism_lease/prism_run/prism_end_lease— hold a machine across several commandsprism_batch_run— run one command with no interactive access at allprism_infer— buy a single LLM generation, about 0.01 USDGprism_vault_*— seal credentials under a wallet-derived key rather than writing them onto a rented box
Rent a GPU, run
nvidia-smion it, and tell me what it cost.
The wallet
In Claude Code, run /plugin configure prism-gpu@prism and paste the key. It is
stored in your system keychain, never in settings.json.
In Codex, export it before starting a session:
export PRISM_AGENT_KEY=0x...The wallet needs USDG and a little native ETH for gas on Robinhood Chain (id 4663). Fund a dedicated wallet with what you are willing to lose. That balance is the only limit that survives a bug anywhere else.
The limits
| Setting | Default | What it bounds |
| --- | --- | --- |
| max_usdg / PRISM_MAX_USDG | 1 USDG | Any single lease or generation |
| daily_budget_usdg / PRISM_DAILY_BUDGET_USDG | 5 USDG | Everything in a rolling 24 hours |
Spend is written to ~/.prism/spend.json before the money moves, so a restart
does not hand back a fresh day's allowance, and two clients sharing one wallet
share one ceiling. Set the daily figure to 0 to remove it. prism_budget
prints the current position and the recent charges.
Every tool that can spend is marked so that Claude Code asks before each call, including in modes that otherwise approve tools automatically.
Trust classes
Suppliers are graded open < isolated < attested < confidential. On an
open supplier the host operator can read anything the workload touches. Raise
min_trust_class for work that must not be readable, and keep secrets in
prism_vault_store.
Links
Apache-2.0.
