Compare
OpenLLM vs LiteLLM

OpenLLM vs LiteLLM

LiteLLM is a large open-source Python proxy with virtual keys, budgets and 100+ providers behind one OpenAI-compatible endpoint. It also documents subscription access: ChatGPT through an OAuth device flow, and Claude Max by forwarding each user's OAuth token. LiteLLM for teams operating a gateway; OpenLLM for the developer who wants their plans behind one key with nothing to host.

$curl -fsSL https://www.openllm.sh/install | bash
$openllm claude

OpenLLM vs LiteLLM

FeatureOpenLLMLiteLLM
ShapeHosted gateway plus a small local daemon; single-user todaySelf-hosted Python server with team features (virtual keys, team budgets)
SubscriptionsClaude, ChatGPT, Kimi Code, Grok and Cursor plans, served by a daemon on your machine that runs the vendor's own loginChatGPT via OAuth device flow on the server; Claude Max by forwarding the user's token
FallbackPer-alias chains shared by every client; a rate-limited entry is cooled and the chain continues before any outputRouter retries and fallbacks per deployment
Long conversationsFusion hands a conversation to the next model by its length, each step within its model's window; past a window it moves to a bigger-window model or compacts in place, your choiceYes: `context_window_fallbacks` sends a context-window error to a bigger-window model group, and pre-call checks skip deployments the messages don't fit
Coding-agent setupopenllm claude, openllm codex, openllm opencode: a per-session overlay that leaves the client's config untouchedPoint each client at your proxy's base URL
Agent memory over MCPBuilt-in MCP server with cross-session memoryA memory REST API per user and team, and a separate MCP gateway
Local modelsModel servers on your machine, such as Ollama and LM Studio, through the daemonYes, e.g. Ollama
Self-hosting, WindowsNoYes
CredentialsAPI keys encrypted at rest under your vault, decrypted in memory only while serving a requestHeld by your proxy deployment
PriceFree plan with a monthly token allowance, no card; no markup on provider tokensOpen source; you host it

Pick LiteLLM when

  • You run a team and need virtual keys, team budgets or your own infrastructure
  • You need Windows or your own infrastructure end to end
  • You already operate it and it works

Pick OpenLLM when

  • You want one key for Claude Code, Codex and OpenCode without running a server
  • You want subscription logins to stay on your own machine
  • You are one developer, not a platform team

Your subscriptions stay on your machine

Subscription providers run through the local OpenLLM daemon, which delegates to the vendor's official CLI and its own login. The hosted gateway never holds a subscription credential.

Provider keys encrypted at rest

API keys are encrypted in your browser with AES-256-GCM under a key derived from your recovery phrase, and stored as ciphertext. They are decrypted in memory only while a request is being served, then discarded. Subscription credentials never reach the hosted service.

Fallback chains when a model is rate-limited

Define an ordered chain per model alias. When a hop returns a rate limit, an overload or a provider error, the request moves to the next hop instead of failing your session.

  • Chains are configured once and shared by every client and device
  • Each hop resolves its own model settings, so a fallback never inherits the wrong parameters
  • Every hop that ran is visible in your request history

Fusion: hand long conversations to the next model

Set a model alias to Fusion and, optionally, give each model a length. The conversation starts on the first model and moves to the next once it grows past that point, and no step runs past its own model's context window.

  • Fusion mode is on every plan, with the models you already have
  • It picks the model by how long the conversation is, never by the task
  • OpenLLM Fusion, included with Trial and Pro, is the same idea ready-made: Opus first, Sonnet as the chat grows, DeepSeek V4.1 for long chats.

Memory over MCP

The same binary ships one MCP server: your gateway's native API as tools, plus memory that persists across sessions and clients.

Questions

Something else? Contact us