Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.axiomancer.io/llms.txt

Use this file to discover all available pages before exploring further.

1

Create your workspace

Sign up at app.routeshift.io. You’ll need an admin email — a personal email is fine for solo accounts.
2

Add a provider key

Open Settings → Providers and paste in at least one upstream key (OpenAI, Anthropic, or any of the supported providers). RouteShift encrypts the key at rest with PROVIDER_KEY_SECRET and never returns the plaintext after save.
3

Mint a virtual key

Open Keys → Create key. Optionally set:
  • Allowed models — restrict which models this key can call.
  • Expires at — auto-revoke on a calendar date.
  • RPM / TPM — per-key requests- and tokens-per-minute caps.
  • Monthly budget — hard cap with optional soft-alert threshold.
  • Metadata — arbitrary key=value tags for cost attribution.
The dialog returns a one-time sk-proxy-… token. Copy it immediately — RouteShift hashes it on save and cannot show it again.
4

Proxy your first request

RouteShift is OpenAI-compatible. Any client that takes a base URL works:
curl https://proxy.routeshift.io/v1/chat/completions \
  -H "Authorization: Bearer sk-proxy-…" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [{"role": "user", "content": "hello"}]
  }'
Or with the SDK:
import { ProxyClient } from "@routeshift/sdk";

const client = new ProxyClient({
  baseUrl: "https://proxy.routeshift.io",
  apiKey: "sk-proxy-…",
});

const res = await client.chat({
  model: "gpt-4o-mini",
  messages: [{ role: "user", content: "hello" }],
});
5

Review the request log

Open Activity. The request appears within seconds with tokens, cost in microcents, latency, the resolved upstream model, and an inferred activity category.
Need help? Email support@routeshift.io.