MiniRouter: OpenAI-compatible inference, paid in crypto logoMiniRouter: OpenAI-compatible inference, paid in crypto
1,000 credits = $1. No deposit fee on crypto. Open-weight routes have no markup. MINI mint on Solana. Stake-for-credits is coming soon.
devrels.xyz/a/307MiniRouter is an OpenAI-compatible inference router. One key. Prepaid crypto credit. Point Claude Code, Codex, OpenCode, Cursor, or the OpenAI SDK at https://api.minirouter.sh/v1. Built by SolWorks Labs. Docs live under minirouter.sh/docs.
Keys exist before any payment. Two equal paths: accountless at /key, or an account with email or a Solana wallet. Same prices, same key format. They store a 14-character prefix and a sha256 hash. The plaintext key is returned only at create or rotate. Accountless setup also returns a permanent dashboard link. Save both before you pay. Lose both and there is no personal recovery.
Call it
from openai import OpenAI
client = OpenAI(
base_url="https://api.minirouter.sh/v1",
api_key="mr-live-…",
)
client.chat.completions.create(
model="meta/llama-3.3-70b",
messages=[{"role": "user", "content": "ping"}],
stream=True,
)Header is Authorization: Bearer. Rotate with POST /keys/:id/rotate. Old key keeps a 24-hour grace. Claim an account later with POST /me/claim. Per-key knobs: rpmLimit, tpmLimit, dailyLimitNano, monthlyLimitNano, allowedModels. Spend caps are on by default, lower for accountless keys. 429s carry Retry-After. Bodies over 10 MB return 413.
Money
1,000 credits = $1, pegged. Direct Solana deposits start at $0.50. Relay and other crypto rails start at $5. Checkout only shows rails the backend reports live. No withdrawals. Credits never expire. Refunds are service credit, never cash. Every response reports cost in usage.cost and x-minirouter-cost-usd. Balance header: x-minirouter-balance-usd. A 402 fires when the balance is below the estimated cost.
Pricing page: 0% crypto deposit fee, 0% markup on open-weight models. Card checkout, when shown, passes through 3.5%. Their vs OpenRouter page is dated 30 July 2026. MiniRouter publishes an approved open-model inventory. Restricted frontier models are unavailable. Failover can move a request to another provider and records the provider that ran. That is not an uptime SLA.
MINI
Official mint Ax5dAamJPeuaLpFUzs9FdcpoUhHDcxyjPzxCJQidjups. minirouter.sh/mini describes stake MINI for daily API credits, and revenue toward buybacks. Both are marked coming soon. Do not treat staking as live.
Keep reading
Point Codex, Claude Code, Cursor, or VS Code at https://mcp.solana.com/mcp and prefer live Solana docs over model memory — plus a security autofixer loop for program Rust.
Install the Avici CLI or point MCP at https://mcp.avici.money/setup. Your agent can answer “what’s my balance?” and “what did the card spend?” — it cannot send, swap, or withdraw.
Frontier models are commoditizing. The scarce skill is embedding with a real workflow, deciding where intelligence belongs, proving it with evals, and shipping into systems people already use. Palantir invented the posture; Lyra industrializes it from Australia into YC startups; AI labs rename it FDE. Definition, delivery loop, honest pay, Solana hire.
Get new articles in your inbox
Technical deep-dives on Solana tooling, infrastructure, and ecosystem. No noise.
