cc-router is an open-source model router and API gateway orchestrator developed by Finch Xu. Built with a Rust and Tauri architecture, it acts as an intelligent intermediary proxy designed to inspect, route, and manage LLM API traffic for terminal coding agents and AI development workflows. In day-to-day operation, cc-router runs locally to intercept API requests from CLI agents and tools. It allows developers to configure custom upstream model providers via YAML configuration, map virtual model aliases to designated provider targets, review detailed real-time request logs, and monitor token consumption and usage costs through a structured dashboard interface. What distinguishes cc-router from generic reverse proxies is its specialization for AI coding assistants. It provides out-of-the-box support for virtual model rewriting, extensible provider definitions, detailed session-level cost receipts, and cross-platform native binaries across macOS, Linux (x86_64 and ARM64 via AppImage and deb), and Windows. cc-router is free, open-source software distributed on GitHub with automated cross-platform releases and support for custom LLM provider extensions.
Tags: API, cli, code assistant, coding agent, developer tools, OpenSource