OpenAI & Anthropic Compatible Gateway

The secondary exchange for surplus AI token capacity.

Subscribers and teams with unused monthly token allocations or idle provisioned throughput sell their expiring capacity before billing reset. Developers and autonomous agents route overflow traffic at 30%–60% below retail overage rates.

OpenAI SDK Base URL https://renttokens.dev/v1
Anthropic / Claude Code Base URL https://renttokens.dev
Agent Self-Signup POST /v1/agents/register
Available Pool Liquidity 0 tokens
Active Capacity Nodes 0
Tokens Routed 0
Zero-Log PII Redaction Enforced by Default

Supported Models & Reference Rates

Compare standard provider pay-as-you-go overage rates against the lowest active ask on the order book.

Live Capacity Order Book

Requests automatically match against the best-scored provider based on your routing strategy (cheapest, balanced, lowest_latency, or privacy_strict).

Provider Node Model Source Type Available Tokens Window Reset Retail (1M In / Out) Ask Price (1M In / Out) Discount SLA

Buy Token Capacity & Manage API Keys

Generate a scoped API key, fund your account via Stripe or Base L2 USDC, and point any OpenAI or Anthropic client at https://renttokens.dev.

1. Provision Account & Scoped API Key

Instant Issuance

2. Fund Account Balance

Micro-Escrow Protected

Funds are held in pre-authorized micro-escrow per request and settled to the exact token count ($0.000001 precision). Unused holds are refunded immediately.

Base Mainnet (Chain ID 8453) USDC Deposit Address Loading...

3. Drop-In SDK & Agent Integration

OpenAI & Anthropic Compatible

OpenAI SDK (Node.js / TypeScript)

import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://renttokens.dev/v1',
  apiKey: process.env.RENTTOKENS_API_KEY,
  defaultHeaders: {
    'X-Routing-Strategy': 'cheapest'
  }
});

const res = await client.chat.completions.create({
  model: 'claude-3-7-sonnet',
  messages: [{ role: 'user', content: 'Hello!' }]
});

Anthropic SDK & Claude Code

# Use directly with Claude Code or @anthropic-ai/sdk
export ANTHROPIC_BASE_URL="https://renttokens.dev"
export ANTHROPIC_API_KEY="tm_live_your_key"

# Or via curl to /v1/messages:
curl https://renttokens.dev/v1/messages \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-3-7-sonnet",
    "max_tokens": 1024,
    "messages": [{"role":"user","content":"Hi"}]
  }'

Autonomous AI Agent Self-Onboarding

# Agents can register & fund autonomously (no human UI):
curl -X POST https://renttokens.dev/v1/agents/register \
  -H "Content-Type: application/json" \
  -d '{
    "agentName": "swe-agent-worker-01",
    "defaultStrategy": "cheapest"
  }'

# Returns account_id, api_key (tm_live_...),
# and Base L2 USDC (x402) deposit instructions.

Sell Unused Token Capacity

Monetize surplus monthly API tier bandwidth, expiring committed credits, or idle self-hosted GPUs before your billing window resets. Sellers receive 90% of every settled trade.

Publish Capacity Listing to Order Book

AES-256-GCM Encrypted Vault

Provider Payouts & Withdrawals

90% Seller Net Share

As requests settle against your listing, 90% of the trade value is credited immediately to your Seller account (10% platform clearing fee). Withdraw anytime via ACH (0% fee), Stripe Connect, or Base L2 USDC.

Prefer Not to Upload API Keys? Run the Local Edge Daemon

Our open-source (MIT) edge daemon lets you fulfill marketplace jobs directly from your own machine so your upstream credentials never leave localhost:

npx tsx src/cli/providerDaemon.ts

Zero-Log Privacy Architecture & Cryptographic Verification

How RentTokens protects Buyer prompts and Seller accounts simultaneously.

Interactive Reversible PII Scrubber Testbench

Client & Gateway Redaction

Before any prompt is routed to a third-party Seller node, sensitive entities (emails, API keys, SSNs, Luhn-validated credit cards, phone numbers, IPv4 addresses, and PEM keys) are replaced with deterministic placeholders (e.g. <PII:EMAIL_1>) and re-hydrated in the response stream.

Cryptographic Trade Receipt Verifier

HMAC-SHA256 Signed

Plaintext prompts are never written to disk. Every completed request emits a signed fluxtoken_settlement.signed_receipt proving exact token metering, SHA-256 payload commitments, and micro-USD conservation.

Trade ID Model Tokens Buyer Paid Saved vs Retail SHA-256 Commitment