Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

The 5% Router Tax: What Hosted LLM Gateways Charge For (and How to Self-Host It)

Description and use

A self-hosted proxy (Lynkr) eliminates the 5 % token fee, keeps requests and data local, and uses local models for most traffic, reserving cloud routers for rare models.

Problem

Hosted LLM routers charge a ~5% fee per token and transit all prompts, code, and secrets, which can be costly and raise compliance concerns for coding workloads.

Outcome

The hybrid approach removes the 5% router fee for the majority of traffic, keeps prompts and code local, allows token optimization before billing, and retains access to new models via a hosted router for rare use cases.

Workflow

  • 1. Install Lynkr: npm install -g lynkr
  • 2. Initialize: lynkr init
  • 3. Start proxy: lynkr start
  • 4. Configure routing rules: simple/medium → local Ollama/llama.cpp, complex → direct provider API keys, exotic → OpenRouter
  • 5. Monitor and update proxy as needed

Evidence

The price is a ~5% fee on every token you route (5.5% on OpenRouter credits, 5% on Requesty)

Source

A self-hosted proxy can strip unusable tool schemas (measured: −53% on tool-heavy requests) and compress JSON tool results (measured: 3,458 → 427 tokens) before any provider bills you.

Source

  • Record date: 2026-09-07T11:01:49.656Z