AltHub

decolua/9router Alternatives

AI gateway / LLM routing for coding agents

A local router/proxy that lets coding agents such as Claude Code, Codex, Cursor and Copilot talk to many LLM providers (including free/cheap ones) through compatible endpoints, with automatic fallback and token compression.

29.4kJavaScriptMITactive · last push 27d agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

diegosouzapw/OmniRouteGitHub

Use it when you want a drop-in peer with an even wider free-provider pool and MIT license, if token compression is less important.

Never stop coding. Free MIT AI gateway: one endpoint, 359 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by hundreds of contributors

72.7k
TypeScript
MIT
active13d ago
musistudio/claude-code-routerGitHub

Use it when you want a vendor-neutral local router for AI agents that you configure fully yourself rather than using 9Router's prebuilt free/token-saving pipeline.

One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.

37.2k
TypeScript
MIT
active1mo ago
router-for-me/CLIProxyAPIGitHub

Use it when you prefer a Go-based proxy that turns free subscription backends into compatible APIs and don't need 9Router's token-saver.

Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Davin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini Series, GPT Series, Grok Series, Claude model through API

52.5k
Go
MIT
active26d ago
lidge-jun/opencodexGitHub

Use it when the clients you must support are Codex and Claude Code and you want a lightweight universal provider proxy for any LLM.

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code

15.5k
TypeScript
MIT
active25d ago
justlovemaki/AIClient2APIGitHub

Use it if GPL-3.0 is acceptable and you need client-to-API protocol conversion across Antigravity, Codex, Grok and custom providers.

Self-hosted multi-protocol AI API proxy for Antigravity, Codex, Grok, Kiro, OpenAI, Claude, and custom providers. Supports OpenAI-compatible API, Claude API, Gemini protocol conversion, GPT, Grok Build, Claude Opus, Gemini Pro, Kimi, MiniMax, provider pools, smart routing, and automatic failover.

8.8k
JavaScript
GPL-3.0
active29d ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

kittors/CliRelayGitHub

Use it when you need a self-hosted shared gateway with a web console, request logs and spend quotas instead of a personal free-model router.

Self-hosted AI gateway for coding CLIs — one OpenAI/Claude/Gemini/Codex-compatible endpoint, with a multi-tenant web console, request logs, and spend quotas.

1.0k
Go
MIT
active26d ago
experientiallabs/experientialGitHub

Use it when you need a neutral model gateway spanning closed, open-source and local models with a Python control plane rather than a coding-tool-specific free router.

Experiential is the open source, zero markup gateway for BYOK, self-hosted and 1000+ marketplace models. It learns from your traffic to cut costs, recommend better models, and train a specialized model you own.

5.3k
Python
Apache-2.0
active25d ago
BerriAI/litellmGitHub

Use it when you want a high-throughput, observable LLM gateway for many providers with logging and cost controls instead of free coding-agent session tricks.

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

60.1k
Python
NOASSERTION
active11d ago
maximhq/bifrostGitHub

Use it when you need an enterprise cluster-mode AI gateway focused on low latency and guardrails rather than free coding-account routing.

Fastest enterprise AI gateway (50x faster than LiteLLM) with adaptive load balancer, cluster mode, guardrails, 1000+ models support & <100 µs overhead at 5k RPS.

8.2k
Go
Apache-2.0
active25d ago
theopenco/llmgatewayGitHub

Use it when you want a standard unified API gateway across multiple providers with management and analytics, without free-coding-agent routing.

Route, manage, and analyze your LLM requests across multiple providers with a unified API interface.

1.6k
TypeScript
NOASSERTION
active26d ago
ENTERPILOT/GoModelGitHub

Use it when you want a LiteLLM-style Go gateway with OpenAI and Anthropic compatibility for general workloads, rather than free-coding routing.

AI gateway / AI control plane / AI proxy written in Go. Unified OpenAI-compatible and Anthropic-compatible API for OpenAI, Anthropic, Gemini, Groq, xAI, Ollama, vLLM and more. A LiteLLM alternative with observability, guardrails, streaming, cost tracking, intelligent routing, sticky sessions, failover, real-time logs and usage tracking. Prod ready.

1.2k
Go
MIT
active26d ago
mozilla-ai/otariGitHub

Use it when self-hosting an OpenAI-compatible gateway with virtual keys and budgets in Python is more important than coding-agent/free features.

Open-source, OpenAI-compatible LLM gateway you run yourself. One endpoint for 40+ providers, with virtual keys, budgets, and usage tracking.

479
Python
Apache-2.0
active26d ago
ferro-labs/ai-gatewayGitHub

Use it when you want a Go-native enterprise gateway with caching, guardrails and A/B testing rather than a free coding-agent router.

Unified AI Gateway for 30+ LLMs (OpenAI, Anthropic, Bedrock, Azure etc) with Caching, Guardrails, A/B test & cost controls. Go-native Fastest & Scalable AI Gateway LiteLLM & Kong AI Gateway alternative.

256
Go
Apache-2.0
active27d ago
LianjiaTech/bella-openapiGitHub

Use it when you need an enterprise API platform exposing chat, embedding, speech and image models with billing and rate-limit management under Java.

Bella OpenAPI是一个提供了丰富的AI调用能力的API网关,可类比openrouter,与之不同的是除了提供聊天补全(chat-completion)能力外,还提供了文本向量化(text-embedding)、语音识别(ASR)、语音合成(TTS)、文生图、图生图等多种AI能力,同时集成了计费、限流和资源管理功能。且集成的所有能力都经过了大规模生产环境的验证。

238
Java
MIT
active3mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

caozhiyuan/copilot-apiGitHub

Use it only when your upstream is specifically a GitHub Copilot/Codex/OpenCode account you want to reuse through an OpenAI/Anthropic endpoint.

GitHub Copilot, OpenAI Codex, OpenCode Go, and third-party AI provider gateway with OpenAI and Anthropic API compatibility.

1.0k
TypeScript
MIT
active26d ago
dwgx/WindsurfAPIGitHub

Use it only when a Windsurf/Devin Desktop subscription is the upstream you want to expose to ordinary AI clients.

Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, Anthropic- & Gemini-compatible APIs. Zero-dependency self-hosted reverse proxy for Claude Code, Cline & Cursor. 把 Windsurf/Devin 云端 100+ 模型变成三套兼容 API。

3.0k
JavaScript
MIT
active25d ago
xiaoY233/Chat2APIGitHub

Use it only for zero-cost DeepSeek/GLM/Kimi/Qwen web-UI endpoints via an OpenAI-compatible API, without 9Router's broad fallback/token handling.

Chat2API enables zero-cost access to leading AI models by leveraging official web UIs. It supports providers such as DeepSeek, GLM, Kimi, MiniMax, Qwen, and Z.ai, and seamlessly integrates with tools like openlcaw, Cline, and Roo-Code.

1.6k
TypeScript
NOASSERTION
active5mo ago
askalf/darioGitHub

Use it only when the upstreams are your own Claude and ChatGPT subscriptions and you want a local proxy for those two.

Use your Claude and ChatGPT subscriptions in Cursor, Cline, Aider, Claude Code and the Agent SDK — at subscription pricing, not per-token API bills. One local Anthropic + OpenAI-compatible endpoint: either plan answers either wire shape, auto-failover when one hits its limit, multi-seat pooling, live Claude Code drift tracking.

542
JavaScript
MIT
active26d ago
ink1ing/anti-apiGitHub

Use it only when you're turning Antigravity/Codex/Copilot accounts into an Anthropic/OpenAI endpoint for Claude Code or Xcode.

Turn Antigravity / codex / github copilot into Anthropic & Openai API compatible server. Usable with Claude Code / Xcode etc.

519
TypeScript
MIT
active30d ago
funny-vibes/agent-vibesGitHub

Use it only when your target sources are Antigravity/Codex and clients are Claude Code/Cursor; not a broad 40-provider router.

Unified Agent Gateway — Enables Claude Code CLI and Cursor IDE to use free AI backends (Antigravity, Codex) through protocol translation

361
TypeScript
MIT
active30d ago
starbaser/ccproxyGitHub

Use it when you need custom request/response hooks and routing logic inside Claude Code rather than a turnkey multi-provider free router.

Build mods for Claude Code: Hook any request, modify any response, /model "with-your-custom-model", intelligent model routing using your logic or ours

344
Python
NOASSERTION
active2mo ago

Listed as an alternative to

These projects were analysed and named 9router among their alternatives. The relationship is not symmetric — how 9router rates them is a separate judgement, made when 9router is analysed in its own right.

lidge-jun/opencodexGitHub

calls 9router “same class; choose when your priority is free provider access and automatic failover over supporting every model family.”

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code

15.5kTypeScriptactive
justlovemaki/AIClient2APIGitHub

calls 9router “JavaScript router with 40+ free providers and auto-fallback; pick for unlimited free coding with aggressive fallback handling.”

Self-hosted multi-protocol AI API proxy for Antigravity, Codex, Grok, Kiro, OpenAI, Claude, and custom providers. Supports OpenAI-compatible API, Claude API, Gemini protocol conversion, GPT, Grok Build, Claude Opus, Gemini Pro, Kimi, MiniMax, provider pools, smart routing, and automatic failover.

8.8kJavaScriptactive
BerriAI/litellmGitHub

calls 9router “when you need free/community model endpoints routed to coding agents instead of managed provider integrations”

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

60.1kPythonactive
BeehiveInnovations/pal-mcp-serverGitHub

calls 9router “Pick when you need free-provider failover, auto-fallback, and token compression without wiring up an MCP server.”

The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.

11.8kPythonslowing
BlockRunAI/ClawRouterGitHub

calls 9router “Take it if you want to ride free tiers across 40+ providers with auto-fallback and token compression rather than metered routing.”

The agent-native LLM router for autonomous agents. Every frontier model behind one wallet, <1ms local routing, USDC payments on Base & Solana via x402.

6.6kTypeScriptactive
maximhq/bifrostGitHub

calls 9router “when the goal is free or cheap coding-agent traffic in JavaScript rather than a hardened gateway.”

Fastest enterprise AI gateway (50x faster than LiteLLM) with adaptive load balancer, cluster mode, guardrails, 1000+ models support & <100 µs overhead at 5k RPS.

8.2kGoactive