Tool

Compare LLM API prices before selecting a model

DeepSeek Harness plugin with a pricing table for ~7,250 models across 213 providers, plus session spend, cache-leak and route speed panels.

Works with deepseek harnessdshmodels.devpi ai

91
Spark score
out of 100
Updated 6 days ago
Source checked Sep 15, 2026
Version 0.5.0
Models
deepseek v3

Add to Favorites

Why it matters

Help developers choose the most cost-effective LLM model for their coding agents by surfacing real-time pricing, capability tags, and cross-provider comparisons directly inside the DeepSeek Harness settings interface, eliminating the need to juggle multiple browser tabs and spreadsheets.

Outcomes

What it gets done

01

Display per-1M-token input/output/cache prices for ~7,200 models across 213 providers

02

Tag models with capability badges (Coding, Agentic, Vision, Long context) using catalog metadata

03

Identify the cheapest route when the same model is available through multiple providers

04

Surface verified, time-boxed promotional offers with provenance tooltips and one-click filtering

Source

Get it from source

Spark does not host a copy of it.

Open source

Reports

Agent outcome reports

No reports yet

Overview

Dsh Model Pricing

dsh-model-pricing is a DeepSeek Harness plugin with two parts. A pricing and capability table on Settings > Models compares ~7,250 models across 213 providers per 1M tokens. A session costs panel reads your local session logs to show per-project spend by the route actually called, prompt-cache leaks by cause, and a price versus speed quadrant from your own history. Use it in DeepSeek Harness to pick a coding-agent model by price and capability, and to see real per-project spend and cache losses. Figures are estimates, not billing data.

What it does

dsh-model-pricing is a DeepSeek Harness (DSH) plugin that does two jobs inside the harness: it helps you compare LLM API prices before you pick a coding-agent model, and it shows what your sessions actually cost after you used it.

Before choosing, it puts a model pricing and capability table on DSH's Settings -> Models page, covering every connectable model across 213 providers (~7,250 priced models): per-1M-token input, output, and cache-read price, context window, max output, and capability tags (Coding, Agentic, Vision, Long context, Open weights, Structured output) computed from structured catalog fields, with user-configurable tagging rules. For models DSH can actually invoke, the harness's bundled pi-ai catalog overrides the public catalog as the authoritative price, and divergences larger than 10% are flagged row by row. Cross-provider comparison is deliberately worded: the winner badge says "lowest listed", a claim about the catalog rather than the market; $0 free tiers compare only against other free tiers, and a route listed below half the first-party price is flagged to verify. A community promotion feed renders verified, time-boxed offers as badges with provenance tooltips and a one-click filter; offers arrive through reviewed pull requests and are validated by CI.

After using a model, the session costs panel replays the harness's own local session logs, including mid-session model switches, and sums what each project spent per provider and model, priced by the route actually called. Confidence is explicit (routed, then listed, then an estimated range, otherwise nothing is shown), and promo-adjusted savings appear next to list price. Cache-leak attribution shows what share of spend is history re-billed at full input price instead of the cached price, split by cause: idle gaps past documented provider cache TTLs, route switches, and unattributed events; compaction is never counted as a leak. A route performance quadrant places each provider and model by time-to-first-token and tokens per second, taken as medians over your own history and paired with list price, and nothing is labelled until at least five samples exist. The UI is available in English, Chinese, and Russian, with parity checked in CI.

The session panel, cache-leak attribution, and performance quadrant shipped in releases 0.3.0 through 0.5.0. Still planned, not available yet: badges inside provider cards, a /pricing command, and cost projection before compaction.

When to use - and when NOT to

Use it inside DSH when picking or switching a coding-agent model and you want price, context window, and capability comparisons filtered to routes you can call, or when you want to see which projects cost the most and how much your prompt cache is losing. Do not use it to reconcile a bill: prices, costs, and leak figures are estimates for model selection, and your provider's invoice is the only pricing authority.

Inputs and outputs

Inputs are public catalog data (fetched on first load and cached locally), the harness's reachable model routes, and the local DSH session logs under your DSH home directory. Outputs are the pricing table with badges and flags on Settings -> Models, plus the session costs panel with per-workspace spend, cache leaks by cause, and the price versus speed quadrant.

Install with:

dsh plugin --profile web add dsh-model-pricing

Then restart dsh web and open Settings -> Models; the table appears at the bottom of the page and no configuration is required.

Integrations

Runs entirely on your machine with no server of its own. Outbound traffic is an anonymous read of public data from models.dev (213 providers), the @earendil-works/pi-ai catalog already bundled with DSH, and the promotion feed served as static JSON from the plugin repository. Session costs and cache leaks are computed from local logs and are never uploaded. Wrong prices or missing promotions can be reported through structured issue forms or a pull request to promos/**, where every entry needs a source URL and an expiry. Listed in awesome-dsh-plugin, accepted 2026-09-11.

Who it's for

DSH users choosing coding-agent models who want price, context, and capability comparisons in the harness, and who want to understand their real per-project spend and cache losses without sending logs anywhere. Apache-2.0 licensed.

Source README

dsh-model-pricing

Compare LLM API prices before you pick a model - and see what you actually paid
after you used it.
A plugin for
DeepSeek Harness (DSH) that puts a
model pricing and capability table directly into your DSH settings (~7,250 priced
models, 213 providers), and then reads your own session logs through the same catalog:
per-project spend priced by the route you actually called, and the dollars your prompt
cache is silently losing.

npm
License
stars
dsh plugin
awesome-dsh-plugin

The pricing table in the DSH Settings → Models page: cross-provider
lowest listed badges, capability tags, and per-1M-token prices.

The session costs panel: per-workspace spend by the route actually called, cache
leaks by cause, and a price × speed quadrant measured from your own history.

Why

Choosing a coding agent model today means opening three browser tabs: your provider's
price page, a comparison site, and someone's spreadsheet of which API is discounting
this month. dsh-model-pricing collapses that into the harness you are already in:
one table, filtered to what you can actually call, refreshed from public catalogs on
your own machine.

Features

  • Pricing table for every connectable model - input / output / cache-read price
    per 1M tokens, context window, and max output (213 providers, ~7,250 priced models)
  • Capability tags computed from structured catalog fields: Coding, Agentic,
    Vision, Long context, Open weights, Structured output - with user-configurable rules
  • Authoritative routing prices: for models DSH can actually invoke, the harness's
    own bundled pi-ai catalog overrides the public catalog, and price divergences
    larger than 10% are flagged row by row
  • Honest cross-provider comparison: the winner badge says lowest listed - a
    claim about the catalog, not the market - $0 free tiers compare only against free
    tiers, and a route listed below half the first-party price is flagged ⚠ to verify
  • Community promotion feed: verified, time-boxed offers rendered as badges with
    provenance tooltips and a one-click filter; contributed through reviewed pull
    requests and validated by CI (promos/README.md)
  • Session costs, priced by the actual route: replays the harness's own session
    logs - including mid-session model switches - and sums what each project spent per
    (provider, model), with an explicit confidence ladder (routed > listed > estimated
    range > nothing shown) and promo-adjusted savings next to list price
  • Cache-leak attribution: what share of your spend is history re-billed at full
    input price instead of cached price, split by cause - idle gaps past documented
    provider TTLs, route switches, unattributed - and never charging compaction, which
    is the opposite of a leak
  • Route performance quadrant: time-to-first-token and tokens/second per
    (provider, model), medians over your own window - paired with the list price, so
    “cheap & slow” is a fact about your history, not a blog post; five samples or
    more before anything is labelled
  • English, Chinese and Russian UI, parity-checked in CI

Planned next: badges inside provider cards, a /pricing command, and cost
projection before compaction.

Install

dsh plugin --profile web add dsh-model-pricing

Restart dsh web and open Settings → Models: the pricing table appears at the
bottom of the page. The plugin needs no configuration; first load fetches the
catalog and caches it locally.

From source (for development):

git clone https://github.com/vitas/dsh-model-pricing.git
cd dsh-model-pricing
npm install && npm run snapshot && npm run build
dsh plugin --profile web add .

Documentation

Document Contents
docs/feature-map.md Feature specification: scenarios, epics, MVP definition of done, risks, recorded decisions
docs/architecture.md System architecture: deployment model, transport, data model, packaging, CI, milestones
docs/design.md UX design of the pricing section: layout, states, badge vocabulary, tokens, accessibility
docs/distribution.md How the plugin is published, discovered, and maintained in the DSH ecosystem
spike/RESULTS.md Platform-validation evidence for the architectural assumptions

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.