AI Inference Gateway

One endpoint, every model, prepaid.

OpenAI-compatible API that routes to 40+ models from Anthropic, OpenAI, Meta, and others. Pay up front, know your cap, never get an invoice.

import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.rhodes.ai/v1',
  apiKey: process.env.RHODES_KEY,
});

const completion = await client.chat.completions.create({
  model: 'rhodes/llama-3.1-70b',
  messages: [{ role: 'user', content: 'Hello' }],
});

Same SDK, same request format. Two lines to switch from OpenAI direct to Rhodes routing.

Models supported 40+ from 8 providers
Tokens routed 2.3B and counting
Starting at $0.05 per million tokens
Uptime 99.9% last 30 days

Routes to

How it works

Swap the base URL

Point existing OpenAI SDK code at Rhodes with one environment variable.

import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.rhodes.ai/v1',
  apiKey: process.env.RHODES_KEY,
});

Set a fallback chain

Route requests through cheaper models first, frontier as backup.

POST /v1/chat/completions
{
  "model": "rhodes/llama-3.1-70b",
  "fallbacks": [
    "rhodes/claude-sonnet-4"
  ],
  "messages": [...]
}

Hard spend cap

When credits run out, the gateway stops serving. No surprise bills.

Account balance $147.23
Limit $500.00

Four steps to production

01

Sign up

Create an account in 30 seconds. No credit card until you want to add credits.

dev@example.com ✓ verified
02

Add credits

Top up via Stripe. $10 minimum, credits never expire.

$147.23
03

Get a key

Generate an API key. Shown once, treat it like a password.

sk-rhodes-••••••••••••••••
04

Route traffic

Point your OpenAI client at api.rhodes.ai. Same request shape, same SDK.

baseURL: "https://api.rhodes.ai/v1"

Everything included

Compared to alternatives

How is pricing different from OpenRouter?

OpenRouter charges per request with dynamic markup. Rhodes charges a flat per-million-token rate set in advance, and the markup is baked into that published price. You know the cost before you call.

Do I need separate keys per provider?

No. One Rhodes key routes to every model we support. We manage upstream credentials, you manage one key and one balance.

What happens when credits run out?

The gateway returns a 402 Payment Required and stops serving. No requests go through until you top up. This is the hard cap — no invoice arrives later.

Can I use my own upstream API keys?

Yes, BYOK mode. You provide Anthropic/OpenAI/etc keys, Rhodes routes traffic, and you pay providers directly. Useful if you have negotiated rates or need to stay on existing billing.

Do credits expire?

No. Top up once, spend down over months or years. The balance stays until you use it.

Is there a free tier?

No. Rhodes is prepaid: $10 minimum, and that $10 becomes tokens. The product costs what the inference costs, no margin on small amounts.

No invoices, no surprises.

Top up $10, route 200,000 tokens through Llama 3.1 70B. When it runs out, we tell you. That is the contract.

Create account $10 minimum · Credits never expire