LINA mascot
LINA
FeaturesHow It WorksDocsGitHub
Get Started

Documentation

Overview

Getting Started

Quick StartClaude Code SetupOther Tools

Features

RTK Token SaverCaveman ModeModel Combos

Reference

Providers

Documentation

Everything you need to set up lina-router and start saving tokens. Pick a guide below or follow the Quick Start if you're new.

First time? Install lina-router now:

npm install -g lina-router
Follow Quick Start →

Quick Start

Start here

Install lina-router, connect a free provider, and start coding in under 5 minutes.

→

Claude Code Setup

Popular

Configure Claude Code to route through lina-router. Covers endpoint setup, API key, and RTK benefits.

→

RTK Token Saver

Feature

Compresses tool outputs (git diff, grep, ls) before they hit the model. Saves 20–40% input tokens.

→

Caveman Mode

Feature

Forces the AI to respond in terse compressed language. Saves up to 65% on output tokens.

→

Other Tools Setup

Setup

Cursor, Cline, Codex CLI, Continue, and MITM-intercepted tools like Copilot — all configured.

→

Model Combos

Feature

Mix providers into one named model. Set per-combo fallback strategies and multi-account rotation.

→

Providers Reference

Reference

Full alias cheatsheet — kr/, cc/, glm/, and 40+ more. How to use the provider/model format.

→
Source code: lina-router is open source. You can find the full source at github.com/decolua/lina-router or install via npm install -g lina-router.
LINA

Your AI coding co-pilot. Save 20–40% tokens and code with free AI models using lina-router.

Docs

  • Quick Start
  • Claude Code Setup
  • RTK Token Saver
  • All Guides

Project

  • lina-router on GitHub
  • npm package

© 2025 LINA. Community guide for lina-router.

Made with care for the AI coding community.