The future is
multi-model.
Route every AI workload through one neutral, OpenAI-compatible API key. Automatic failover across 7 global relays, transparent wholesale pricing, and per-key budget controls.
One API for every model
Swap a single baseURL line in the OpenAI SDK, Vercel AI SDK, LangChain, or Cursor. Switch between Anthropic, OpenAI, Google, DeepSeek, and open-weight models by changing one string.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.sevenrelay.ai/v1",
apiKey: process.env.SEVENRELAY_API_KEY, // sk-sr-v1-your-key
});
const completion = await client.chat.completions.create({
model: "anthropic/claude-sonnet-4.6",
messages: [
{ role: "user", content: "Explain why multi-model routing cuts AI costs." }
],
});
console.log(completion.choices[0].message.content);Better, faster, cheaper. Get all three.
Append a single routing suffix or configure a per-key policy. SevenRelay dynamically selects the highest-uptime, fastest, or lowest-cost provider on every request.
sevenrelay/autoAdaptive Auto Relay
Scores prompt difficulty in <12ms and routes simple lookups to sub-cent Flash models while escalating complex coding and architecture tasks to Claude 4.6 or GPT-5.4.
model:nitroNitro Throughput Mode
Pins inference to wafer-scale and LPU clouds (Cerebras, Groq, Fireworks) whenever available, pushing streaming generation past 400+ tokens/second.
auto-failoverStay up through outages
Upstream 429 rate limits and 503 outages trigger automatic sub-20ms retries across mirrored endpoints (Direct, Bedrock, Vertex, Together) before your app ever sees an error.
Featured frontier & open models
Auto Relay
NEWAdaptive meta-router that inspects prompt complexity, context length, and latency targets to select the optimal model across all 7 global relays automatically.
Claude Sonnet 4.6
Industry-leading balance of agentic software engineering, long-horizon tool use, and extended thinking with 1M context window and low-latency prompt caching.
GPT-5.4
NEWOpenAI's unified flagship model with built-in adaptive reasoning, native multimodal comprehension, and deterministic structured JSON outputs for production agents.
Gemini 3.5 Pro
Frontier 2-million-token native multimodal reasoning model engineered for repository-scale code synthesis, long-document analysis, and visual understanding.
DeepSeek V3.2
Ultra-efficient Mixture-of-Experts open-weight model delivering frontier-tier coding, math, and chat performance at a fraction of proprietary token prices.
DeepSeek R1
Open-weight chain-of-thought reasoning powerhouse with explicit thinking traces for complex algorithms, theorem proving, and architecture reviews.
Your usage, keys, and spend all in one place
Everything you need to operate your own AI API gateway — issue customer or team keys with hard USD caps, track every token in real time, and plug in your own upstream provider accounts.
Scoped API Keys & Spend Caps
Generate unlimited sk-sr-v1-... keys with individual USD budgets, RPM throttles, allowed model whitelists, routing presets, and automatic expiration.
Unified Credits & Auto Top-Up
Fund one prepaid balance instead of juggling 12 provider credit cards. Set automatic recharge thresholds and export itemized billing ledgers instantly.
Live Request Inspector & Telemetry
Inspect every completion in real time: TTFT, tok/s, prompt cache savings, exact upstream provider chosen, failover hops, and sub-cent USD settlement.
Upstream Provider & BYOK Routing
Attach your own OpenAI, Anthropic, Google, DeepSeek, Groq, or custom OpenAI-compatible endpoints with configurable priority weights and custom margin %.
7 global edge relays. Sub-20ms gateway overhead.
Every request enters at your nearest Anycast relay POP, validates API key quotas in memory, and streams tokens directly from the closest healthy inference cluster.
Zero-compromise privacy & governance
Control exactly which providers and jurisdictions can touch your prompts — enforced cryptographically at the relay layer.
- Zero Data Retention (ZDR) FilterEnforce ZDR per key or per request so prompts are never logged or trained on by upstream labs.
- In-Region Sovereign RoutingPin GDPR or HIPAA workloads strictly to EU or US relays and matching compliant endpoints.
- Zero Hidden Token MarkupWholesale provider token rates with transparent 5% platform fee or custom operator margin rules.
- Prompt Caching PassthroughPreserve Anthropic, OpenAI, and Gemini cache headers automatically to cut input costs up to 90%.
One API key, 33+ models.
Start relaying requests in under 60 seconds using the OpenAI SDK you already ship.