RayRouter
Live on Base Sepolia

Route AI requests
to the best price.
Pay with USDC.

RayRouter is a two-sided AI routing marketplace. Route requests to OpenAI, Claude, and Gemini at wholesale prices while earning automated USDC payouts.

No credit card requiredUnified AI API
v1/openai/chat/completions
POST /v1/openai/chat/completions
{
"model": "deepseek-v4-flash",
"messages": [{ "role": "user", "content": "..." }],
"stream": true
}
Routed to node-0x7a2f (94.2)
200 OK · Complete
847 in / 156 out | 0.001247 USDC
Savings vs direct
~60%
ARBITRAGE

Save 60% vs. Direct APIs

Route queries dynamically to get identical responses at wholesale provider pricing.

OpenAI GPT-4o
Save 60.9%
Input
$0.98/$2.50-60.8%
Output
$3.90/$10.00-61.0%
Cache Hit
$0.49/$1.25-60.8%
/ 1M tokensAPI 100% Compatible
Anthropic Claude 3.5 Sonnet
Save 60.0%
Input
$1.20/$3.00-60.0%
Output
$6.00/$15.00-60.0%
Cache Hit
$0.12/$0.30-60.0%
/ 1M tokensAPI 100% Compatible
Google Gemini 1.5 Pro
Save 60.0%
Input
$0.50/$1.25-60.0%
Output
$2.00/$5.00-60.0%
Cache Hit
$0.25/$0.63-60.0%
/ 1M tokensAPI 100% Compatible
142 Active Nodes99.95% Uptime

Based on standard retail pricing vs. live provider bids.

FEATURES

Smart Routing.
Token Auditing.

A high-performance router matching requests to the cheapest nodes with built-in auditing and on-chain settlement.

Unified API Gateway

Call OpenAI, Claude, and Gemini via one API key. Zero lock-in, native SSE streaming.

OpenAIClaudeGemini
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://gateway.rayrouter.io/v1",
  apiKey: "rr-sk-9f2d..."
});

Real-Time Arbitrage

Routes queries via multi-factor scoring (70% price, 15% latency, 15% uptime) to secure the cheapest node.

On-Chain Settlement

Transparent settlement verifiable on Base Sepolia via ERC-4337 smart wallets. Support for autonomous, real-time withdrawals ensures maximum capital efficiency.

Post-Response Audit

Background token audits (±2% accuracy) and speed anomaly checks run before settlement.

Circuit Breaker & Failover

Failing nodes cool down instantly. Official vendor APIs act as automatic fallback endpoints to guarantee 100% service availability and reliability.

WORKFLOW

Routing Made Simple

01

Integration

Swap API key and Base URL. Compatible with OpenAI, Claude, and Gemini SDKs.

02

Smart Routing

Gateway evaluates active bids and routes queries to the optimal node.

03

Stream & Audit

Fast SSE streaming with background audits verifying token counts in real-time.

04

Automated Settlement

Smart contract wallets ensure non-custodial security. Provider payouts are transparent and support real-time withdrawals for ultimate capital efficiency.

Join RayRouter
Today

Whether routing queries or monetizing GPUs, the gateway handles matching, billing, and settlement.