Claude Code model router
Openrouter Proxy
A zero-dependency proxy that unlocks free Xiaomi MiMo on OpenRouter for any client, and fixes SSE streaming issues with the VS Code Claude Code extension.
Install
git clone https://github.com/aaravarr/openrouter-proxy.gitFrom the README
OpenRouter Proxy A zero-dependency proxy that unlocks free Xiaomi MiMo on OpenRouter for any client, and fixes SSE streaming issues with the VS Code Claude Code extension. 中文文档 The Problem Free MiMo for any tool — Xiaomi MiMo is free on OpenRouter, but only when requests come through the OpenClaw channel. Without the right headers, you pay or get nothing. This proxy injects them automatically — works with any HTTP client. Claude Code SSE fix — The VS Code Claude Code extension breaks when consuming OpenRouter's SSE stream due to: - unsupported content type: redacted_thinking errors - Duplicate or out-of-order events - Missing content block boundaries The SSE repair logic specifically targets Claude Code's Anthropic-style event format. Other tools (Continue, Cline, etc.) get the free MiMo access without needing the SSE fix. OpenRouter Proxy handles both — transparently, with zero dependencies. How It Works Quick Start The proxy listens on http://127.0.0.1:8899. Point your tool's base URL there: Everything else (API key, paths, request body) stays the same. Configuration Edit the CONFIG object at the top of proxy.js: SSE Compatibility Fixes When using Claude Code in VS Code, OpenRouter translates model output into Anthropic-style streaming events. This causes compatibility issues that break Claude Code. The proxy repairs: These fixes are only needed for Claude Code. Other tools (Continue, Cline, Aider, etc.) benefit from the header injection alone and don't require SSE manipulation. License MIT
Details
- Repository
- aaravarr/openrouter-proxy
- Language
- JavaScript
- License
- MIT
- Last updated
- 30 July 2026
FAQ
What is Openrouter Proxy?
A zero-dependency proxy that unlocks free Xiaomi MiMo on OpenRouter for any client, and fixes SSE streaming issues with the VS Code Claude Code extension. It is a model router for Claude Code, from aaravarr/openrouter-proxy on GitHub.
How do I install Openrouter Proxy?
Clone aaravarr/openrouter-proxy from GitHub and follow the setup steps in its README.
Is Openrouter Proxy popular?
aaravarr/openrouter-proxy has 77 GitHub stars and 22 forks. It was last updated on 30 July 2026.
More model routers & proxies
Llm Interceptor
81chouzz/llm-interceptor
A MITM proxy tool to intercept, analyze and log AI coding assistant (Claude Code, Open Code, etc.) communications with LLM APIs
Datafog Python
80DataFog/datafog-python
Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM guardrail. Zero network calls, one dependency.
Starbase
84bstaruk/starbase
⭐ A front-end starter kit and Claude Code boilerplate -- built on Vite 8, TypeScript 6, Tailwind 4, TanStack Router, and TanStack Query.
Claudex
74StringKe/claudex
Multi-instance Claude Code manager with intelligent translation proxy. Use Claude Code with Grok, ChatGPT, DeepSeek, Gemini, Kimi, GLM, Ollama and more.
Clauderipple
85PBJ-2/clauderipple
Use GPT, DeepSeek, GLM, Gemini, Kimi and 400+ models in Claude Desktop's own model picker and in Claude Code, while staying signed in to your Claude subscription (1P, no gateway mode). Auto reasoning effort per prompt, subagents routed by difficulty, cache and limit warnings. Claude inside Codex too.
Hewn Forge
116kaderkck/hewn-forge
HEWN 2.0 2026: AI Output Router for Precision Summaries & Polished Code
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.