Unified LLM Gateway
One key for DeepSeek, GLM, and Kimi. Pay per token.
Drop-in OpenAI and Anthropic endpoints for Claude Code, Codex, and existing SDKs. Top up from US$10 with no subscription.
- -40%
- max below official USD
- US$10
- one-time top-up · never expires
- 3 APIs
- Chat, Responses & Anthropic
- 1M
- max context window (tokens)
from openai import OpenAI
client = OpenAI(
base_url="https://proxystacks.com/v1",
api_key="YOUR_RELAY_API_KEY",
)
response = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[
{"role": "user", "content": "Hello!"}
],
)Swap in your API key and run with any published model ID
Standard wire protocols, zero SDK lock-in
Chat Completions
/v1/chat/completionsDrop-in for OpenAI SDKs and OpenCode. Supports SSE streaming, tool calling, and cached token billing.
Responses API
/v1/responsesDefault wire format for Codex CLI. Stateless forwarding with reasoning effort and structured tool outputs.
Anthropic Messages
/anthropic/v1/messagesSet ANTHROPIC_BASE_URL for Claude Code or Anthropic SDKs to call any model in the catalog.
Quickstart
Live in three steps
Create an API key
Generate an sk-relay- key in the dashboard and rotate or revoke it per project at any time.
RELAY_API_KEY="sk-relay-..."Point your base URL
Update the endpoint URL in your SDK config or CLI environment—no client code rewrite.
BASE_URL="https://proxystacks.com/v1"Call and inspect requests
Pass any published model ID; check TTFT, decode speed, and token cost per Request ID.
model: "deepseek-v4.1-flash"Architecture
Built for predictable cost and failover
- Cross-protocol failover
- Requests translate across OpenAI, Responses, and Anthropic upstreams as needed, failing over before headers commit.
- Cache & off-peak aware
- Prompt cache reads and writes bill separately at lower rates, with published off-peak schedules applied automatically.
- Per-request ledger
- Every call logs an isolated Request ID, TTFT, total latency, and exact token breakdown—no auto-renewing plans.
Compare prices
Full price comparison| Route | Official (Input) | Relay (Input) | Saving |
|---|---|---|---|
| deepseek-v4.1-flash | $0.30 | $0.180 | 40% below list |
| glm-5.3 | $1.20 | $0.780 | 35% below list |
| glm-5.3-flash | $0.15 | $0.098 | 35% below list |
| kimi-k3.1-pro | $2.00 | $1.60 | 20% below list |
USD / 1M
Common questions
How is usage billed?
Every API call is metered in real time at the published token rate for the model route you use. The cost is deducted from your prepaid USD balance and recorded in a usage ledger. Rates already include the Relay platform service fee; applicable taxes are shown at checkout.
How does balance work?
Recharge tiers come in one-time $10–$500 options. The credited USD balance never expires while your account remains available.
Do I need a subscription?
No. Relay is pure prepaid: buy a recharge tier when you need balance, and nothing renews automatically.
Who processes payments?
Waffo Pancake acts as merchant of record for recharge purchases. Its checkout handles payment, applicable indirect taxes, and invoices. Your receipt or card statement may reference Waffo.
How is API request data handled?
Relay forwards request content to the backend model route selected for your call so a response can be generated. We record billing and diagnostic metadata. Provider dependencies and data handling are explained in the Privacy Policy.
Start with US$10, call any model.
Create a key in seconds and pay strictly for the tokens you use.