Pay-per-token AI · settled on Arc

One key. Every model.
Paid per token, onchain.

Route Claude, GPT, Llama and more through a single OpenAI-compatible endpoint. No subscriptions — you pay exactly what you spend, down to the µUSDC, settled on Arc. Or run a node and earn on the other side.

Run a node

Wallet · Email · Google — a wallet is created for you.

POST /v1/chat/completions
{ "model": "auto",
  "messages": [{ "role": "user",
    "content": "Summarize this PR" }] }
node · qwen2.5-7b50% cheaper
node · llama-3.1-8brep 0.82
first-party · fallbackalways on
billed$0.000002
Settled on
Arc testnet
Granularity
1 µUSDC
API
OpenAI-compatible
Payments
x402 · USDC
How it works

From zero to a metered call in minutes

01

Connect & fund

Sign in with a wallet, email, or Google. Fund USDC on Arc — your balance is prepaid and non-custodial.

02

Point your tools

Use the OpenAI-compatible endpoint with your key. Cursor, Aider, the SDK — no code changes.

03

Pay per token

Each call is metered to the µUSDC and gated against your budget. Settle the balance on Arc, anytime.

For builders

Buy inference, pay per token

  • One key, every model — swap without changing code
  • Balance-aware auto-routing to the cheapest capable model
  • Budget + context guardrails enforced before each call
  • Set a minimum-discount floor and never overpay
For providers

Run a node, earn per token

  • Point a node at any OpenAI-compatible backend (HF, Ollama, vLLM)
  • Prove wallet ownership + pass a capability canary to join
  • Earn USDC per token; paid out on Arc
  • Reputation, bonding & slashing keep the market honest
Why Obol

Built like infrastructure, priced like a meter

One API, many models

OpenAI-compatible. Anthropic, OpenAI, and open models behind a single endpoint.

Metered to the token

Worst-case cost is gated up front; you're billed on actual usage, to the µUSDC.

Marketplace routing

Requests route to the cheapest healthy node, with a first-party fallback.

Verified supply

Nodes prove identity, pass a canary, post a bond — and get slashed for cheating.

Drop-in for your tools

Point Cursor, Aider, or the OpenAI SDK at Obol with your key. No rewrites.

Keys are identity

Each key carries balance and permissions. Mint, rotate, and revoke at will.

Integration

If it speaks OpenAI, it speaks Obol

Change one base URL and one key. Auto-routing picks the model; metering and settlement happen underneath. Streaming, tools, and the Anthropic Messages shape are all supported.

terminal
curl https://obolservice.onrender.com/v1/chat/completions \
  -H "Authorization: Bearer $OBOL_KEY" \
  -H "content-type: application/json" \
  -d '{
    "model": "auto",
    "messages": [{ "role": "user", "content": "Hello from Obol" }]
  }'

Start spending — or start earning.

Fund a few cents of USDC and make your first metered call, or run a node and get paid per token.

Read the docs