Read the FreeRouter Manifesto

One API key.
Zero lock-in.

FreeRouter is a mediation layer for AI inference. Integrate once and route every request across OpenRouter, Vercel, Cloudflare and more — swap gateways any time, with no code changes.

Bring your own keys · OpenAI-compatible · No migration project

# Change one line. Keep your code.
client = OpenAI(
    base_url="https://api.freerouter.com/v1",
    api_key="fr_live_...",
)

resp = client.chat.completions.create(
    model="openai/gpt-4o-mini",
    messages=[{"role": "user",
               "content": "Hello, FreeRouter!"}],
)
# FreeRouter routes it per your rules.

Free from lock-in, complexity, and risk

Free from lock-in

A neutral layer between you and every gateway. If a provider raises prices or drops a model, flip a routing rule — no migration.

Free from complexity

One API key, one base URL, one integration. FreeRouter normalizes the request shape and forwards it wherever your rules point.

Free from risk

Bring your own keys. You keep control of your provider relationships and often pay providers directly — cheaper than a gateway's markup.

How it works

Ad mediation for AI inference

01

Paste your keys

Drop in the keys for the gateways you already use — OpenRouter, Vercel, Cloudflare and more.

02

Get one key

FreeRouter issues a single key you use in your app. Behind the scenes it swaps keys and normalizes formats.

03

Set routing rules

Split traffic by percentage, or set priorities with failover — "use Cloudflare for cheap models, fail over to Vercel if OpenRouter is slow."

04

Ship & switch

Change providers any time from the dashboard. Zero code changes, zero migration projects.

Drop-in replacement

Switch in two lines. Keep every line of your code.

The default shape is OpenAI-compatible /v1/chat/completions — the format 90% of developers already use. Prefer another? Toggle the shape per key to OpenRouter, Anthropic, or Google with one click.

  • Point BASE_URL at https://api.freerouter.com/v1
  • Swap your API key for a FreeRouter key
  • Point the key at your providers with a routing rule
See the migration guide
# Before
export OPENAI_BASE_URL="https://openrouter.ai/api/v1"
export OPENAI_API_KEY="sk-or-..."

# After — that's the whole diff
export OPENAI_BASE_URL="https://api.freerouter.com/v1"
export OPENAI_API_KEY="fr_live_..."
The mediation layer

Stay in control of your inference

Split traffic intelligently

70% to Provider A for cost, 30% to Provider B for performance or compliance. No single vendor gets all of your spend.

Walk away or shift instantly

A provider raises prices, drops a model, or restricts usage? Flip a routing rule. Zero code changes, zero migration.

Failover that keeps you up

Priority ordering with automatic failover means a slow or down gateway never takes your app down with it.

Team workspaces

Personal and team workspaces, multiple API keys, invite members, and transfer ownership when you need to.

For enterprise

The procurement leverage layer for AI

Turn LLM procurement into a commodity routing problem. Run competitive bids, A/B test providers by real traffic, and shift volume to whoever wins — contractually free of exclusivity traps.

Talk to us

Run competitive bids

"We route 10M tokens/month — who gives the best enterprise rate?" Shift volume based on who wins.

No vendor gets 100%

Multi-vendor routing by design removes the single-vendor relationship risk from your AI spend.

Direct billing

Use your own provider keys and pay providers directly — often cheaper than a gateway's markup.

Audit & control

A neutral layer you own — the foundation for audit logs and compliance on your terms.

FAQ

Questions

"Free" means free from vendor lock-in — like "Free Software" or "Free Agent." FreeRouter is free to use during the preview period, and because you bring your own keys, you pay providers directly.

No. FreeRouter is a drop-in replacement. The default API shape is OpenAI-compatible — change your base URL and key and you're done. The migration guide walks through mapping your current provider and models to routing rules.

OpenRouter, Vercel AI Gateway, Cloudflare AI Gateway, OrcaRouter, Requesty, Concentrate, LLM Gateway, Baseten, and Darkbloom are live today, with more gateways on the way. You bring your own keys for each — see the full list in the provider docs.

You do. FreeRouter is bring-your-own-keys: your keys stay yours, and you can revoke them at any time. Optional managed billing may come later as a convenience.

One API key. Zero lock-in.

Free during the preview period. Bring your own keys and start routing in minutes.

Get your key