npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gpusmarket

v2.4.10

Published

Rent real GPUs from the terminal. Agent-first CLI + built-in MCP server for GPUsMarket — signup, rent, chat, pool. Per-second billing, $0.50 minimum per rental.

Readme

gpusmarket

Rent real GPUs from the terminal. Built for AI agents.

npm version MCP — 32 tools Agent-native smithery badge

One command to sign up, one to rent, one to run inference. Per-second billing, no subscriptions, $0.50 minimum per rental. The CLI your coding agent can drive end-to-end: GPUsMarket.

npm install for GPUs. One command in, one command out.

Renting a GPU usually means a signup form, a quota request, a support ticket, and a $50 minimum — before you've run a single token. GPUsMarket collapses that to three commands: everything from consumer RTX 4090s to datacenter H100s and MI300Xs, rentable by the second. And it's built so your agent can sign up and rent by itself — no human, no browser, no dashboard.

Works with: Claude Code · Cursor · Cline · Windsurf · Aider · Codex · any MCP client

gpusmarket demo

Install to real inference in under a minute — watch the full-res demo.

npm install -g gpusmarket
gpusmarket init

Quick start

# Create an account (returns your API key, auto-saved)
gpusmarket signup --email [email protected] --tenant my-agent

# Find a GPU
gpusmarket search --gpu "RTX 4090"

# Rent the cheapest match — returns an OpenAI/Ollama-compatible endpoint + key
gpusmarket rent --gpu "RTX 4090"

# Run inference straight through your rental
gpusmarket chat "What is 2+2?" --model gemma3:4b

# Stop when done — you pay for exactly the seconds you used
gpusmarket stop RENTAL-ID

Built for agents

Built so an agent can go from zero to running inference with no human in the loop — sign up, rent, infer, and stop, all from the terminal or over MCP. This CLI is designed to be driven by AI coding agents (Claude Code, Cursor, Cline, Windsurf, Codex, Copilot), not just humans.

  • gpusmarket init — in-terminal quickstart: detects your agent's config file, prints a ready-to-paste skill block, MCP setup, and next steps.
  • gpusmarket init --agent-schema — the full command contract as JSON: every command, every flag, plus the rules agents must follow. Load it into context and your agent never hallucinates a flag.
  • --json everywhere — every command has machine-readable output.
  • Zero dependencies — a single self-contained Node.js CLI. Nothing to audit but us.

Watch an agent drive it end-to-end (click for the full-res video):

agent drives gpusmarket via MCP

Claude Code searches, rents, runs inference, and stops the GPU — no human in the loop.

MCP server

gpusmarket mcp-serve exposes 32 tools over stdio — search, rent, status, stop, chat, host, pools, the whole surface. Add it to Claude Code:

claude mcp add gpusmarket -- gpusmarket mcp-serve

…or drop it into any MCP client's .mcp.json. The MCP server runs outside your project directory, so pass your API key via the GPUSMARKET_API_KEY environment variable:

{
  "mcpServers": {
    "gpusmarket": {
      "type": "stdio",
      "command": "gpusmarket",
      "args": ["mcp-serve"],
      "env": { "GPUSMARKET_API_KEY": "gpu_your_key_here" }
    }
  }
}

No key yet? Run gpusmarket signup to provision one, or grab it from your dashboard.

Core capabilities

Each demo links to the full-resolution MP4.

| Browse the marketplace | Manage your rentals | Load-balance a pool | |---|---|---| | browse | manage | pools | | search · cheapest · models | rentals · status · stop | pool create · add · list |

# Browse
gpusmarket search --gpu "RTX 4090"      # filter by GPU, price, model
gpusmarket cheapest --model gemma3:4b   # the single cheapest node that serves a model
gpusmarket models                       # every model available across the marketplace

# Manage
gpusmarket rentals                      # your active rentals
gpusmarket status RENTAL-ID             # live status + running cost
gpusmarket stop RENTAL-ID               # stop, pay for the seconds you used

# Pool — one endpoint, several rentals behind it
gpusmarket pool create my-pool
gpusmarket pool add my-pool RENTAL-ID
gpusmarket pool list

Honest billing

  • Per-second billing. A 90-second experiment costs 90 seconds of GPU time.
  • A hold, not a charge. Renting places a pre-auth hold (default $10) — it's released in full when you stop. You are never charged the hold.
  • $0.50 minimum per rental. You pay per second for the compute you consume, subject to a $0.50 minimum charge per rental (disclosed when you rent). When you stop, your card is charged the exact usage cost, or the $0.50 minimum — whichever is greater.
  • Receipts for everything, with a full "where your money goes" breakdown.

Earn with your GPU

Your GPU earns nothing while it sits idle. List it in one command — the CLI auto-detects your hardware, prints your host key, and the listing goes live in minutes. You keep 90% of every rental, paid out to your Stripe account automatically. No port forwarding, no static IP, no open inbound ports.

Three ways to host (click any demo for the full-res video):

| Mac (Apple Silicon) | NVIDIA GPU | Docker sidecar | |---|---|---| | host on mac | host on nvidia gpu | host via docker | | gpusmarket host setup | auto-detects CUDA + VRAM | docker compose up -d |

gpusmarket host setup          # auto-detects your GPU, creates the listing
npx gpusmarket-host --key KEY  # connect your machine — no port forwarding needed

Commands

| Command | Description | |---------|-------------| | init | Quickstart guide (--agent-schema for the JSON command contract) | | signup / login / logout / whoami | Account + API key management | | search / models / cheapest | Browse the GPU marketplace | | rent / rentals / status / stop | Rent, monitor, and stop GPUs | | chat | Inference through your rental (streams, or pipe from stdin) | | pool create/list/add/remove | Load-balance several rentals behind one key | | host setup | List your own GPU for rent (auto-detects hardware) | | benchmark submit | Run the gmbench/1 suite on your local Ollama + publish measured speed to your listing | | mcp-serve | Start the MCP server (stdio) |

Run gpusmarket --help for the full reference, flags included.

Features

  • Search — filter the marketplace by GPU, price, or the exact model you need to run.
  • Rent — one command returns an OpenAI/Ollama-compatible endpoint + key, ready for inference.
  • Chat — stream inference straight through your rental, or pipe from stdin.
  • Pools — put several rentals behind one endpoint and load-balance across them.
  • Host — list your own GPU (Mac, NVIDIA, or Docker) and keep 90% of every rental.
  • Per-second billing — receipts for everything, $0.50 minimum per rental, no subscriptions.
  • MCP server — 32 tools over stdio for Claude Code, Cursor, Cline, Windsurf, any MCP client.
  • Agent-native--json everywhere plus init --agent-schema so agents never guess a flag.

Why this exists

Renting a GPU should be as fast as npm install. Not a signup form, a quota request, a support ticket, and a $50 minimum. GPUsMarket is a marketplace where anyone can list an idle GPU and anyone — or any agent — can rent it by the second. This CLI is the agent-native front door to that marketplace. It's early and moving fast: if something's rough or missing, open an issue — we read every one.

Documentation

Full docs at gpusmarket.com. Run gpusmarket init for the interactive quickstart.

License

Proprietary — Copyright (c) 2026 Tyga.Cloud Ltd. All rights reserved. See LICENSE file.