9Router: Local Proxy and Token Saver for AI Coding Assistants

Repositorydecolua/9routerTool

9Router is an open-source AI routing proxy that connects coding tools such as Claude Code, Cursor, and Cline to more than 40 AI providers. It compresses tool results to save 20–40% in token usage and provides automated fallbacks across subscriptions and free models to prevent rate-limit interruptions.

Key points

  1. Operates as a local proxy (default port 20128) with on-the-fly request format translation between OpenAI and Claude APIs.
  2. Reduces token consumption by 20–40% using RTK compression on tool outputs such as diffs, search logs, and directory listings.
  3. Provides automated fallback chains spanning paid subscriptions, low-cost APIs, and free providers to ensure zero downtime.
  4. Supports multi-account round-robin distribution and subscription quota tracking.

Why it matters

Developers using autonomous coding agents frequently encounter strict rate limits and escalating API costs driven by verbose terminal outputs. A dedicated proxy layer safeguards continuity and cuts token expenditure without requiring changes to the user's primary editing environment.

Analysis

9Router targets operational frictions inherent in agentic software development, where raw terminal outputs quickly exhaust context windows and budgets. Written in JavaScript and distributed via npm and Docker under the MIT licence, it functions as an intermediary layer between CLI clients and upstream LLMs. Boasting over 27,000 GitHub stars and extensive multilingual documentation, the project shows substantial community adoption and maturity, making it well-suited for developers seeking unified quota management across various AI services.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Repository:diegosouzapw/OmniRoute

    OmniRoute: Open-source AI gateway aggregating free-tier models

    OmniRoute is an MIT-licensed AI gateway providing a single endpoint for over 350 providers and 1200 models. It aggregates free tier allowances, automates quota-aware failovers, and reduces token consumption via stacked compression.

    61.4kstarsTypeScript

    AI & LLMs· Tool

  • Repository:rtk-ai/rtk

    RTK: Rust-Based CLI Proxy to Reduce LLM Token Usage

    RTK (Rust Token Killer) is a CLI proxy designed to filter and compress shell command outputs before they enter an LLM agent context. Distributed as a single, zero-dependency Rust binary, it aims to cut terminal output token consumption by 60 to 90 per cent.

    78.7kstarsRust

    AI & LLMs· Tool

  • Repository:lidge-jun/opencodex

    opencodex: Universal Proxy for OpenAI Codex, Claude Code, and Grok Build

    opencodex is a local proxy written in TypeScript that connects tools like OpenAI Codex, Claude Code, Claude Desktop, and Grok Build to arbitrary LLM providers. It translates Codex's Responses API—including streaming, tool calls, reasoning tokens, and images—into formats expected by providers such as DeepSeek, Gemini, Grok, or Ollama.

    14kstarsTypeScript

    AI & LLMs· Tool

  • Repository:getagentseal/codeburn

    CodeBurn: Local Token Usage and Cost Tracking for AI Coding Tools

    CodeBurn is an open-source, locally run utility that monitors token consumption and spending across AI coding assistants. It aggregates metrics across more than 37 tools and agents, breaking down expenditure by model, project, and task.

    10.8kstarsTypeScript

    AI & LLMs· Tool

  • Repository:JuliusBrussee/caveman

    Caveman: Slashing Coding Agent Token Usage with Ultra-Concise Outputs

    Caveman is an open-source tool and prompt skill designed to strip conversational filler from AI coding assistants. By instructing models to communicate in an ultra-terse 'caveman' style, the project cuts output token counts by around 65% while keeping actual code, commands, and technical fixes intact.

    103.7kstarsGo

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.