Never taxed
Bring your own keys, keep every cent.
Route through your own provider keys and AnyRouter takes no cut — no deposit fee, no per-token markup, no cap. What you pay upstream is exactly what you pay.
One OpenAI-compatible API, CLI and MCP gateway in front of every provider — and every other router. Free models, $4 credit every month on Go, and your own keys at no markup.
Free to start — $4 credit every month on Go, no card if you donate a key. Unlock the shared pool for $2/mo or by donating one working key.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://anyrouter.dev/api/v1",
api_key=os.environ["ANYROUTER_API_KEY"],
)
resp = client.chat.completions.create(
model="anthropic/claude-sonnet-4.6",
messages=[{"role": "user", "content": "Hi"}],
)ANYROUTER_API_KEYget keyCrowdsourced free tokens
We pool everyone's free & trial keys into one big shared pool — free tokens for everyone. Donate a key, grow the pool, ride free.
Latest release · Sep 21
Grok 4.7One endpoint. Every model.
Point your SDK at one base URL and reference models as provider/model. Every call then runs the same pipeline: authenticate, pick an upstream, retry the next one on failure, cache what repeats, and log every attempt.
Between your call and the model · per request
Spreads load across your keys and quarantines burned ones automatically — no client changes.
Retries and falls back across providers and pooled keys the instant one errors or rate-limits.
Reuses cached context across calls to cut repeat token cost and time-to-first-token.
Every fallback hop, token count and cost captured per attempt — traced and queryable.
Everything in one gateway
No add-ons, no tiers gating the basics. Every capability below ships on the same base URL and the same API key.
Why teams switch
Bring your own keys, keep every cent.
Route through your own provider keys and AnyRouter takes no cut — no deposit fee, no per-token markup, no cap. What you pay upstream is exactly what you pay.
Debug any request.
Every fallback hop, status, latency, token count and cost — captured per attempt. A “debug this request” trace nobody else ships at this tier.
Your config follows you.
Keys, presets and skills live in AnyRouter, inject locally on demand, and wipe clean on exit. Same setup on your laptop, a server, CI, or a teammate's box.
Unlock Go — two doors, same room
AnyRouter runs on Go — $2/mo, or donate one free-tier provider key (donors ride free). Every Go comes with $4 credit each month.
Sign up in seconds — no card required. You land on the dashboard with your first API key ready to copy.
The cheapest way in
A $4 monthly credit and free models come with Go — $2/mo, or free when you donate a provider key. Or bring your own keys at no markup, no card required.
On Go — $2/mo or a donated key. Here's how far $4 goes on fast models.
Tokens for $4, blended 75% input / 25% output.
Route via anyrouter/free on Go — $0 per token, up to 1000 requests/day.
12 providers ship a free tier — billed by the provider only, never by us.
When you need more
Full pricingSign in with AnyRouter
One OAuth button hands your app a scoped, temporary key per user. Every request is billed to that user's own account — no API keys for you to collect, store, or pay for.
Your app's sign-in screen
Click it — see what your users see.
AnyRouter · Authorize
Acme AI
acme.app wants to sign you in
This app will be able to
It can't manage your keys, billing, or settings. Access expires automatically and can be revoked any time.
OAuth 2.1 + PKCE
Standard authorization-code flow, public client, no secret to leak. Works from a browser-only app.
Inference-only scoped key
The token can run AI requests and read a basic profile — never keys, billing, or account settings.
Per-user billing & revocation
Each user pays from their own credits or free tier, and can revoke your app any time from their dashboard.
183+ models · 17 providers · September 21, 2026
xAI's Grok 4.7 joins the catalog — 500K context, adjustable reasoning, vision in, and six BYOK upstream routes.
FAQ
One OpenAI-compatible API, CLI and MCP gateway in front of every provider — and every other router. Free models, $4 credit every month on Go, and your own keys at no markup.
Point your SDK at one base URL and reference models as provider/model. Every call then runs the same pipeline: authenticate, pick an upstream, retry the next one on failure, cache what repeats, and log every attempt.
Route through your own provider keys and AnyRouter takes no cut — no deposit fee, no per-token markup, no cap. What you pay upstream is exactly what you pay.
Sign up in seconds — no card required. Go is the plan that switches AnyRouter on: pay $2 / month, or donate 1 free key. Go comes with $4 credit every month, unlimited free models, and access to the shared key pool.