Run Grok Build through one gateway
Use xAI's coding agent with OpenLLM fallback chains, MCP memory and one usage view across every client you run.
curl -fsSL https://www.openllm.sh/install | bashopenllm grokHow it works
openllm grok gives Grok a private config directory layered over your real one, so your own config and credentials are left untouched.
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.
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.
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.
See where the tokens go
Requests, tokens, latency and API-equivalent cost per model and provider, with charts you can export or share.
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.
Questions
Something else? Contact us