본문으로 건너뛰기
D

dsh-freeroute

dushaobindoudou/dsh-freeroute

DeepSeek Harness(dsh)용 무료 티어 모델 라우팅 — OpenRouter 무료 모델 발견, 최상의 무료 모델을 에이전트 기본값으로 적용, 속도 제한 시 자동 회전; 요청하지 않는 한 유료 구성은 그대로 유지됩니다.

설치

dsh plugin --profile web add github:dushaobindoudou/dsh-freeroute

README

dsh-freeroute

English | 简体中文

npm version License CI

Free-tier model routing for the DeepSeek Harness (dsh): discover OpenRouter free models (:free catalog, fetched live), apply the best free model as the agent default, and auto-rotate to the next free model when the current one hits rate limits. Your paid configuration is never touched unless you ask for it.

Free here means providers' legitimate free tiers. This plugin does not bypass paid APIs.

How it works

  • /free status — current default, catalog size, exhausted marks, rotation mode
  • /free list — live OpenRouter :free models, sorted by context length
  • /free use <id> — set the agent default model (new turns/sessions)
  • /free rotate — jump to the best non-exhausted free model
  • /free reset — clear exhausted marks

On agent/request-error with a rate-limit code while a free model is active, the model is marked exhausted and the default rotates for future turns — mid-request provider switching is not supported by the dsh loop, so rotation lands at the next turn/session boundary.

Install

Mount in your dsh profile (e.g. ~/.dsh/profiles/web/cordis.yml):

plugins:
  - dsh-freeroute

Requirements: Node.js ≥ 18, a configured OpenRouter provider key in dsh (the catalog itself is fetched from the public endpoint without a key).

License

MIT © dushaobindoudou

관련 플러그인