What is Relayvia
Relayvia is an AI API gateway. Create one API key and call models from several vendors by their official model names, in the OpenAI, Anthropic or Gemini request format. Each request is deducted from your account's prepaid USD credits by actual usage.
Using the OpenAI SDK? Change only the base URL
Set base_url to the Relayvia address ending in /v1 and use a Relayvia API key; model names and the rest of your code stay the same.
from openai import OpenAI
client = OpenAI(base_url="https://api.relayvia.dev/v1", api_key="sk-...")
client.chat.completions.create(model="gpt-5.5", messages=[{"role": "user", "content": "Hi"}])Why teams choose us
Settled on actual usage
Hold → settle on actual usage → full refund when a failure produced no usageEach request reserves funds up front and settles on actual usage, and running out of credits returns 402 instead of overdrawing. Failed requests are not charged; but if the model developer has already charged for what you sent (for example, partial output was produced, a stream was cut off, or a timeout was estimated), the request is charged as usual. For speech to text, if the audio's length cannot be read and processing times out without a transcript, the request is charged for 1,500 seconds whether or not the model developer charged.
Every call is traceable
request ID → time · model · tokens · spend · speedEvery call gets a request ID. The console shows time, model, tokens, spend and speed; quote the request ID when you contact support.
Managed as a team
Shared credits → member limits → per-key limitsOne pool of credits for the whole team. Admins add team members and set per-member limits; each API key can have its own limit, expiry, models and IP rules.
Connect in three minutes
Replace sk-... with an API key from the console.
Coding
Point Claude Code, Codex CLI, Cursor or Cline here and share one bill across the team.
Chat and reasoning
OpenAI and Anthropic formats are supported; existing SDKs only need a new base URL.
Add this to env in ~/.claude/settings.json (or set the same environment variables), then restart Claude Code.
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.relayvia.dev",
"ANTHROPIC_AUTH_TOKEN": "sk-...",
"ANTHROPIC_MODEL": "claude-opus-5"
}
}Three steps
- 1
Open an account
Sign up with your email. Signing up opens your account, and you are its admin.
- 2
Create an API key
Create a key in the console with an optional limit, expiry and model list. You can view it again in the list at any time.
- 3
Change the base URL
Point your tool or SDK at us and keep using official model names.
Leave the AI calls to us
Official model names
Use the official model name as-is; no aliases to learn and no config changes when you switch tools.
Prepaid in USD, pay per use
Priced in USD from prepaid credits. Every charge is written to a ledger you can reconcile line by line.
OpenAI and Anthropic formats
OpenAI and Anthropic request formats both work, streaming included.
Control down to each key
Spending limits with reset periods, expiry, model and IP allowlists, and one-click disable for leavers.
Keys stored encrypted
Each key is stored encrypted. Only its creator and account admins who manage API keys can view the full key; everywhere else it shows only its last 4 characters.
Human support
Talk to a person. A request ID is enough for us to find the exact call.













