DeepSeek Harness Model Leaderboard Plugin

Introduction

When developing agents with DeepSeek Harness (DSH), you often need to choose a model based on the latest performance benchmarks, usage statistics, and pricing. However, this information is scattered across multiple platforms, rarely updated in a timely manner, and difficult to review or switch between quickly within the DSH interface. This plugin adds a Model Leaderboard panel to the DSH sidebar, providing real-time data to answer the question of “which model to use and how much it costs.”

Plugin Overview

  • Plugin name: dsh-model-leaderboard
  • Maintainer: yczhang1028
  • Category: Model Inference
  • Core value: Displays OpenRouter’s real-time model leaderboard and pricing in the DSH sidebar, with one-click default model configuration.

Core Features

1. Multi-dimensional Leaderboard

The leaderboard is grouped by different metrics, with one board displayed at a time:

  • Most popular: Tokens routed through OpenRouter in the last 7 days
  • Trending: Token growth rate relative to the previous 7 days
  • Newest: Release date as recorded by OpenRouter
  • Strongest: Artificial Analysis Agent Index
  • Best at coding: Artificial Analysis Coding Index
  • Best at agentic work: Artificial Analysis Agentic Work Index
  • Best value: Agent Index per dollar
  • Cheapest: Lowest price per million tokens
  • Largest context: Maximum context window

2. Other Tabs

  • Value: A scatter plot of Agent Index vs. price, accompanied by a table sorted by cost-effectiveness
  • Quality: Bar charts and tables for the three Artificial Analysis indices, plus a Design Arena Elo matchup with category selection
  • Usage: 7-day token rankings, daily trend lines, growth columns, and traffic breakdowns by task category
  • All models: A list of all advertised models, including price, context length, release date, and Agent Index, with text and provider filtering support, and expandable details for pricing, availability, latency, and throughput

3. DSH Routing Status

Each row displays an “In DSH” badge with three possible states:

  • available: An exact route advertised by the profile’s LLM adapter
  • variant differs: Variants such as :free or :batch that are not included in the catalog; the default route must be used, and the actual route written is displayed
  • not in catalog: DSH cannot route to this model; shown for comparison only

Ranking permaslugs include a -YYYYMMDD date suffix. During matching, the date is stripped but the variant is preserved, so that vendor/model:free and vendor/model are not treated as the same route.

4. Sorting & Filtering

  • Click table column headers to sort; click again to reverse
  • Unified filter bar:
  • Text search: Case-insensitive matching on model name or ID
  • Provider: Limit to a single author
  • DSH route: Filter by available / variant differs / not in catalog
  • Filters are shared across all tabs; sorting is independent per tab
  • Board pages default to the sort order defined by that board, but column headers remain clickable to re-sort (e.g., changing “Cheapest” to “Most expensive”)

5. Value Scatter Plot Interactions

  • Scroll to zoom, drag to pan, Shift+drag to box-select, double-click to reset
  • Zooming rescales the axes rather than changing marker size
  • Adjust model name label size via A-/A+
  • Click a point to “pin” its name, so it remains visible even when exceeding the label budget
  • Pinned names are displayed as chips below the chart; click a chip to unpin
  • The chart area is exclusively for dragging; text selection is disabled

6. Using a Model

  • Set default: Writes the model to the profile’s agent-default-model, so new sessions start with that model. The panel writes the exact route from the catalog and passes the inference effort to the target model
  • Copy id: Copies the exact vendor/model route to the clipboard for use with the /model command or manual routing

7. Data & Permissions

  • Quality, usage, and trending data are sourced from the OpenRouter Data API and require a valid OpenRouter API key
  • The host side uses the OPENROUTER_API_KEY environment variable via DSH’s credential service; the key is never sent to the browser
  • The public model catalog does not require a key
  • Without a key, pricing, context length, and release dates are still displayed, with an explanation of why the leaderboard is empty
  • The browser does not call openrouter.ai directly; the host fetches and caches data, serving it to the panel via same-origin routes at /model-leaderboard/api/* (catalog cached for 30 minutes; key-gated datasets cached for 10 minutes)
  • Ranking data is licensed under CC BY 4.0

8. Appearance & Theming

  • The panel inherits the host theme, using only --dsw-alias-* tokens, with support for light/dark switching and font size preferences
  • Chart markers use a soft opacity of the brand blue --dsw-alias-state-business-primary
  • UI controls use --dsw-alias-brand-primary to maintain accent color consistency with the host

Installation & Activation

Install command (information exported from package.json):

npm install @local/dsh-model-leaderboard

After installation, enable the bundle in DSH, and the “Model Leaderboard” panel will appear in the sidebar.

Typical Usage

  1. Open DSH and click the “Model Leaderboard” panel in the sidebar
  2. Switch to the “Boards” tab and browse different metrics (e.g., Cheapest, Best value, Strongest)
  3. Use the filter bar to narrow results (e.g., by provider or DSH route status)
  4. On the “Value” tab, observe the cost-effectiveness distribution via the scatter plot; click a point of interest to pin its name
  5. Click “Set default” on any table row to set that model as the default for new sessions
  6. When you need an exact route, click “Copy id” and paste the vendor/model route in your command line or configuration

Use Cases & Notes

  • Ideal for developers who need to make quick model decisions based on real-time data (usage, pricing, performance metrics)
  • The plugin runs with the current DSH process permissions; review the repository and license (MIT) before installation
  • Ranking data is sourced from OpenRouter; manage your OpenRouter API key independently

Summary

dsh-model-leaderboard consolidates scattered model information into the DSH sidebar, providing multi-dimensional leaderboards, interactive value charts, and one-click default model configuration to help you find the right model and route faster during development and debugging. Project repository: https://github.com/yczhang1028/dsh-model-leaderboard

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye