Preface¶
When developing AI agents, you frequently run into this question: among multiple models, how do you quickly identify which ones offer the best value? Looking at price alone may cause you to miss options with better performance; focusing solely on performance may lead you to overlook cost. A simple comparison often fails to give an intuitive answer.
DeepSeek Harness (DSH) embraces the “everything is a plugin” philosophy, letting developers extend capabilities on demand. xishaochen/dsh-aa-killline is one such plugin. It uses the concept of a “kill line” to turn the relationship between model performance and price into an interactive chart, helping developers instantly see which models are dominated by ones that are “cheaper and smarter.”
What Is This¶
dsh-aa-killline is an online tool plugin for DSH, developed by maintainer xishaochen. It generates “model kill line” charts for both the global and Chinese markets, drawing on data from Artificial Analysis and the OpenRouter public API, with support for switching between two pricing models. The plugin relies entirely on the Python standard library and has no additional pip dependencies.
Core Features¶
When the plugin runs locally, it fetches data from Artificial Analysis using a configured API key and calls the OpenRouter public endpoint to retrieve actual cache-read prices. After computation, it generates two self-contained HTML charts: a global kill line chart and a domestic (China) kill line chart.
Each chart plots the AAII Intelligence Index and effective price of every model as a scatter plot, with the Pareto frontier marking the “kill line.” Models falling below and to the right of the frontier are considered dominated by a model that is both “cheaper and smarter.” The plugin supports toggling between the “official 3:1 blended price” and the “Agent pricing model,” the latter of which accounts for cache-read pricing and hit-rate parameters.
Installation & Setup¶
Install with the following command:
dsh plugin add dsh-aa-killline
# or
dsh plugin add github:xishaochen/dsh-aa-killline
After installation, you need to complete a one-time configuration. Credentials are not distributed with the package, so you must set them up manually on first use.
cd <plugin-install-dir> # if installed via npm, typically profile/node_modules/dsh-aa-killline
cp config.example.env config/key.env # then fill in your AA_API_KEY
chmod 600 config/key.env
Typical Usage¶
Once configured, you can refresh the charts from the command line. A full refresh pulls the latest data from the API:
bash scripts/update.sh # full refresh (recommended once per day)
If network access is limited or you’d prefer not to consume API quota, you can run in pure local recalculation mode:
bash scripts/update.sh --offline # pure local recalc, no API quota used
After the refresh completes, open the HTML files in the output/ directory to view the charts.
Use Cases & Notes¶
This plugin is ideal for developers who need to weigh performance against price during model selection. If you’re building a system that compares the cost-effectiveness of different models, it can distill that complex relationship into a single chart.
Before use, please note: the plugin runs with the permissions of the current DSH process and requires access to the Artificial Analysis data API. It’s recommended to review the source code and the MIT license before installation to confirm it fits your use case.
Conclusion¶
dsh-aa-killline simplifies the relationship between model performance and price into a single “kill line” chart, helping developers quickly identify dominated models. It has no external dependencies, uses only the Python standard library, and is straightforward to install and configure. For more details, see the plugin directory page or the GitHub repository.