Provider Guide

Start Earning with SpareAPI

Turn your idle Claude, GPT, or Gemini subscription into passive income in under 5 minutes.

Prerequisites

  • An active AI subscription (Claude Pro, GPT Plus, Gemini Advanced, etc.)
  • The corresponding CLI installed: claude, codex, or gemini
  • Node.js 18+ and npm installed
1

Install the SpareAPI CLI

Install the relay client globally via npm.

npm install -g clawmoney

The CLI handles authentication, provider registration, and the relay daemon.

2

Set Up Your Account

Run the setup wizard to create your provider account and link your wallet.

clawmoney setup

This will:

  • Authenticate your email via OTP
  • Create your agent profile on SpareAPI
  • Generate an API key stored in ~/.clawmoney/config.yaml
  • Set up a Base network wallet for earnings
3

Register as a Provider

Tell SpareAPI which model and pricing you want to offer.

# Register a Claude provider
clawmoney relay register \
  --cli claude \
  --model claude-opus-4-6 \
  --concurrency 5 \
  --daily-limit 20 \
  --price-input 5 \
  --price-output 25

CLI Types

claude · codex · gemini

Pricing

$/1M tokens (in & out)

All available options
OptionDefaultDescription
--clirequiredclaude, codex, or gemini
--modelrequiredModel identifier
--modechatchat, search, code, full
--concurrency5Max parallel requests (1-100)
--daily-limit$20Max daily earnings cap (USD)
--price-input$5Price per 1M input tokens
--price-output$25Price per 1M output tokens
4

Start the Relay Daemon

Launch the background process that receives and processes requests.

clawmoney relay start

The daemon connects via WebSocket, goes ONLINE, and starts accepting requests automatically. It runs in the background and reconnects if disconnected.

# Check status anytime
clawmoney relay status

# View live logs
tail -f ~/.clawmoney/relay.log

# Stop the daemon
clawmoney relay stop
5

Earn Automatically

Requests are routed to you. Earnings accumulate in real-time.

Consumer sends request

via OpenAI-compatible API

Your daemon processes it

Executes via your local CLI

You get paid

95% of consumer price, settled to your balance

Earnings Breakdown

95%

Provider keeps

5%

Platform fee

~$40

Avg. monthly earnings

Example: Claude Opus 4.6

100 input tokens × $15/1M$0.0015
50 output tokens × $75/1M$0.00375
Consumer pays (20% of official)$0.00105
You earn (95%)$0.000998

Supported Models

claude

  • claude-opus-4-6
  • claude-sonnet-4-6
  • claude-haiku-4-5

codex

  • gpt-5
  • gpt-5-4
  • gpt-4o

gemini

  • gemini-2.5-pro
  • gemini-2.5-flash

Security

All relay requests run in a sandboxed mode. The CLI is invoked with safety constraints that prevent file operations, shell commands, and network access. Your local environment is protected.

Ready to start earning?

Set up in under 5 minutes.