AI Agent Hub
Back to plugins
🤖

dsh-openrouter-free

Model Inference Updated 2026.09.02

Run the following command in DeepSeek Harness:

dsh plugin install jiang12345-code/dsh-openrouter-free

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install jiang12345-code/dsh-openrouter-free in DeepSeek Harness to install; source code is available at https://github.com/jiang12345-code/dsh-openrouter-free.

About this plugin

The OpenRouter route in DSH has a quiet but recurring pain point: its models catalog never refreshes on its own. To use the many $0 in / $0 out models that openrouter.ai serves, you would otherwise have to hand-edit settings.yaml entry by entry—filling in IDs, checking context windows, and guessing which ones support reasoning. dsh-openrouter-free automates that entire loop.

On launch the plugin adds a "Free Models" tab to the GUI session view, pulling the real-time list of every zero-cost model on openrouter.ai (name, ID, context window, image and reasoning support) with a ten-minute cache and manual force-refresh. One click on any row upserts that model into the openrouter route AND writes it into the current session via the native sessionController, so the very next request picks it up without a restart. The switch also probes the model for the highest reasoning effort it actually supports (high → medium → low) and strips reasoningEffort entirely when none applies, eliminating UNSUPPORTED_REASONING_EFFORT errors at the source. Throughout, only free-model entries are touched; any hand-tuned routes you maintain (stealth, ox-alpha, etc.) are preserved as-is.

If you run inference on DeepSeek Harness and like to experiment with or cut costs using OpenRouter's free tier, this plugin collapses the "browse → configure → tune" cycle into a single click on a panel.

Use Cases

  • Browse and switch zero-cost OpenRouter models from a single panel
  • Avoid manually editing settings.yaml to configure free models one by one
  • Change the active model mid-session without restarting DSH

Best For

  • Developers who run inference on DeepSeek Harness daily
  • Engineers who want to pick up low-cost models from OpenRouter's free tier
  • DSH users who prefer GUI-driven workflows over manual YAML edits