Model IDs are case-sensitive and carry no provider prefix — use the exact strings from GET /v1/models, e.g. claude-opus-4.6, not claude/opus-4.6. · Model IDs are case-sensitive and carry no provider prefix — use the exact strings from GET /v1/models, e.g. claude-opus-4.6, not claude/opus-4.6. ·
ArzaRouter
ArzaRouter — the AI inference marketplace

Maximize every token you spend on AI.

Call dozens of frontier models through one OpenAI- and Anthropic-compatible API, billed per million tokens in USDC and routed to the best-priced healthy provider. No monthly plan, no commitment — pay for what you use, at a fraction of official pricing.

💰 — tokens routed on live traffic
I want API access

Pay per token. Maximum value.

Top up USDC, grab one key, then curl -fsSL https://arzarouter.arzastore.com/helper | node — or call any model from your SDK. Stop calling, stop paying.

—total requests
—tokens routed

Top 5 consumer spending

All time
I have capacity

Turn idle capacity into USDC.

Connect one of the curated upstreams — Claude, Codex, z.ai, OpenCode Go, Command Code — and earn on the headroom you don't use.

—ready to spend
—paid to publishers

Top 5 publisher earnings

All time
Today (UTC)
—requests
—input tokens
— cached (—)
—output tokens
Pay per token — no subscription USDC on Solana mainnet OpenAI + Anthropic compatible

Reach upstreams that normally live behind a monthly plan

ClaudeAnthropic-compatible
CodexOpenAI-compatible
z.ai GLMOpenAI-compatible
OpenCode GoOpenAI-compatible
Command CodeAI SDK compatible

One API, two protocols, a marketplace behind it

ArzaRouter is an OpenAI- and Anthropic-compatible API with a marketplace behind it. Call any model with one key; route to capacity that fits your budget.

Get started in one command

Coding agents first: run the helper, paste your key, pick models. Or point your OpenAI / Anthropic SDK at ArzaRouter — same request shape, same streaming, one key for both.

Coding agents
Claude Code · Codex · OpenCode · Hermes · OpenClaw · Cline
# One command: validates your key, then writes each agent's config
curl -fsSL https://arzarouter.arzastore.com/helper | node

# Or wire the environment yourself:
export OPENAI_BASE_URL=https://arzarouter.arzastore.com/api/v1
export OPENAI_API_KEY=sk-infer-...

# Anthropic-compatible clients (Claude Code appends /v1 itself):
export ANTHROPIC_BASE_URL=https://arzarouter.arzastore.com/api
export ANTHROPIC_API_KEY=sk-infer-...

# Check the key and list the models it can reach:
curl -s https://arzarouter.arzastore.com/api/v1/models \
  -H "Authorization: Bearer $OPENAI_API_KEY"
OpenAI SDK
Chat completions, streaming, tool calls
// OpenAI SDK → any upstream
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPENAI_API_KEY,,
  baseURL: "https://arzarouter.arzastore.com/api/v1",
});

const res = await client.chat.completions.create({
  model: "claude-sonnet-4.6",
  messages: [{ role: "user", content: "Explain PKCE." }],
});
Anthropic SDK
Messages API, native Claude
// Anthropic SDK → Claude upstream
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env.ANTHROPIC_API_KEY,,
  baseURL: "https://arzarouter.arzastore.com/api",
});

const res = await client.messages.create({
  model: "claude-opus-4.6",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Write a haiku." }],
});
Auto-routing
Let the gateway pick the provider
// "auto" → the gateway picks the provider
const res = await client.chat.completions.create({
  model: "auto",
  messages: [{ role: "user", content: "Refactor this function." }],
  stream: true,
});

Full walkthrough in docs.

Models reachable without buying the plan

Per-Mtoken pricing in USDC — guaranteed at or below 50% of official rates. Publishers set their ask; the platform enforces the cap.

ModelInput / MtokOutput / Mtok

Two paths, same platform

For publishers

Put your model capacity to work

Your idle model capacity has headroom. Connect one of the curated upstreams once, set your per-Mtoken price, and earn USDC from capacity you'd otherwise waste. We track real upstream usage so you never get cut off unexpectedly.

    Publisher dashboard (example)
    Connected capacityClaude · Codex · z.ai
    Your ask$0.40 / Mtok in
    Quota healthnot measured yet
    Pool routinglive
    Payoutsnot enabled yet

    Pay-per-use for consumers, payout for publishers

    Consumers pay the published per-Mtoken rate for the model they call. Rates are set per model by the publisher and shown in the rate card above — no subscription tier required on either side.

    Call models now, or let yours earn

    Deposit USDC and hit your first model in minutes — or connect a curated upstream and start earning from idle capacity. Both paths run on the same OpenAI- and Anthropic-compatible API, settled in USDC on Solana mainnet.

    Join the ArzaRouter community on Discord

    Get support, request features, share suggestions, and follow updates. Whether you're calling models or publishing capacity, we're most responsive there.

    Join the Discord