Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

llm-routing

Latest version: v16.1.2

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: ypollak2
131 Stars
17 Forks
18 Versions
659 Downloads
Python Repo language

Scan summary

llm-routing was last scanned on 29 Nov 2026 at version 16.1.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 18 versions; the latest 3 were published within 3 days (27–29 Nov 2026).
  • Findings: No rules fired in version 16.1.2.
  • Downloads: 659 downloads.

Versions

18 versions published
Versions and the rules that fired in each
VersionPublishedStatus
16.1.2 LATEST 29 Nov 2026 No rules fired
16.1.1 28 Nov 2026 No rules fired
16.1.0 27 Nov 2026 No rules fired
16.0.1 16 Nov 2026 Not shown
15.4.0 29 Sep 2026 Not shown

No rules fired in 16.1.2

Findings

Findings for v16.1.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 16.1.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

llm-routing

Stop hitting the limit on your Claude Pro or Max plan.

Routes the routine prompts — "what does this error mean", "reformat this JSON", "is the service up" — to free and cheap models, so your subscription quota is still there when you need it at 4pm. Same workflow, same commands. The model choice changes underneath.

npx -y llm-routing install

No API keys required. No hosted proxy. No account.


Why this package is 3 kB

It contains three files, and that is deliberate.

llm-router is a Python program shipped as a standalone binary — roughly 300 MB per platform, because it carries its own interpreter and a large provider library. Vendoring all four platforms into one npm tarball would exceed a gigabyte and hand every user the three they cannot run.

So postinstall downloads the one binary that matches your platform from the matching GitHub release, and bin/llm-router.js hands off to it. That is the whole package.

If the download fails, the install fails loudly rather than leaving a broken llm-router on your PATH to be discovered mid-session.

Once the binary runs, postinstall wires the hosts it finds on your machine by running llm-router install --auto, and prints that run's one receipt: line. If wiring a host fails, you get a warning and the command to retry, but npm install still succeeds: the binary works, and the failure is recorded in the install receipt. To install the binary without touching any host config, set LLM_ROUTER_NO_AUTO_INSTALL=1 for the install.

Run through npx (or npm exec), the postinstall wires nothing: the Claude Code plugin starts the server that way and brings its own hooks, and npx -y llm-routing install runs the installer itself.

npm hides a postinstall's output when it succeeds, so normally you will not see the receipt line or a wiring warning. Add --foreground-scripts to the npm install to see them, or run llm-router doctor afterwards to check what was wired.

Why a proxy cannot do this

Every other router in this category is a proxy: you point your agent at a local endpoint and it forwards requests using your API keys. That design has a hard limit — a proxy cannot intercept a session authenticated by a subscription, because there is no key to forward.

If you pay per token, a proxy serves you well and there are good ones. If you pay a flat monthly fee and the thing you run out of is quota, this is the gap it fills.

Supported platforms

Platform Status
macOS arm64 supported
macOS x86_64 supported
Linux x86_64 supported
Windows x86_64 supported

On an unsupported platform the install refuses cleanly and points you at pip install llm-routing, which works anywhere Python 3.11+ does.

macOS: Gatekeeper

The binaries are not yet notarised, so macOS quarantines them on first run. If llm-router will not start:

xattr -dr com.apple.quarantine "$(dirname "$(readlink -f "$(which llm-router)")")"

After installing

llm-router install     # re-run the host wiring (postinstall already ran it once)
llm-router doctor      # verify everything is connected
llm-router status      # today's savings and quota

Links

MIT licensed.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm llm-routing

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229