Transparent AI gateway for coding agents

Every coding agent.
Any model. One gateway.

SharedLLM routes Claude Code and friends through whatever model you choose — with smart auto-routing, live usage metering, and per-developer spend control. Bring your own keys, or tap the shared pool.

$curl -fsSL https://sharedllm.com/install.sh | sh

macOS / Linux — auto-detects bun · pnpm · yarn · npm, or bootstraps bun.

Ships both sllm and sharedllm. Then sllm login sllm claude.

One command across your whole stack

Claude CodeCodexAiderAnthropicOpenAIOllamaKimiDeepSeekGeminiClaude CodeCodexAiderAnthropicOpenAIOllamaKimiDeepSeekGemini

A launcher, not a lock-in

Keep the agents and keys you already use. SharedLLM sits in the middle and makes everything routable, observable, and accountable.

One CLI, every agent

Launch Claude Code today — Codex and Aider next — through a single command. The CLI is a launcher, not a proxy: it sets the right env vars and execs your tool.

Auto smart routing

Auto resolves each request to the first model with an available key — your own contributed key first, then the shared pool. Set your priority list, up to 10 deep.

Any model, any provider

Anthropic, OpenAI, Ollama, Kimi and more — native or via transparent Anthropic↔OpenAI translation. Swap with a flag, no config rewrites.

Bring your own keys

Use the provider keys you already have. Encrypted at rest, scoped to you, and never shared without your say-so.

Full observability

Every request metered. Track spend across providers, set per-developer caps, and watch routing happen live on the dashboard.

Resource pooling

Share spare capacity with your team or the community — and draw from the pool when your own keys run dry.

Live in under a minute

Three commands from zero to a fully metered agent.

01

Install & log in

One line to install, one command to authenticate. A CLI key is created and stored with 0600 perms.

npm i -g sharedllm
sllm login
02

Pick a model — or Auto

Choose from the interactive picker, name one directly, or let Auto route to the best available key.

sllm claude --model auto
03

Ship — fully metered

Your agent runs through the gateway. Every token is tracked, capped, and visible on the dashboard.

sllm claude   # just works
Live routing

Watch every request find its model

The dashboard streams routing decisions as they happen — which agent called, which key answered, native or translated, and what it cost. No more guessing where your spend went.

  • Per-request metering with spend caps
  • Your keys first, shared pool as fallback
  • Native + transparent Anthropic↔OpenAI translation
Open the dashboard
live requests streaming
Claude Codeanthropic / native
Claude Codeollama / kimi-2.6
Codexopenai / translated
today1,284 reqs · $0.44 · 0 over cap
41+
models routable
1
CLI to rule them
0ms
added by translation
100%
pass-through streaming

Bring every agent under one roof

Free to start. Self-host the open-source core, or use the hosted gateway. Your keys, your models, your limits.